Guest User

Untitled

a guest
May 18th, 2014
1,454
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. iptables -A INPUT -p TCP -m multiport --dports 22 -m state --state NEW  -i eth0 -j ACCEPT
  2. iptables -t mangle -A OUTPUT -p tcp -m multiport --dports 22 -j MARK --set-mark 0x1
  3. iptables -t nat -A POSTROUTING -o eth0 -p tcp -m multiport --dports 22 -j SNAT --to 192.168.1.2
RAW Paste Data