OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: sepei on November 30, 2016, 02:30:20 pm

Title: DynDNS with OpenVPN Interface Problem
Post by: sepei on November 30, 2016, 02:30:20 pm
Hello,

is there a bug with dyndns in combination with openvpn? I got the problem if I bind an interface of an openvpn connection (Maybe also other interfaces?) to dyndns it dont let me reconnect to the openvpn servers. When I set it up it works correctly but on the moment when I reconnect to the openvpn server while the ddns is activated something is blocking the connections. The connection ends here and then timeouts:

Nov 30 14:22:44   openvpn[75950]: /usr/local/sbin/ovpn-linkup ovpnc9 HIDDEN_VPNDATA init
Nov 30 14:22:44   openvpn[75950]: /sbin/ifconfig ovpnc9 HIDDEN_VPNDATA up

If I delete the DDNS-Rule I can reconnect as before and everything is working.
Title: Re: DynDNS with OpenVPN Interface Problem
Post by: sepei on November 30, 2016, 03:03:22 pm
I just found out if the openvpn tunnel gives me the same IP then before then it lets me connect. So if the cached-ip on the DDNS-Page is same to the IP that I get from the vpn connection (Virtual Addr) then it works. The cached-ip is also red until the connection with the old IP is entablished. So does the DDNS somehow block the openvpn connection if I dont get the same virtual address anymore?
Title: Re: DynDNS with OpenVPN Interface Problem
Post by: sepei on December 01, 2016, 07:56:53 pm
Hm anyone an idea? Or is opnsense with DynDns in combination with openvpn broken?