arch-rtorrentvpn icon indicating copy to clipboard operation
arch-rtorrentvpn copied to clipboard

DNS Leak

Open bob1321 opened this issue 3 years ago • 0 comments

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

bob1321 avatar Dec 31 '21 06:12 bob1321