Browse Source

renamed and fixed interface name

Toastie 2 years ago
parent
commit
c61161e4a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      linux/wireguard-instant.sh

+ 1 - 1
linux/wireguard-instant.sh

@@ -59,5 +59,5 @@ iptables -t nat -I POSTROUTING 1 -s 192.168.130.0/24 -o ens3 -j MASQUERADE
 iptables -I INPUT 1 -i wg0 -j ACCEPT
 iptables -I FORWARD 1 -i ens3 -o wg0 -j ACCEPT
 iptables -I FORWARD 1 -i wg0 -o ens3 -j ACCEPT
-iptables -I INPUT 1 -i eth0 -p udp --dport 51871 -j ACCEPT
+iptables -I INPUT 1 -i ens3 -p udp --dport 51871 -j ACCEPT
 sysctl -w net.ipv4.ip_forward=1