Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. WINDOWS PC 1 (10.0.2.122)
  2. |
  3. [RDP]
  4. |
  5. V
  6. LINUX SERVER (10.0.2.5)
  7. |
  8. [FW 3389]
  9. |
  10. V
  11. WINDOWS PC 2 (10.0.2.188)
  12.  
  13. iptables -t nat -A PREROUTING -p tcp --dport 3389 -j DNAT --to-destination 10.0.2.188:3389
  14. iptables -t nat -A POSTROUTING -p tcp -d 10.0.2.188 --dport 3389 -j SNAT --to-source 10.0.2.122
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement