Compare commits
2 Commits
a27d18fbd6
...
67411f76e7
Author | SHA1 | Date | |
---|---|---|---|
67411f76e7 | |||
5c357ce584 |
@ -10,8 +10,8 @@ all:
|
||||
docker_dir: /opt/docker-privfrontends
|
||||
server_prefix: eu
|
||||
ansible_become: true # Run everything as root
|
||||
country: Netherlands
|
||||
isp: Nonic Cloud
|
||||
country: Germany
|
||||
isp: Avoro
|
||||
wiki_page: Pizza-1
|
||||
watchtower_mtrx_username: psf-watchtower-pizza
|
||||
rsyncnet_slug: pizza1
|
||||
|
@ -2,9 +2,8 @@
|
||||
Address = 10.7.0.1/24, fddd:2c4:2c4:2c4::1/64
|
||||
PrivateKey = {{wireguard_private_key}}
|
||||
ListenPort = 51820
|
||||
PostUp = iptables -I FORWARD -s 10.7.0.0/24 -j ACCEPT; iptables -I FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT; ip6tables -I FORWARD -s fddd:2c4:2c4:2c4::/64 -j ACCEPT; ip6tables -I FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT; iptables -t nat -I POSTROUTING -s 10.7.0.0/24 ! -d 10.7.0.0/24 -j SNAT --to 89.33.85.209; ip6tables -t nat -I POSTROUTING -s fddd:2c4:2c4:2c4::/64 ! -d fddd:2c4:2c4:2c4::/64 -j SNAT --to 2a12:bec0:20b:21fe::1
|
||||
PostUp = iptables -D FORWARD -s 10.7.0.0/24 -j ACCEPT; iptables -D FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT; ip6tables -D FORWARD -s fddd:2c4:2c4:2c4::/64 -j ACCEPT; ip6tables -D FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT; iptables -t nat -D POSTROUTING -s 10.7.0.0/24 ! -d 10.7.0.0/24 -j SNAT --to 89.33.85.209; ip6tables -t nat -D POSTROUTING -s fddd:2c4:2c4:2c4::/64 ! -d fddd:2c4:2c4:2c4::/64 -j SNAT --to 2a12:bec0:20b:21fe::1
|
||||
|
||||
PostUp = iptables -I FORWARD -s 10.7.0.0/24 -j ACCEPT; iptables -I FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT; ip6tables -I FORWARD -s fddd:2c4:2c4:2c4::/64 -j ACCEPT; ip6tables -I FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT; iptables -t nat -I POSTROUTING -s 10.7.0.0/24 ! -d 10.7.0.0/24 -j SNAT --to 45.145.41.226; ip6tables -t nat -I POSTROUTING -s fddd:2c4:2c4:2c4::/64 ! -d fddd:2c4:2c4:2c4::/64 -j SNAT --to 2a0d:5940:99:3::1
|
||||
PostDown = iptables -D FORWARD -s 10.7.0.0/24 -j ACCEPT; iptables -D FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT; ip6tables -D FORWARD -s fddd:2c4:2c4:2c4::/64 -j ACCEPT; ip6tables -D FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT; iptables -t nat -D POSTROUTING -s 10.7.0.0/24 ! -d 10.7.0.0/24 -j SNAT --to 45.145.41.226; ip6tables -t nat -D POSTROUTING -s fddd:2c4:2c4:2c4::/64 ! -d fddd:2c4:2c4:2c4::/64 -j SNAT --to 2a0d:5940:99:3::1
|
||||
[Peer]
|
||||
PublicKey = {{wireguard_pubnix_pubkey}}
|
||||
AllowedIPs = 10.7.0.2/32, fddd:2c4:2c4:2c4::2/128
|
||||
|
@ -33,7 +33,7 @@
|
||||
key_name "dynupd"
|
||||
key_alg "hmac-sha256"
|
||||
key "{{ rfc2136_key }}"
|
||||
server "89.33.85.209:53"
|
||||
server "45.145.41.226:53"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user