warezdown 0 Posted ... Hello I have ipv6 disable on my arch through sysctl option. I have set Quote pull-filter ignore "route-ipv6" pull-filter ignore "ifconfig-ipv6" in my airvpn.conf. Despite this openvpn is trying to add IPV6 route, therefore it populates my syslog with errors Quote ERROR: Linux route add command failed oct. 23 03:29:42 archlinux openvpn[2235]: sitnl_send: rtnl: generic error (-13): Permission denied oct. 23 03:29:42 archlinux openvpn[2235]: net_route_v6_add: fc00::/7 via :: dev tun1 table 0 metric -1 oct. 23 03:29:42 archlinux openvpn[2235]: add_route_ipv6(fc00::/7 -> :: metric -1) dev tun1 oct. 23 03:29:42 archlinux openvpn[2235]: ERROR: Linux route add command failed oct. 23 03:29:42 archlinux openvpn[2235]: sitnl_send: rtnl: generic error (-13): Permission denied oct. 23 03:29:42 archlinux openvpn[2235]: net_route_v6_add: 3000::/4 via :: dev tun1 table 0 metric -1 oct. 23 03:29:42 archlinux openvpn[2235]: add_route_ipv6(3000::/4 -> :: metric -1) dev tun1 oct. 23 03:29:42 archlinux openvpn[2235]: ERROR: Linux route add command failed oct. 23 03:29:42 archlinux openvpn[2235]: sitnl_send: rtnl: generic error (-13): Permission denied oct. 23 03:29:42 archlinux openvpn[2235]: net_route_v6_add: 2000::/4 via :: dev tun1 table 0 metric -1 oct. 23 03:29:42 archlinux openvpn[2235]: add_route_ipv6(2000::/4 -> :: metric -1) dev tun1 oct. 23 03:29:42 archlinux openvpn[2235]: ERROR: Linux route add command failed oct. 23 03:29:42 archlinux openvpn[2235]: sitnl_send: rtnl: generic error (-13): Permission denied oct. 23 03:29:42 archlinux openvpn[2235]: net_route_v6_add: ::/3 via :: dev tun1 table 0 metric -1 oct. 23 03:29:42 archlinux openvpn[2235]: add_route_ipv6(::/3 -> :: metric -1) dev tun1 oct. 23 03:29:42 archlinux openvpn[2235]: WARNING: OpenVPN was configured to add an IPv6 route. However, no IPv6 has been configured for tun1, therefore the route installati> oct. 23 03:29:42 archlinux openvpn[2235]: ROUTE6: default_gateway=UNDEF oct. 23 03:29:42 archlinux openvpn[2235]: sitnl_send: rtnl: generic error (-101): Network is unreachable oct. 23 03:29:42 archlinux openvpn[2235]: net_route_v6_best_gw query: dst :: oct. 23 03:29:42 archlinux openvpn[2235]: GDG6: remote_host_ipv6=n/a oct. 23 03:29:42 archlinux openvpn[2235]: Pushed option removed by filter: 'ifconfig-ipv6 fde6:7a:7d20:1a12::1023/64 fde6:7a:7d20:1a12::1' it looks like ignore option "route-ipv6" is not taken into account by openvpn. What do you thnk ? Thanks Quote Share this post Link to post
OpenSourcerer 1441 Posted ... In the config, remove --push-peer-info and --setenv UV_IPV6 yes, or set the latter to no. Then remove the --pull-filters. Also be advised, Arch does not read /etc/sysctl.conf. All values must be written in some conf in /usr/lib/sysctl.d/*.conf or /etc/sysctl.d/*.conf (/etc takes precedence), where Systemd picks them up and applies them at boot. Quote Hide OpenSourcerer's signature Hide all signatures NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT. LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too! Want to contact me directly? All relevant methods are on my About me page. Share this post Link to post