IP change with option float

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
User avatar
tobias
OpenVpn Newbie
Posts: 4
Joined: Sun Sep 14, 2008 7:20 pm

IP change with option float

Post by tobias » Sun Sep 14, 2008 7:29 pm

Hello,

I have Clients which get from time to time new ip adresses. I have server mode with tls client and tls server.
I thought with the directive --float the tunnel will overcome the ip change. But it breaks, because the Server says:
No TLS State for client... opcode=6

In p2p mode it works fine.
Doesnt it work with tls mode?
Do you know a solution how the clients can change their IP without reconnecting the tunnel.
I dont wont to establish the tunnel again, because it takes up to 10 sec, because of GPRS (RTT is 1 Sec).

Regards
Tobias

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Post by krzee » Wed Sep 17, 2008 6:33 am

I am replying with JJK's reply to you from the mail list for the sake of anyone who finds this via google:

if the client changes its IP address then you will have to reconnect to
the server. If you could get away with not reconnecting then it would
(theoretically) be possible to steal a connection.
Even with a dyndns setup it will still trigger a reconnect (which is
what you want to avoid, as far as I can tell).

HTH,

JJK

Post Reply