chilly-raincoat-92690
03/30/2023, 9:29 AMbash
bash-5.1# traceroute 10.0.1.4
traceroute to 10.0.1.4 (10.0.1.4), 30 hops max, 46 byte packets
1 10.0.1.4 (10.0.1.4) 1.472 ms 0.667 ms 0.781 ms
wg-config
[Interface]
PrivateKey = *
ListenPort = 0
Address = 10.10.16.2
PostUp = `iptables -A FORWARD -i nm-fintech -j ACCEPT ; iptables -A FORWARD -o nm-fintech -j ACCEPT ; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE ; `
PostDown = `iptables -D FORWARD -i nm-fintech -j ACCEPT ; iptables -D FORWARD -o nm-fintech -j ACCEPT ; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE ; `
MTU = 1280
[Peer]
PublicKey = ah4J83kIEy84zV9ozwXs+YrEj4Xr8QZKf0JbqqhqAxY=
AllowedIps = 10.10.16.254/32, 10.10.16.3/32
Endpoint = *:51822
PersistentKeepalive = 20