Advertisement
DanPacu

iptables

Feb 4th, 2020
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. pi@raspberrypi:~ $ sudo iptables -L
  2. Chain INPUT (policy ACCEPT)
  3. target prot opt source destination
  4.  
  5. Chain FORWARD (policy ACCEPT)
  6. target prot opt source destination
  7.  
  8. Chain OUTPUT (policy ACCEPT)
  9. target prot opt source destination
  10. pi@raspberrypi:~ $ sudo iptables -t nat -L
  11. Chain PREROUTING (policy ACCEPT)
  12. target prot opt source destination
  13.  
  14. Chain INPUT (policy ACCEPT)
  15. target prot opt source destination
  16.  
  17. Chain POSTROUTING (policy ACCEPT)
  18. target prot opt source destination
  19.  
  20. Chain OUTPUT (policy ACCEPT)
  21. target prot opt source destination
  22. pi@raspberrypi:~ $ sudo iptables -F
  23. pi@raspberrypi:~ $ sudo iptables -L
  24. Chain INPUT (policy ACCEPT)
  25. target prot opt source destination
  26.  
  27. Chain FORWARD (policy ACCEPT)
  28. target prot opt source destination
  29.  
  30. Chain OUTPUT (policy ACCEPT)
  31. target prot opt source destination
  32. pi@raspberrypi:~ $ sudo iptables -F
  33. pi@raspberrypi:~ $ sudo iptables -L
  34. Chain INPUT (policy ACCEPT)
  35. target prot opt source destination
  36.  
  37. Chain FORWARD (policy ACCEPT)
  38. target prot opt source destination
  39.  
  40. Chain OUTPUT (policy ACCEPT)
  41. target prot opt source destination
  42. pi@raspberrypi:~ $ sudo iptables -X
  43. pi@raspberrypi:~ $ sudo iptables -L
  44. Chain INPUT (policy ACCEPT)
  45. target prot opt source destination
  46.  
  47. Chain FORWARD (policy ACCEPT)
  48. target prot opt source destination
  49.  
  50. Chain OUTPUT (policy ACCEPT)
  51. target prot opt source destination
  52. pi@raspberrypi:~ $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement