Skip to content

Instantly share code, notes, and snippets.

@chertov
Last active June 28, 2019 07:05
Show Gist options
  • Save chertov/febb7483dfd33f0847bb0743097aca36 to your computer and use it in GitHub Desktop.
Save chertov/febb7483dfd33f0847bb0743097aca36 to your computer and use it in GitHub Desktop.
Mikrotik bridge settings
[admin@MikroTik] /interface bridge> export
# jun/28/2019 14:03:43 by RouterOS 6.43.10
# software id = 32JT-U887
#
# model = RBD52G-5HacD2HnD
/interface bridge
add admin-mac=74:4D:28:59:45:C9 arp=proxy-arp auto-mac=no comment=defconf name=bridge
/interface bridge filter
add action=passthrough chain=forward
add action=accept chain=forward comment="web admin" dst-port=80 ip-protocol=tcp mac-protocol=ip out-interface=eoip-tunnel1
add action=accept chain=forward comment=ssh dst-port=22 ip-protocol=tcp mac-protocol=ip out-interface=eoip-tunnel1
add action=accept chain=forward comment=ping ip-protocol=icmp mac-protocol=ip out-interface=eoip-tunnel1
add action=accept chain=forward comment="allow input all" in-interface=eoip-tunnel1
add action=drop chain=forward comment="drop all" out-interface=eoip-tunnel1
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
add bridge=bridge interface=eoip-tunnel1
[admin@MikroTik] /interface bridge> /interface bridge settings export
# jun/28/2019 14:03:50 by RouterOS 6.43.10
# software id = 32JT-U887
#
# model = RBD52G-5HacD2HnD
[admin@MikroTik] /interface bridge>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment