fix: dns issue on corwin wireguard
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
d8ec201e92
commit
ebfcc02ae5
@ -11,7 +11,7 @@ wireguard_postup:
|
|||||||
- iptables -A FORWARD -i %i -j ACCEPT
|
- iptables -A FORWARD -i %i -j ACCEPT
|
||||||
- iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
- iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
||||||
- sysctl -w net.ipv4.ip_forward=1
|
- sysctl -w net.ipv4.ip_forward=1
|
||||||
- resolvectl dns %i 192.168.1.40 192.168.1.10; resolvectl domain %i ~ducamps.win ~consul
|
- resolvectl dns %i 192.168.1.4 192.168.1.10; resolvectl domain %i '~ducamps.win' '~consul'
|
||||||
|
|
||||||
wireguard_postdown:
|
wireguard_postdown:
|
||||||
- iptables -D FORWARD -i %i -j ACCEPT
|
- iptables -D FORWARD -i %i -j ACCEPT
|
||||||
@ -28,7 +28,7 @@ wireguard_unmanaged_peers:
|
|||||||
public_key: rYYljQw8InmM95pxCP9KyZ8R+kcicgnjr6E9qtkI1Ag=
|
public_key: rYYljQw8InmM95pxCP9KyZ8R+kcicgnjr6E9qtkI1Ag=
|
||||||
allowed_ips: 10.0.0.5/32
|
allowed_ips: 10.0.0.5/32
|
||||||
persistent_keepalive: 0
|
persistent_keepalive: 0
|
||||||
wireguard_dns: "192.168.1.40,192.168.1.10"
|
wireguard_dns: "192.168.1.4,192.168.1.10"
|
||||||
consul_client_addr: "127.0.0.1 10.0.0.1"
|
consul_client_addr: "127.0.0.1 10.0.0.1"
|
||||||
consul_bind_address: "10.0.0.1"
|
consul_bind_address: "10.0.0.1"
|
||||||
consul_ui: True
|
consul_ui: True
|
||||||
|
Loading…
Reference in New Issue
Block a user