You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.
I went to my root folder and I dont have these 2 files wireguardup.sh and wireguarddown.sh. Do you think it a problem?
PostUp = '/root/wireguardup.sh'
PostDown = '/root/wireguarddown.sh'
Or do you think I need to put this in the wg0.conf:
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
Thank you
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I went to my root folder and I dont have these 2 files wireguardup.sh and wireguarddown.sh. Do you think it a problem?
PostUp = '/root/wireguardup.sh'
PostDown = '/root/wireguarddown.sh'
Or do you think I need to put this in the wg0.conf:
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$(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
PreDown = iptables -D OUTPUT ! -o %i -m mark ! --mark
Thank you
The text was updated successfully, but these errors were encountered: