arch-rtorrentvpn
arch-rtorrentvpn copied to clipboard
DNS Leak
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