Filtering RFC1918 Addresses

From 44Net Wiki
Revision as of 00:23, 12 February 2016 by Kd7lxl (talk | contribs) (Created page with "== Mikrotik RouterOS == <ol> <li>Define an RFC1918 address list <pre>/ip firewall address-list add address=10.0.0.0/8 list=RFC1918 add address=172.16.0.0/12 list=RFC1918 add...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Mikrotik RouterOS

  1. Define an RFC1918 address list
    /ip firewall address-list
    add address=10.0.0.0/8 list=RFC1918
    add address=172.16.0.0/12 list=RFC1918
    add address=192.168.0.0/16 list=RFC1918
  2. Perform NAT on traffic coming into AMPR from RFC1918 space
    /ip firewall nat
    add action=masquerade chain=srcnat src-address-list=RFC1918