Force a Dynamic Proxy to reconnect to a specific Static IP out of it’s IP range?

How to customize and extend your OpenVPN installation.

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

Post Reply
Mariussmith
OpenVpn Newbie
Posts: 2
Joined: Sat Dec 05, 2015 7:01 pm

Force a Dynamic Proxy to reconnect to a specific Static IP out of it’s IP range?

Post by Mariussmith » Thu Sep 29, 2016 11:52 am

Hello,

Having a dynamic Proxy and every time I reconnect, I get a new IP out of it’s range. A few months ago I was able to somehow force the dynamic Proxy to reconnect to the same IP every time. Since then forgot how I did it and couldn’t replicate it again. Has anyone an idea how that is possible? Also can't remember if I did it with OpenVPN or L2TP.

Code: Select all

client
dev tun
auth-user-pass
proto udp
remote "dynamic IP" "port"
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo
mute-replay-warnings
verb 3
ca mycert.crt
fragment 1300
mssfix 1300
reneg-sec 0
tun-mtu 1500

Post Reply