Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

DNS Leak #192

Open
bob1321 opened this issue Dec 31, 2021 · 0 comments
Open

DNS Leak #192

bob1321 opened this issue Dec 31, 2021 · 0 comments

Comments

@bob1321
Copy link

bob1321 commented Dec 31, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant