disable IPv6 for a client

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
karl047
OpenVpn Newbie
Posts: 4
Joined: Fri Nov 15, 2019 9:49 am

disable IPv6 for a client

Post by karl047 » 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 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

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: disable IPv6 for a client

Post by TinCanTech » Tue Jun 15, 2021 10:36 am

Configure your server to not push IPv6 to the client.

karl047
OpenVpn Newbie
Posts: 4
Joined: Fri Nov 15, 2019 9:49 am

Re: disable IPv6 for a client

Post by karl047 » Tue Jun 15, 2021 2:15 pm

but another clients should have access to IPv6 network… it worked earlier, & now this option is not more supported!… any another solution?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: disable IPv6 for a client

Post by TinCanTech » Tue Jun 15, 2021 2:21 pm

The server can push different things to different clients.

karl047
OpenVpn Newbie
Posts: 4
Joined: Fri Nov 15, 2019 9:49 am

Re: disable IPv6 for a client

Post by karl047 » Fri Jul 09, 2021 9:05 am

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!…

karl047
OpenVpn Newbie
Posts: 4
Joined: Fri Nov 15, 2019 9:49 am

[SOLVED] disable IPv6 for a client

Post by karl047 » Fri Jul 09, 2021 9:09 am

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

Baa
OpenVpn Newbie
Posts: 1
Joined: Sun Mar 26, 2023 7:52 pm

Re: disable IPv6 for a client

Post by Baa » Sun Mar 26, 2023 7:53 pm

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"

Post Reply