malkemit / namizun

Asymmetric upload and download
https://t.me/ExplainLikeIam5
629 stars 102 forks source link

Termius #92

Open Draugarreza opened 1 month ago

Draugarreza commented 1 month ago

sysctl net.ipv4.ip_forward=1

iptables -t nat -A PREROUTING -p tcp --dport 22 -j DNAT --to-destination 1.1.1.1

iptables -t nat -A PREROUTING -j DNAT --to-destination 2.2.2.2

iptables -t nat -A POSTROUTING -j MASQUERADE