Damus
cloud fodder · 18w
Cheat sheet for ya: wg_ip1=ip of your wg0 on the remote wg_ip2=ip of your wg0 on local iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 9735 -j DNAT --to-destination $wg_ip2:9735 iptables -t nat -A POSTROUTING -o wg0 -p tcp -d $wg_ip2 --dport 9735 -j SNAT --to-source $wg_ip1 iptables -A FORWAR...