Advertisement
Guest User

missing

a guest
Jun 4th, 2018
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. #https://github.com/bogdando/fuel-log-parse/blob/master/iptables-save-compare.sh
  2. $iptables-save-compare.sh -s -t nat /tmp/contuc /tmp/instackuc
  3. ## Storing stdout to ./_iptables_save_compare.log
  4. ### Only comparing inputs against the common tables:
  5. nat
  6. (diff '-' means: not found in /tmp/instackuc)
  7. (diff '+' means: not found in /tmp/contuc)
  8.  
  9. === Diff for the table: nat (sorted, counters and comments removed) ===
  10. --- /dev/fd/63 2018-06-04 14:42:50.754619023 +0200
  11. +++ /dev/fd/62 2018-06-04 14:42:50.754619023 +0200
  12. @@ -1,4 +1,14 @@
  13. +-A BOOTSTACK_MASQ -s 192.168.24.0/24 -d 192.168.24.0/24 -j RETURN
  14. +-A BOOTSTACK_MASQ -s 192.168.24.0/24 -j MASQUERADE
  15. +-A DOCKER -i docker0 -j RETURN
  16. +-A OUTPUT ! -d 127.0.0.0/8 -m addrtype --dst-type LOCAL -j DOCKER
  17. +-A POSTROUTING -j BOOTSTACK_MASQ
  18. +-A POSTROUTING -s 172.17.0.0/16 ! -o docker0 -j MASQUERADE
  19. +-A PREROUTING -d 169.254.169.254/32 -i br-ctlplane -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8775
  20. +-A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER
  21. +#:BOOTSTACK_MASQ -
  22. COMMIT
  23. +#:DOCKER -
  24. #:INPUT ACCEPT
  25. #:OUTPUT ACCEPT
  26. #:POSTROUTING ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement