Advertisement
Guest User

Untitled

a guest
May 25th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. compA - eth0 192.168.0.1
  2. compB - eth0 192.168.0.2
  3. compC - eth0 192.168.0.3
  4.  
  5. compB# socat tcp-listen:80,reuseaddr,fork tcp:192.168.0.3:80
  6.  
  7. iptables -A PREROUTING -d my.public.ip.address/32 -p tcp -m tcp --dport 587 -j DNAT --to-destination a.different.ip.address:587
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement