Advertisement
Guest User

Untitled

a guest
Oct 21st, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. root@localhost:~# iptables -L -n
  2. Chain INPUT (policy ACCEPT)
  3. target prot opt source destination
  4. ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53
  5. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
  6. ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:67
  7. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
  8. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:6080
  9. LPASS udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp spt:68 dpt:67
  10. LPASS all -- 192.168.122.49 0.0.0.0/0
  11. LPASS tcp -- 192.168.122.0/24 0.0.0.0/0 tcp spt:21
  12. LPASS all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
  13. LPASS tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:21
  14. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
  15. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state NEW
  16. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpts:8505:8506
  17. LPASS tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
  18. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443
  19. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:6000
  20. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpts:6001:6100
  21. ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:161
  22. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:24
  23. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:8081
  24. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:2222
  25. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
  26. LDROP all -- 0.0.0.0/0 0.0.0.0/0
  27.  
  28. Chain FORWARD (policy ACCEPT)
  29. target prot opt source destination
  30. ACCEPT all -- 0.0.0.0/0 192.168.122.0/24 ctstate RELATED,ESTABLISHED
  31. ACCEPT all -- 192.168.122.0/24 0.0.0.0/0
  32. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  33. REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
  34. REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
  35. ACCEPT tcp -- 0.0.0.0/0 192.168.122.49 tcp dpt:3389
  36. ACCEPT all -- 192.168.122.49 0.0.0.0/0
  37. DROP all -- 192.168.122.0/24 0.0.0.0/0
  38. LFDROP all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet+ --physdev-out vnet+ --physdev-is-bridged
  39. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state NEW
  40. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
  41.  
  42. Chain OUTPUT (policy ACCEPT)
  43. target prot opt source destination
  44. ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:68
  45.  
  46. Chain LDROP (1 references)
  47. target prot opt source destination
  48. DROP all -- 0.0.0.0/0 0.0.0.0/0
  49.  
  50. Chain LFDROP (1 references)
  51. target prot opt source destination
  52. DROP all -- 0.0.0.0/0 0.0.0.0/0
  53.  
  54. Chain LPASS (6 references)
  55. target prot opt source destination
  56. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  57.  
  58. lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
  59. inet 127.0.0.1 netmask 255.0.0.0
  60. inet6 ::1 prefixlen 128 scopeid 0x10<host>
  61. loop txqueuelen 1 (Local Loopback)
  62. RX packets 65922 bytes 5788036 (5.5 MiB)
  63. RX errors 0 dropped 0 overruns 0 frame 0
  64. TX packets 65922 bytes 5788036 (5.5 MiB)
  65. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement