From 461b380f51b6aca3113f581378846e4902bea6fe Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sat, 23 Aug 2025 17:46:19 +0100 Subject: Migrate away from earth to silver --- roles/wgtor/templates/wgtor0.conf.j2 | 2 +- roles/wgvpn/templates/wgvpn0.conf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/wgtor/templates/wgtor0.conf.j2 b/roles/wgtor/templates/wgtor0.conf.j2 index 5d72891..6acb081 100644 --- a/roles/wgtor/templates/wgtor0.conf.j2 +++ b/roles/wgtor/templates/wgtor0.conf.j2 @@ -16,7 +16,7 @@ PostDown = iptables -t nat -D PREROUTING -i %i -p udp --dport 5353 -j REDIRECT - PostDown = iptables -t nat -D PREROUTING -i %i -p tcp --syn -j REDIRECT --to-ports 9040 PostDown = iptables -t nat -D OUTPUT -p tcp -d 10.192.0.0/10 -j REDIRECT --to-ports 9040 -# earth +# silver [Peer] PublicKey = HhBhDQmGzltIGQOn+clbRIkQt7ocPAuqsUS+ytinIwU= AllowedIPs = 10.0.2.2/32 diff --git a/roles/wgvpn/templates/wgvpn0.conf.j2 b/roles/wgvpn/templates/wgvpn0.conf.j2 index e93e074..62c38a8 100644 --- a/roles/wgvpn/templates/wgvpn0.conf.j2 +++ b/roles/wgvpn/templates/wgvpn0.conf.j2 @@ -11,7 +11,7 @@ PostDown = iptables -D FORWARD -i %i -j ACCEPT PostDown = iptables -D FORWARD -o %i -j ACCEPT PostDown = iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE -# earth +# silver [Peer] PublicKey = HhBhDQmGzltIGQOn+clbRIkQt7ocPAuqsUS+ytinIwU= AllowedIPs = 10.0.1.2/32 -- cgit v1.2.3-70-g09d2