Page 1 of 1

Change the IP of the Linux server running vpn server

Posted: Mon Aug 13, 2018 1:45 am
by dfwtx
I moved to a new Internet provider. The VPN server worked before the move. I can connect with the Softether VPN client. But now L2TP doesn't work anymore. Do I need to change something when I change the IP address of the Linux server that is running VPN server? Or Change something in IPsec setup? I looked at the configuration I don't see anything linked to the old IP. It is listening on 0.0.0.0. I do see it connect but then just hangs and never finishes the connection.

Nothing in the logs except this:

2018-08-12 20:19:32.890 IPsec Client 12 (serverip:500 -> 0.0.0.0:500): A new IPsec client is created.
2018-08-12 20:19:32.890 IPsec IKE Session (IKE SA) 11 (Client: 12) (serverip:500 -> 0.0.0.0:500): A new IKE SA (Main Mode) is created. Initiator Cookie: 0x4428A90AAB37DB26, Responder Cookie: 0xDD4ECDD0315373E7, DH Group: MODP 2048 (Group 14), Hash Algorithm: SHA-1, Cipher Algorithm: AES-CBC, Cipher Key Size: 256 bits, Lifetime: 4294967295 Kbytes or 28800 seconds
2018-08-12 20:19:35.015 IPsec Client 12 (serverip:4500 -> 0.0.0.0:4500): The port number information of this client is updated.2018-08-12 20:19:35.015 IPsec Client 12 (serverip:4500 -> 0.0.0.0:4500):
2018-08-12 20:19:35.015 IPsec IKE Session (IKE SA) 11 (Client: 12) (serverip:4500 -> 0.0.0.0:4500): This IKE SA is established between the server and the client.
2018-08-12 20:19:36.065 IPsec IKE Session (IKE SA) 11 (Client: 12) (serverip:4500 -> 0.0.0.0:4500): The client initiates a QuickMode negotiation.
2018-08-12 20:19:36.065 IPsec ESP Session (IPsec SA) 22 (Client: 12) (serverip:4500 -> 0.0.0.0:4500): A new IPsec SA (Direction: Client -> Server) is created. SPI: 0xC654F75B, DH Group: (null), Hash Algorithm: SHA-1, Cipher Algorithm: AES-CBC, Cipher Key Size: 256 bits, Lifetime: 250000 Kbytes or 3600 seconds
2018-08-12 20:19:36.065 IPsec ESP Session (IPsec SA) 22 (Client: 12) (serverip:4500 -> 0.0.0.0:4500): A new IPsec SA (Direction: Server -> Client) is created. SPI: 0x5C3C8C82, DH Group: (null), Hash Algorithm: SHA-1, Cipher Algorithm: AES-CBC, Cipher Key Size: 256 bits, Lifetime: 250000 Kbytes or 3600 seconds
2018-08-12 20:19:36.207 IPsec ESP Session (IPsec SA) 22 (Client: 12) (serverip:4500 -> 0.0.0.0:4500): This IPsec SA is established between the server and the client.
2018-08-12 20:19:36.207 IPsec Client 12 (serverip:4500 -> 0.0.0.0:4500): The L2TP Server Module is started.

Re: Change the IP of the Linux server running vpn server

Posted: Wed Sep 05, 2018 8:06 am
by thisjun
Is there the log that includes timeout?