Default configuration.
WAN = ether1, LAN = Bridge1, NAT
Rule:
/ip firewall mangle
add chain=forward in-interface=ether1 log=yes out-bridge-port=wlan1 out-interface=bridge1
Counter of packets = 0, log is empty.
Laptop is connected to wlan1, internet works fine.
Why it's not work?
ps:
/ip firewall mangle
add chain=forward in-interface=ether1 log=yes out-bridge-port=wlan1
doesn't work too.
Config:
ros code
/ip address add address=192.168.113.1/24 comment="default configuration" interface=bridge1 network=192.168.113.0 add address=84.5*.*.*/26 interface=ether1 network=84.5*.*.* /interface bridge add admin-mac=D4:CA:6D:63:35:5A auto-mac=no mtu=1500 name=bridge1 protocol-mode=none /interface bridge port add bridge=bridge1 interface=ether2 add bridge=bridge1 interface=ether3 add bridge=bridge1 interface=ether5 add bridge=bridge1 interface=ether4 add bridge=bridge1 interface=sfp1 add bridge=bridge1 interface=wlan1 add bridge=bridge1 interface=ether8 /interface bridge settings set allow-fast-path=no use-ip-firewall=yes use-ip-firewall-for-vlan=yes /ip firewall nat add action=masquerade chain=srcnat out-interface=ether1 src-address=192.168.113.0/24