OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: theq86 on March 03, 2017, 10:50:30 am

Title: OpenVPN - Disconnect after about 5 minutes since activating IPv6
Post by: theq86 on March 03, 2017, 10:50:30 am
Hi,

Yesterday, I managed to get my DualStack configuration to work. Since then, about every 5 minutes after connecting, the service restarts with error: event_wait : Interrupted system call (code=4)

I strongly assume my IPv6 configuration causes the problem. If I disable IPv6 everything works fine again.

I can't find anything else in the logs to get the root cause. Has anyone any idea ?

Edit: The error occurs, when my WAN interface has an IPv6 address set. Even if IPv6 is enabled but WAN has no address set (i.e. if I checked to get a prefix only) the vpn connection is stable. It's just the fact my WAN iface has an IPv6 address...
Title: Re: OpenVPN - Disconnect after about 5 minutes since activating IPv6
Post by: theq86 on March 03, 2017, 09:04:41 pm
Okay, problem is not directly related to OpenVPN service.
Problem is, that every 15 minutes the newwanipv6 script restarts the vpn server. however, there is no new wan ip. so why is it constantly triggering this?

Code: [Select]
16:24:37 kernel: ovpns1: link state changed to DOWN
16:24:37 opnsense: /usr/local/etc/rc.newwanipv6: Resyncing OpenVPN instances for interface WAN.
16:24:36 opnsense: /usr/local/etc/rc.newwanipv6:
16:24:36 opnsense: /usr/local/etc/rc.newwanipv6: Dynamic DNS: updating cache file /conf/dyndns_wanroute53'home.theqserver.de'0.cache: 87.158.148.163
16:24:33 configd.py: [f5309844-dd64-4989-920f-3bc2a70d1684] Reloading filter
16:24:33 opnsense: /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv6 default route to fe80::230:88ff:fe04:5a3%pppoe0
16:24:33 opnsense: /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv4 default route to 87.186.224.157
16:24:33 opnsense: /usr/local/etc/rc.newwanipv6: rc.newwanipv6: on (IP address: 2003:86:8d7f:cadc:201:2eff:fe65:8c73) (interface: wan) (real interface: pppoe0).
16:24:33 opnsense: /usr/local/etc/rc.newwanipv6: rc.newwanipv6: Informational is starting pppoe0.

Code: [Select]
16:39:37 kernel: ovpns1: link state changed to DOWN
16:39:37 opnsense: /usr/local/etc/rc.newwanipv6: Resyncing OpenVPN instances for interface WAN.
16:39:36 opnsense: /usr/local/etc/rc.newwanipv6:
16:39:36 opnsense: /usr/local/etc/rc.newwanipv6: Dynamic DNS: updating cache file /conf/dyndns_wanroute53'home.theqserver.de'0.cache: 87.158.148.163
16:39:33 configd.py: [aa01dc9b-32db-4b10-94d0-8b4c47ffae67] Reloading filter
16:39:33 opnsense: /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv6 default route to fe80::230:88ff:fe04:5a3%pppoe0
16:39:33 opnsense: /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv4 default route to 87.186.224.157
16:39:33 opnsense: /usr/local/etc/rc.newwanipv6: rc.newwanipv6: on (IP address: 2003:86:8d7f:cadc:201:2eff:fe65:8c73) (interface: wan) (real interface: pppoe0).
16:39:33 opnsense: /usr/local/etc/rc.newwanipv6: rc.newwanipv6: Informational is starting pppoe0.

Code: [Select]
16:54:37 kernel: ovpns1: link state changed to DOWN
16:54:37 opnsense: /usr/local/etc/rc.newwanipv6: Resyncing OpenVPN instances for interface WAN.
16:54:36 opnsense: /usr/local/etc/rc.newwanipv6:
16:54:36 opnsense: /usr/local/etc/rc.newwanipv6: Dynamic DNS: updating cache file /conf/dyndns_wanroute53'home.theqserver.de'0.cache: 87.158.148.163
16:54:33 configd.py: [dbbdaa94-191c-4a93-9c83-1eb01491a478] Reloading filter
16:54:33 opnsense: /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv6 default route to fe80::230:88ff:fe04:5a3%pppoe0
16:54:33 opnsense: /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv4 default route to 87.186.224.157
16:54:33 opnsense: /usr/local/etc/rc.newwanipv6: rc.newwanipv6: on (IP address: 2003:86:8d7f:cadc:201:2eff:fe65:8c73) (interface: wan) (real interface: pppoe0).
16:54:33 opnsense: /usr/local/etc/rc.newwanipv6: rc.newwanipv6: Informational is starting pppoe0.
Title: Re: OpenVPN - Disconnect after about 5 minutes since activating IPv6
Post by: Woi on April 22, 2017, 08:27:38 pm
FYI:
IPv6/Telekom Dualstack: Alle 15 min. rc.newwanipv6 und andere Logeintr├Ąge
https://forum.opnsense.org/index.php?topic=5037.0