Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • ocserv ocserv
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 80
    • Issues 80
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenConnect VPN projectsOpenConnect VPN projects
  • ocservocserv
  • Issues
  • #231
Closed
Open
Issue created Nov 17, 2019 by Farid@fa1rid

Remote IPs are not being sent to disconnect script when a session is resumed

Hi Nikos,

Is it normal that the server listens on IPv6 only? I can connect through IPv4 but I see the IPs starting with ::ffff:

Example: connected user 'farid' (27467) from ::ffff:94.200.105.78 with IP 10.5.0.26

Another issue is that the disconnect script is not passing IP_REMOTE variable (the VPN IP of the client).

This happens only when you lose your internet connection when you are connected to the vpn server and then the server will timeout.

I'm using AnyConnect on mobile.

I checked the logs but there's no error regarding that.

If you need any logs I can send you. I am using Ubuntu 18.04 and ocserv 0.12.5

Thanks!

Edited Dec 15, 2019 by Nikos Mavrogiannopoulos
Assignee
Assign to
Time tracking