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

Wireguard VPN Disable IPV6

treycortez

New Around Here
I've been searching for a solution, but to no avail.

I have an ASUS AX86U running ASUSwrt-Merlin 3004.388.7_beta1, connecting to ProtonVPN over Wireguard.

I want to disable IPv6 only when connected to the Wireguard Client.

I have tried inserting this into the configuration file:
pull-filter ignore "ifconfig-ipv6"
pull-filter ignore "route-ipv6"
but it did nothing. Is there some way to do this, or have I missed the obvious? Or is my only solution to disable IPv6 entirely / use OpenVPN (ugh...) to disable IPv6 only when connecting to the VPN?
 
Is there some way to do this, or have I missed the obvious?
If you are talking about your entire lan it would be possible to block with a simple firewall rule
Code:
ip6tables -I FORWARD -i br0 -j REJECT

If you could put this rule in place when your wg client starts (userscript wgclient-start) and then remove when wg client stops (userscript wgclient-stop) you would achieve what you want.
Final problem is that fw flushes firewall when it needs rebuilding so it will need to be re-added in userscript firewall-start but only if wg client is started.

It would be possible to do.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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