OpenVPN Client not releasing IP

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
aboka
Posts: 20
Joined: Tue Mar 14, 2017 9:38 am

OpenVPN Client not releasing IP

Post by aboka » Sat Apr 22, 2017 10:24 am

hi, we have setup a SE Server on Centos 7 with 5 Public IPs and 5 users on 1 Virtual Hub. It will automatically assign any available public IP to user who successfully login.

all is working fine if we connect using L2TP, but when we use OpenVPN as client, it will not release back the IP so after few connect/disconnect, the IP will runs out and we get error 'cannot assign IP' and client could not connect to VPN.

anyone encounter this issue and know howto fix it?

Thank You,

thisjun
Posts: 2363
Joined: Mon Feb 24, 2014 11:03 am

Re: OpenVPN Client not releasing IP

Post by thisjun » Thu May 18, 2017 5:37 am

Please shorten lease time of DHCP.

aboka
Posts: 20
Joined: Tue Mar 14, 2017 9:38 am

Re: OpenVPN Client not releasing IP

Post by aboka » Thu May 18, 2017 8:08 am

thisjun wrote:
> Please shorten lease time of DHCP.

hi, we hv try to do that - even to a couple minute but still encounter the same issue.

thanks,

thisjun
Posts: 2363
Joined: Mon Feb 24, 2014 11:03 am

Re: OpenVPN Client not releasing IP

Post by thisjun » Wed May 31, 2017 4:48 am

IP address isn't released when disconnection.
However, IP address will be released by end of lease time.
or
Cause of the problem is that L2TP module requires two adjacent IP addresses.

aboka
Posts: 20
Joined: Tue Mar 14, 2017 9:38 am

Re: OpenVPN Client not releasing IP

Post by aboka » Wed May 31, 2017 6:08 am

thisjun wrote:
> IP address isn't released when disconnection.
> However, IP address will be released by end of lease time.
> or
> Cause of the problem is that L2TP module requires two adjacent IP
> addresses.

hi, the issue has been fix by the installer by using another method - dont really understand what he does. he just say using another way to accomplish the IP distribution

could you tell more about L2TP using 2 adjacent IP? we hv not heard anything like that before.

thank you,

thisjun
Posts: 2363
Joined: Mon Feb 24, 2014 11:03 am

Re: OpenVPN Client not releasing IP

Post by thisjun » Thu Jun 15, 2017 4:43 am

PPP to Ethernet bridge of SoftEther VPN consist of a virtual router and client itself.
The virtual router makes /31 subnet.
So the L2TP module require 2 adjacent IP addresses.

a10games
Posts: 4
Joined: Fri Jul 14, 2017 1:54 am

Re: OpenVPN Client not releasing IP

Post by a10games » Sat Sep 16, 2017 4:52 am

Really great post, Thank you for sharing this knowledge. Excellently written article, if only all bloggers offered the same level of content as you, the internet would be a much better place. Please keep it up!..

Post Reply