change wireguard domaine to only redirect local domain on dns
This commit is contained in:
parent
05d0055210
commit
6d41655e0a
@ -11,6 +11,7 @@ wireguard_postup:
|
||||
- iptables -A FORWARD -i %i -j ACCEPT
|
||||
- iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
||||
- sysctl -w net.ipv4.ip_forward=1
|
||||
- resolvectl dns %i 192.168.1.40 192.168.1.10; resolvectl domain %i ~ducamps.win ~consul
|
||||
|
||||
wireguard_postdown:
|
||||
- iptables -D FORWARD -i %i -j ACCEPT
|
||||
|
Loading…
Reference in New Issue
Block a user