Page 1 of 1

disable IPv6 for a client

Posted: Tue Jun 15, 2021 9:46 am
by karl047
Hi Forum,

with last version of OpenVPN connect for iPhone (or for another Platforms), I could disable the IPv6 for just one client through ovpn file with these commands:

push-filter ignore ipv6-route
push-filter ignore ifconfig-ipv6

but now I see that the both commands are under „UNUSED OPTIONS“ in the log file!

is there an another option to disable IPv6 for a client?

Thanks

Re: disable IPv6 for a client

Posted: Tue Jun 15, 2021 10:36 am
by TinCanTech
Configure your server to not push IPv6 to the client.

Re: disable IPv6 for a client

Posted: Tue Jun 15, 2021 2:15 pm
by karl047
but another clients should have access to IPv6 network… it worked earlier, & now this option is not more supported!… any another solution?

Re: disable IPv6 for a client

Posted: Tue Jun 15, 2021 2:21 pm
by TinCanTech
The server can push different things to different clients.

Re: disable IPv6 for a client

Posted: Fri Jul 09, 2021 9:05 am
by karl047
Thank you for your trick, I solved it :-)

in client specific overrides:

push-remove ifconfig-ipv6;push-remove route-ipv6

it will work (because it is configured on the server) with any platform!…

[SOLVED] disable IPv6 for a client

Posted: Fri Jul 09, 2021 9:09 am
by karl047
karl047 wrote:
Tue Jun 15, 2021 9:46 am
Hi Forum,

with last version of OpenVPN connect for iPhone (or for another Platforms), I could disable the IPv6 for just one client through ovpn file with these commands:

push-filter ignore route-ipv6
push-filter ignore ifconfig-ipv6

but now I see that the both commands are under „UNUSED OPTIONS“ in the log file!

is there an another option to disable IPv6 for a client?

Thanks

in client specific overrides, add these lines to disable ipv6:

push-remove ifconfig-ipv6;push-remove route-ipv6

Re: disable IPv6 for a client

Posted: Sun Mar 26, 2023 7:53 pm
by Baa
You can configure your client to ignore the pushed IPv6 configuration by including the following two lines in your OpenVPN client config file:

Code: Select all

pull-filter ignore "ifconfig-ipv6"
pull-filter ignore "route-ipv6"