Nat Address List Filter Mikrotik Ver 3.2

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

/ip firewall nat add action=masquerade chain=srcnat out-interface=ether1-ISPUMUM

/ip firewall nat add action=masquerade chain=srcnat out-interface=ether2-


ISPGAME&SOSMED
/ip firewall nat add action=masquerade chain=srcnat src-address-list=LOKAL
/

/ip firewall address-list add address=192.168.0.0/16 list=LOKAL


/ip firewall address-list add address=172.16.0.0/12 list=LOKAL
/ip firewall address-list add address=10.0.0.0/8 list=LOKAL
/

/ip firewall filter add action=passthrough chain=unused-hs-chain comment="place


hotspot rules here" disabled=yes
/ip firewall filter add action=accept chain=input comment="Allow Established,
Related Connections" connection-state=established,related
/ip firewall filter add action=accept chain=forward connection-
state=established,related
/ip firewall filter add action=drop chain=input comment="Drop Invalid Connections"
connection-state=invalid
/ip firewall filter add action=drop chain=forward connection-state=invalid
/

You might also like