We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On mullvad, the following lines are added to provide the following features:
PostUp = iptables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT PreDown = iptables -D OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -D OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT
The text was updated successfully, but these errors were encountered:
https://git.zx2c4.com/wireguard-tools/tree/src/man/wg-quick.8#n154 (rendered)
Sorry, something went wrong.
The difference between the two is that the one from the wg-quick man page only does ipv4 kill switch, other than that they run the same command.
wg-quick
18fa687
No branches or pull requests
On mullvad, the following lines are added to provide the following features:
The text was updated successfully, but these errors were encountered: