boomshalek
New Around Here
Hi
I have configured open-vpn and it generally works. But only until I reboot. As I think this might be related to having disabled IPV6 and the router while booting falling back to ipv6. Then all traffic to WAN is blocked.
Jan 27 10:38:21 ovpn-server1[737]: OpenVPN 2.4.6 arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Dec 8 2018
Jan 27 10:38:21 ovpn-server1[737]: library versions: OpenSSL 1.0.2q 20 Nov 2018, LZO 2.08
Jan 27 10:38:21 ovpn-server1[738]: PLUGIN_INIT: POST /usr/lib/openvpn-plugin-auth-pam.so '[/usr/lib/openvpn-plugin-auth-pam.so] [openvpn]' intercepted=PLUGIN_AUTH_USER_PASS_VERIFY
Jan 27 10:38:21 ovpn-server1[738]: Diffie-Hellman initialized with 2048 bit key
Jan 27 10:38:21 ovpn-server1[738]: TUN/TAP device tun21 opened
Jan 27 10:38:21 ovpn-server1[738]: TUN/TAP TX queue length set to 100
Jan 27 10:38:21 ovpn-server1[738]: do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Jan 27 10:38:21 ovpn-server1[738]: /usr/sbin/ip link set dev tun21 up mtu 1500
Jan 27 10:38:21 kernel: ADDRCONF(NETDEV_CHANGE): tun21: link becomes ready
Jan 27 10:38:21 ovpn-server1[738]: /usr/sbin/ip addr add dev tun21 10.8.0.1/24 broadcast 10.8.0.255
Jan 27 10:38:21 ovpn-server1[738]: Could not determine IPv4/IPv6 protocol. Using AF_INET6
Jan 27 10:38:21 ovpn-server1[738]: Socket Buffers: R=[122880->122880] S=[122880->122880]
Jan 27 10:38:21 ovpn-server1[738]: setsockopt(IPV6_V6ONLY=0)
Jan 27 10:38:21 ovpn-server1[738]: UDPv6 link local (bound): [AF_INET6][undef]:51194
Jan 27 10:38:21 ovpn-server1[738]: UDPv6 link remote: [AF_UNSPEC]
Jan 27 10:38:21 ovpn-server1[738]: MULTI: multi_init called, r=256 v=256
Jan 27 10:38:21 ovpn-server1[738]: IFCONFIG POOL: base=10.8.0.2 size=252, ipv6=0
Jan 27 10:38:21 ovpn-server1[738]: Initialization Sequence Completed
I have tried to set proto udp4 in the server config via SSH, but this gets overwritten all the time.
Can you help me ?
I have configured open-vpn and it generally works. But only until I reboot. As I think this might be related to having disabled IPV6 and the router while booting falling back to ipv6. Then all traffic to WAN is blocked.
Jan 27 10:38:21 ovpn-server1[737]: OpenVPN 2.4.6 arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Dec 8 2018
Jan 27 10:38:21 ovpn-server1[737]: library versions: OpenSSL 1.0.2q 20 Nov 2018, LZO 2.08
Jan 27 10:38:21 ovpn-server1[738]: PLUGIN_INIT: POST /usr/lib/openvpn-plugin-auth-pam.so '[/usr/lib/openvpn-plugin-auth-pam.so] [openvpn]' intercepted=PLUGIN_AUTH_USER_PASS_VERIFY
Jan 27 10:38:21 ovpn-server1[738]: Diffie-Hellman initialized with 2048 bit key
Jan 27 10:38:21 ovpn-server1[738]: TUN/TAP device tun21 opened
Jan 27 10:38:21 ovpn-server1[738]: TUN/TAP TX queue length set to 100
Jan 27 10:38:21 ovpn-server1[738]: do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Jan 27 10:38:21 ovpn-server1[738]: /usr/sbin/ip link set dev tun21 up mtu 1500
Jan 27 10:38:21 kernel: ADDRCONF(NETDEV_CHANGE): tun21: link becomes ready
Jan 27 10:38:21 ovpn-server1[738]: /usr/sbin/ip addr add dev tun21 10.8.0.1/24 broadcast 10.8.0.255
Jan 27 10:38:21 ovpn-server1[738]: Could not determine IPv4/IPv6 protocol. Using AF_INET6
Jan 27 10:38:21 ovpn-server1[738]: Socket Buffers: R=[122880->122880] S=[122880->122880]
Jan 27 10:38:21 ovpn-server1[738]: setsockopt(IPV6_V6ONLY=0)
Jan 27 10:38:21 ovpn-server1[738]: UDPv6 link local (bound): [AF_INET6][undef]:51194
Jan 27 10:38:21 ovpn-server1[738]: UDPv6 link remote: [AF_UNSPEC]
Jan 27 10:38:21 ovpn-server1[738]: MULTI: multi_init called, r=256 v=256
Jan 27 10:38:21 ovpn-server1[738]: IFCONFIG POOL: base=10.8.0.2 size=252, ipv6=0
Jan 27 10:38:21 ovpn-server1[738]: Initialization Sequence Completed
I have tried to set proto udp4 in the server config via SSH, but this gets overwritten all the time.
Can you help me ?
Last edited: