diff --git a/README_old.md b/README_old.md index e4eb817..0f02585 100644 --- a/README_old.md +++ b/README_old.md @@ -193,3 +193,12 @@ sudo systemctl enable --now openvpn-client@client ``` ip -details link show dev tun0 | grep dco ``` +``` +iptables -t nat -A PREROUTING -p tcp --dport 222 -j DNAT --to-destination 157.22.241.59:22 +``` +``` +iptables -t nat -A PREROUTING -p udp --dport 1443 -j DNAT --to-destination 157.22.241.59:1443 +``` +``` +iptables -t nat -A POSTROUTING -d 157.22.241.59 -o ens3 -j MASQUERADE +``` \ No newline at end of file