RouterOS 7 multiwan PPPoE loadbalance script

Last edit 04/01/2022 Please try my RouterOS 7 multiwan PPPoE loadbalance script Main features: 1) This script allows you to send traffic from special address lists via certain pppoe connection, bypassing the load balance logic (for example your TV should always go only via pppoe-02) 2) This script supports HAIRPIN-NAT 3) This script solves the multiwan issue when you are …

Default firewall for RouterOS v6 and v7

/ip firewall nat add chain=srcnat out-interface-list=WAN ipsec-policy=out,none action=masquerade comment=”defconf: masquerade” /ip firewall { filter add chain=input action=accept connection-state=established,related,untracked comment=”defconf: accept established,related,untracked” filter add chain=input action=drop connection-state=invalid comment=”defconf: drop invalid” filter add chain=input action=accept protocol=icmp comment=”defconf: accept ICMP” filter add chain=input action=accept dst-address=127.0.0.1 comment=”defconf: accept to local loopback (for CAPsMAN)” filter add chain=input action=drop in-interface-list=!LAN comment=”defconf: drop all not coming from …

IPv6 default firewall for RouterOS v6 and v7

/ipv6 firewall { address-list add list=bad_ipv6 address=::/128 comment=”defconf: unspecified address” address-list add list=bad_ipv6 address=::1 comment=”defconf: lo” address-list add list=bad_ipv6 address=fec0::/10 comment=”defconf: site-local” address-list add list=bad_ipv6 address=::ffff:0:0/96 comment=”defconf: ipv4-mapped” address-list add list=bad_ipv6 address=::/96 comment=”defconf: ipv4 compat” address-list add list=bad_ipv6 address=100::/64 comment=”defconf: discard only ” address-list add list=bad_ipv6 address=2001:db8::/32 comment=”defconf: documentation” address-list add list=bad_ipv6 address=2001:10::/28 comment=”defconf: ORCHID” address-list add list=bad_ipv6 address=3ffe::/16 comment=”defconf: …