Jump to content
Not connected, Your IP: 13.59.1.58

Recommended Posts

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
 

Share this post


Link to post

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.


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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...