fix ip coonflict

This commit is contained in:
vincent 2022-06-20 22:11:56 +02:00
parent 287f169050
commit 577340faba
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ ansible_host: 65.108.221.233
wireguard_address: "10.0.0.1/24" wireguard_address: "10.0.0.1/24"
wireguard_endpoint: "65.108.221.233" wireguard_endpoint: "65.108.221.233"
wireguard_persistent_keepalive: "30" wireguard_persistent_keepalive: "30"
wireguard_allowed_ips: "10.0.0.0/24" wireguard_allowed_ips: "10.0.0.1/32"
wireguard_postup: wireguard_postup:
- iptables -A FORWARD -o %i -j ACCEPT - iptables -A FORWARD -o %i -j ACCEPT
@ -23,7 +23,7 @@ wireguard_unmanaged_peers:
persistent_keepalive: 0 persistent_keepalive: 0
zen: zen:
public_key: rYYljQw8InmM95pxCP9KyZ8R+kcicgnjr6E9qtkI1Ag= public_key: rYYljQw8InmM95pxCP9KyZ8R+kcicgnjr6E9qtkI1Ag=
allowed_ips: 10.0.0.4/32 allowed_ips: 10.0.0.5/32
persistent_keepalive: 0 persistent_keepalive: 0
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"

View File

@ -4,7 +4,7 @@ ansible_host: 65.109.13.133
wireguard_address: "10.0.0.4/24" wireguard_address: "10.0.0.4/24"
wireguard_endpoint: "65.109.13.133" wireguard_endpoint: "65.109.13.133"
wireguard_persistent_keepalive: "30" wireguard_persistent_keepalive: "30"
wireguard_allowed_ips: "10.0.0.0/24" wireguard_allowed_ips: "10.0.0.4/32,10.0.0.3/32,10.0.0.5/32"
wireguard_postup: wireguard_postup:
- iptables -A FORWARD -o %i -j ACCEPT - iptables -A FORWARD -o %i -j ACCEPT
@ -23,7 +23,7 @@ wireguard_unmanaged_peers:
persistent_keepalive: 0 persistent_keepalive: 0
zen: zen:
public_key: rYYljQw8InmM95pxCP9KyZ8R+kcicgnjr6E9qtkI1Ag= public_key: rYYljQw8InmM95pxCP9KyZ8R+kcicgnjr6E9qtkI1Ag=
allowed_ips: 10.0.0.4/32 allowed_ips: 10.0.0.5/32
persistent_keepalive: 0 persistent_keepalive: 0
consul_client_addr: "127.0.0.1 10.0.0.4" consul_client_addr: "127.0.0.1 10.0.0.4"
consul_bind_address: "10.0.0.4" consul_bind_address: "10.0.0.4"