Advertisement
hackerboxes

linux net port map

Jul 22nd, 2013
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. /sbin/iptables -t nat -I PREROUTING -p tcp --dport 21 -j REDIRECT --to-port 22
  2. /sbin/iptables -t nat -I PREROUTING -p tcp --dport 23 -j REDIRECT --to-port 5432
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement