Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. ifconfig enp0s0f6 up
  2.  
  3. ifconfig enp0s0f6 192.169.1.2
  4.  
  5. ifconfig eth1 netmask 255.255.255.0
  6.  
  7. DNAT --to-destination 10.137.77.2:33000
  8. iptables -I FORWARD -s 10.137.4.22 -d 192.169.1.1 -j ACCEPT
  9. iptables -I FORWARD -d 10.137.4.22 -s 192.169.1.1 -j ACCEPT
  10. iptables -I INPUT -s 192.169.1.1 -d 192.169.1.2 -j ACCEPT
  11.  
  12. (Windows 7)-(Linux host 1)-(linux-host-2)
  13. |
  14. |
  15. [crossover link on a dedicated NIC of Linux host 2]
  16. |
  17. |
  18. (windows XP host)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement