You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
897 B

  1. config bcp38
  2. option enabled 0
  3. option interface 'eth1'
  4. option detect_upstream 1
  5. list match '127.0.0.0/8'
  6. list match '192.0.2.0/24' # RFC 5737
  7. list match '198.51.100.0/24' # RFC 5737
  8. list match '203.0.113.0/24' # RFC 5737
  9. list match '192.168.0.0/16' # RFC 1918
  10. list match '10.0.0.0/8' # RFC 1918
  11. list match '172.16.0.0/12' # RFC 1918
  12. list match '169.254.0.0/16' # RFC 3927
  13. # list nomatch '172.26.0.0/21' # Example of something not to match
  14. # There is a dhcp trigger to do this for the netmask of a
  15. # double natted connection needed
  16. # You can only specify IPv4 addresses here - for IPv6, only source
  17. # specific default routes will be installed, which achieves the same
  18. # without needing any firewall routes.
  19. # I will argue that this level of indirection doesn't scale
  20. # very well - see how to block china as an example
  21. # http://www.okean.com/china.txt