What's new

VPN doing a lot of unrecognized options without them even being in the config IPV6 issue

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

ComputerSteve

Senior Member
I am using VPN provider Hide.me and I don't want to use IPV6 meaning I have that disabled in the settings of my router. I was told to add to the config:
pull-filter ignore "ifconfig-ipv6"
pull-filter ignore "route-ipv6"

However when I connect to my VPN in the log i'm noticing:

May 7 18:29:19 ovpn-client1[361]: PUSH: Received control message: 'PUSH_REPLY,topology subnet,ping 15,ping-restart 60,explicit-exit-notify,tun-ipv6,sndbuf 16777216,rcvbuf 16777216,route-gateway 10.129.246.1,redirect-gateway,dhcp-option DNS 10.129.246.1,dhcp-renew,dhcp-release,register-dns,block-outside-dns,redirect-gateway ipv6,dhcp-option DNS6 fd00:6968:6564:fb::1,ifconfig-ipv6 fd00:6968:6564:fb::a81:f65c/64 fd00:6968:6564:fb::1,ifconfig 10.129.246.92 255.255.254.0,peer-id 3,cipher AES-256-GCM'

Then the log produces:
May 7 18:29:19 ovpn-client1[361]: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:11: dhcp-renew (2.6.10)
May 7 18:29:19 ovpn-client1[361]: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:12: dhcp-release (2.6.10)
May 7 18:29:19 ovpn-client1[361]: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:13: register-dns (2.6.10)
May 7 18:29:19 ovpn-client1[361]: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:14: block-outside-dns (2.6.10)
May 7 18:29:19 ovpn-client1[361]: WARNING: You have specified redirect-gateway and redirect-private at the same time (or the same option multiple times). This is not well supported and may lead to unexpected results
May 7 18:29:19 ovpn-client1[361]: Pushed option removed by filter: 'ifconfig-ipv6 fd00:6968:6564:fb::a81:f65c/64 fd00:6968:6564:fb::1'
May 7 18:29:19 ovpn-client1[361]: OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
May 7 18:29:19 ovpn-client1[361]: Socket Buffers: R=[1048576->1048576] S=[1048576->1048576]
May 7 18:29:19 ovpn-client1[361]: OPTIONS IMPORT: --ifconfig/up options modified
May 7 18:29:19 ovpn-client1[361]: OPTIONS IMPORT: route options modified
May 7 18:29:19 ovpn-client1[361]: OPTIONS IMPORT: route-related options modified
May 7 18:29:19 ovpn-client1[361]: OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
May 7 18:29:19 ovpn-client1[361]: Preserving previous TUN/TAP instance: tun11
May 7 18:29:19 ovpn-client1[361]: NOTE: Pulled options changed on restart, will need to close and reopen TUN/TAP device.

I now added these options:::
pull-filter ignore "register-dns"
pull-filter ignore "dhcp-renew"
pull-filter ignore "dhcp-release"
pull-filter ignore "block-outside-dns"
pull-filter ignore 'redirect-gateway ipv6'
pull-filter ignore 'tun-ipv6'

I want to have advice.. Is that ok to add these options ^^ Or is there another way to totally disable IPV6... I am having an issue that eventually the server stops working and VPNmon resets the connection. I am hoping that these new options :
pull-filter ignore "register-dns"
pull-filter ignore "dhcp-renew"
pull-filter ignore "dhcp-release"
pull-filter ignore "block-outside-dns"
pull-filter ignore 'redirect-gateway ipv6'
pull-filter ignore 'tun-ipv6'

will fix this problem: I notice that now the log shows this instead of Unrecognized option or missing or extra parameter(s):
ay 7 23:58:36 ovpn-client1[32601]: Pushed option removed by filter: 'tun-ipv6'
May 7 23:58:36 ovpn-client1[32601]: Pushed option removed by filter: 'dhcp-renew'
May 7 23:58:36 ovpn-client1[32601]: Pushed option removed by filter: 'dhcp-release'
May 7 23:58:36 ovpn-client1[32601]: Pushed option removed by filter: 'register-dns'
May 7 23:58:36 ovpn-client1[32601]: Pushed option removed by filter: 'block-outside-dns'
May 7 23:58:36 ovpn-client1[32601]: Pushed option removed by filter: 'redirect-gateway ipv6'
May 7 23:58:36 ovpn-client1[32601]: Pushed option removed by filter: 'ifconfig-ipv6 fd00:6968:6564:fb::a81:f7af/64 fd00:6968:6564:fb::1'

I just don't know if this is masking a problem or the right approach to actually fully disable IPV6. Thanks.
 
They are not in your config because they are pushed to you by the server (see the PUSH-OPTIONS mention there).

Mose of these settings are only for Windows clients, that's why your router's Linux client is not recognizing them.
 
ok so does that mean they are ok to be ignored meaning should I add those extra options to the config or I can just leave it ?
 
ok so does that mean they are ok to be ignored meaning should I add those extra options to the config or I can just leave it ?
Just ignore them. As the log says, your router is ignoring them already.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top