Guest User

Output

a guest
Sep 7th, 2013
112
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sysctl net.ipv4.ip_forward
  2. net.ipv4.ip_forward = 1
  3.  
  4.  
  5.  
  6. iptables -L
  7. Chain INPUT (policy DROP)
  8. target prot opt source destination
  9. ACCEPT all -- anywhere anywhere
  10. ACCEPT tcp -- anywhere 192.168.1.2 tcp spts:login:65535 dpt:ssh state NEW,ESTABLISHED
  11. ACCEPT tcp -- anywhere 192.168.1.2 tcp spts:login:65535 dpt:ndmp state NEW,ESTABLISHED
  12. ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  13. ACCEPT all -- anywhere anywhere
  14. LOG all -- anywhere anywhere LOG level warning
  15. DROP all -- anywhere anywhere
  16.  
  17. Chain FORWARD (policy ACCEPT)
  18. target prot opt source destination
  19. ACCEPT all -- anywhere anywhere
  20.  
  21. Chain OUTPUT (policy ACCEPT)
  22. target prot opt source destination
  23. ACCEPT all -- anywhere anywhere
  24. ACCEPT tcp -- 192.168.1.2 anywhere tcp spt:ssh dpts:login:65535 state ESTABLISHED
  25. ACCEPT tcp -- 192.168.1.2 anywhere tcp spt:ndmp dpts:login:65535 state ESTABLISHED
  26. ACCEPT all -- anywhere anywhere
  27.  
  28. Machine: 192.168.2.10
  29. ===========================================================================
  30. Active Routes:
  31. Network Destination Netmask Gateway Interface Metric
  32. 0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.10 10
  33. 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
  34. 192.168.2.0 255.255.255.0 192.168.2.10 192.168.2.10 10
  35. 192.168.2.12 255.255.255.255 127.0.0.1 127.0.0.1 10
  36. 192.168.2.255 255.255.255.255 192.168.2.10 192.168.2.10 10
  37. 224.0.0.0 240.0.0.0 192.168.2.10 192.168.2.10 10
  38. 255.255.255.255 255.255.255.255 192.168.2.10 192.168.2.10 1
  39. Default Gateway: 192.168.2.1
  40. ===========================================================================
  41. Persistent Routes:
  42. None
  43.  
  44.  
  45. Machine: 192.168.3.10
  46. ===========================================================================
  47. Active Routes:
  48. Network Destination Netmask Gateway Interface Metric
  49. 0.0.0.0 0.0.0.0 192.168.3.1 192.168.3.10 10
  50. 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
  51. 192.168.2.0 255.255.255.0 192.168.3.10 192.168.3.10 10
  52. 192.168.2.12 255.255.255.255 127.0.0.1 127.0.0.1 10
  53. 192.168.2.255 255.255.255.255 192.168.3.10 192.168.3.10 10
  54. 224.0.0.0 240.0.0.0 192.168.3.10 192.168.3.10 10
  55. 255.255.255.255 255.255.255.255 192.168.3.10 192.168.3.10 1
  56. Default Gateway: 192.168.3.1
  57. ===========================================================================
  58. Persistent Routes:
  59. None
RAW Paste Data