An export from the server
### VPN 'server'
# jul/13/2019 15:32:11 by RouterOS 6.45.1
# software id = ZTRG-65M4
#
# model = CCR1009-7G-1C
# serial number = 84A1078A5D6B
/interface bridge
add comment="capsman" fast-forward=no name=capsman_bridge
add admin-mac=64:D1:54:DF:E2:CF arp=proxy-arp auto-mac=no comment="SITE-TO-SITE Layer2 VPN" name=hangmaffia_vpn_bridge
add comment="MazelTov LAN and CAPSMAN" fast-forward=no name=mazel_bridge
/interface ethernet
set [ find default-name=combo1 ] comment=WAN
set [ find default-name=ether1 ] comment="AUDIOLAN " speed=100Mbps
set [ find default-name=ether2 ] speed=100Mbps
set [ find default-name=ether3 ] speed=100Mbps
set [ find default-name=ether4 ] comment=BELACAM speed=100Mbps
set [ find default-name=ether5 ] comment="CAPSMAN" speed=100Mbps
set [ find default-name=ether6 ] comment=MAZELTOV speed=100Mbps
set [ find default-name=ether7 ] comment=HANGMAFFIA_VPN speed=100Mbps
/caps-man configuration
add country=hungary datapath.bridge=mazel_bridge name=MazelTov ssid=MazelTov
add country=hungary datapath.bridge=capsman_bridge name=Instant-Fogas ssid=INSTANT-FOGAS
/caps-man interface
add configuration=MazelTov disabled=no l2mtu=1600 mac-address=B8:69:F4:0A:B3:82 master-interface=none name=cap42 radio-mac=B8:69:F4:0A:B3:82 radio-name=B869F40AB382
add configuration=MazelTov disabled=no l2mtu=1600 mac-address=B8:69:F4:0A:B3:81 master-interface=none name=cap43 radio-mac=B8:69:F4:0A:B3:81 radio-name=B869F40AB381
add configuration=Instant-Fogas disabled=no l2mtu=1600 mac-address=CC:2D:E0:C4:2E:46 master-interface=none name=cap44 radio-mac=CC:2D:E0:C4:2E:46 radio-name=CC2DE0C42E46
add configuration=Instant-Fogas disabled=no l2mtu=1600 mac-address=CC:2D:E0:C4:2E:45 master-interface=none name=cap45 radio-mac=CC:2D:E0:C4:2E:45 radio-name=CC2DE0C42E45
/interface list
add name=WAN
add name=LAN
add name=VPN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add comment="AUDIOLAN 117.x" name=audiolanpool ranges=192.168.117.10-192.168.117.250
add comment="TESTING 118.x" name=testing-pool ranges=192.168.118.10-192.168.118.250
add comment=MAZELTOV-POOL name=mazelpool ranges=192.168.10.1-192.168.15.250
add comment="CAPSMAN pool " name=capsmanpool ranges=172.16.1.1-172.16.255.254
add comment=BELACAM-pool name=belacampool ranges=192.168.1.10-192.168.1.250
add name=testing-vpn-pool ranges=192.168.120.10-192.168.120.20
add comment="Hangmaffia VPN" name=hangmaffia_vpn_pool ranges=10.10.0.10-10.10.0.99
/ip dhcp-server
add address-pool=audiolanpool disabled=no interface=ether1 name=audiolan
add address-pool=mazelpool disabled=no interface=mazel_bridge name=mazeltov
add address-pool=capsmanpool disabled=no interface=capsman_bridge name=instant-fogas-capsman
add address-pool=belacampool disabled=no interface=ether4 name=belacam
add address-pool=hangmaffia_vpn_pool disabled=no interface=hangmaffia_vpn_bridge name=hangmaffia_vpn_server
/ppp profile
add bridge=hangmaffia_vpn_bridge comment=SITE-TO-SITE-Layer2-VPN local-address=10.11.0.1 name=hangmaffia_vpn
/caps-man manager
set enabled=yes
/caps-man manager interface
set [ find default=yes ] forbid=yes
add disabled=no interface=capsman_bridge
add disabled=no interface=mazel_bridge
/caps-man provisioning
add action=create-dynamic-enabled comment="IF Identity starts with underscore, we use this config" identity-regexp=^_ master-configuration=MazelTov
add action=create-dynamic-enabled comment="Default config" master-configuration=Instant-Fogas
/interface bridge nat
add action=accept chain=srcnat
/interface bridge port
add bridge=capsman_bridge comment="Fogas wifi port" interface=ether5
add bridge=mazel_bridge comment=Mazel interface=ether6
add bridge=capsman_bridge comment="Hangmaffia VPN" interface=ether2
add bridge=hangmaffia_vpn_bridge comment="Dedicated hangmaffia VPN port" interface=ether7 trusted=yes
/interface l2tp-server server
set default-profile=hangmaffia_vpn enabled=yes ipsec-secret=secret mrru=1600 use-ipsec=required
/interface list member
add interface=ether1 list=LAN
add interface=combo1 list=WAN
add interface=ether2 list=LAN
add interface=ether3 list=LAN
add interface=ether4 list=LAN
add interface=ether5 list=LAN
add interface=ether6 list=LAN
add interface=ether7 list=VPN
/ip address
add address=192.168.117.1/24 comment="LAN AUDIOLAN" interface=ether1 network=192.168.117.0
add address=89.133.151.117/28 comment="WAN / f5.d250.hu" interface=combo1 network=89.133.151.112
add address=192.168.118.1/24 comment="LAN TESTING" disabled=yes interface=ether7 network=192.168.118.0
add address=89.133.151.118/28 comment="WAN / f6.d250.hu" interface=combo1 network=89.133.151.112
add address=89.133.151.119/28 comment="WAN / f7.d250.hu" interface=combo1 network=89.133.151.112
add address=89.133.151.120/28 comment="WAN / f8.d250.hu" interface=combo1 network=89.133.151.112
add address=89.133.151.121/28 comment="WAN / f9.d250.hu" interface=combo1 network=89.133.151.112
add address=89.133.151.122/28 comment="WAN / fa.d250.hu" interface=combo1 network=89.133.151.112
add address=89.133.151.123/28 comment="WAN / fb.d250.hu" interface=combo1 network=89.133.151.112
add address=192.168.119.1/24 comment="LAN ether3" disabled=yes interface=ether3 network=192.168.119.0
add address=192.168.1.1/24 comment="LAN BELACAM" interface=ether4 network=192.168.1.0
add address=172.16.0.1/16 comment="LAN ether5 CAPSMAN = 172.16.0.1 - 172.16.255.254" interface=capsman_bridge network=172.16.0.0
add address=192.168.0.1/20 comment="LAN MAZELTOV " interface=mazel_bridge network=192.168.0.0
add address=89.133.151.116/28 comment="WAN / f4-cam.d250.hu" interface=combo1 network=89.133.151.112
add address=10.10.0.1/24 interface=hangmaffia_vpn_bridge network=10.10.0.0
/ip dhcp-server lease
## some statically assigned dhcp leases ...
/ip dhcp-server network
add address=10.10.0.0/24 comment=HANGMAFFIA_VPN gateway=10.10.0.1
add address=172.16.0.0/16 comment="INSTANT-FOGAS CAPSMAN ;; 172.16.0.1 - 172.16.255.254" gateway=172.16.0.1 netmask=16
add address=192.168.0.0/20 comment="MAZELTOV ;; 192.168.0.1 - 192.168.15.254" gateway=192.168.0.1
add address=192.168.1.0/24 comment="BELACAM ;; 192.168.1.1 - 192.168.1.254" gateway=192.168.1.1 netmask=24
add address=192.168.117.0/24 comment="AUDIOLAN ;; 192.168.117.1 - 192.168.117.254" gateway=192.168.117.1 netmask=24
add address=192.168.118.0/24 comment=TESTING gateway=192.168.118.1
/ip dns
set servers=195.184.180.4,195.184.181.4
/ip firewall filter
add action=accept chain=input comment="ICMP allow PING" disabled=yes icmp-options=8:0-255 protocol=icmp
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid disabled=yes
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=drop chain=input comment="defconf: drop all not coming from LAN" disabled=yes in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid disabled=yes
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new disabled=yes in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment=default out-interface-list=WAN
add action=masquerade chain=srcnat comment="CAPSMAN MASQ" out-interface=capsman_bridge
add action=masquerade chain=srcnat comment="MAZEL MASQ" out-interface=mazel_bridge
## some additional port maps
/ip route
add distance=1 gateway=89.133.151.126
/ip ssh
set allow-none-crypto=yes forwarding-enabled=remote
/ppp secret
add comment="client" name=x111 password=password profile=hangmaffia_vpn service=l2tp
/system clock
set time-zone-name=Europe/Budapest
And from the client
### VPN 'client'
# jul/13/2019 15:36:52 by RouterOS 6.45.1
# software id = IL68-RR17
#
# model = 2011iL
# serial number = 8E7A0A6BFA8A
/interface bridge
add admin-mac=74:4D:28:A6:A0:58 arp=proxy-arp auto-mac=no comment=defconf name=bridge
add admin-mac=74:4D:28:A6:A0:58 arp=proxy-arp auto-mac=no name=hangmaffia_vpn_bridge
/interface ethernet
set [ find default-name=ether1 ] speed=100Mbps
set [ find default-name=ether2 ] speed=100Mbps
set [ find default-name=ether3 ] speed=100Mbps
set [ find default-name=ether4 ] speed=100Mbps
set [ find default-name=ether5 ] speed=100Mbps
set [ find default-name=ether6 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
set [ find default-name=ether7 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
set [ find default-name=ether8 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
set [ find default-name=ether9 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
set [ find default-name=ether10 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge name=defconf
/ppp profile
add bridge=hangmaffia_vpn_bridge comment="SITE-TO-SITE Layer2 VPN" local-address=10.11.0.111 name=hangmaffia_vpn
/interface l2tp-client
add connect-to=fx.d250.hu disabled=no ipsec-secret=secret keepalive-timeout=disabled mrru=1600 name=l2tp-hangmaffia password=password profile=hangmaffia_vpn use-ipsec=yes user=x111
/interface bridge port
add bridge=hangmaffia_vpn_bridge comment=defconf interface=ether2
add bridge=hangmaffia_vpn_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=ether6
add bridge=bridge comment=defconf interface=ether7
add bridge=bridge comment=defconf interface=ether8
add bridge=bridge comment=defconf interface=ether9
add bridge=bridge comment=defconf interface=ether10
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface l2tp-server server
set enabled=yes ipsec-secret=secret use-ipsec=yes
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=192.168.88.0
add address=10.10.0.111/24 interface=hangmaffia_vpn_bridge network=10.10.0.0
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=ether1
/ip dhcp-server lease
add address=192.168.88.254 client-id=ff:c8:d:4b:f0:0:4:c:76:65:2a:4c:a0:41:2b:a6:f6:b4:b6:df:16:37:b9 comment=Fedbook mac-address=A0:CE:C8:0D:4B:F0 server=defconf
add address=192.168.88.253 comment=Neutrino mac-address=00:60:35:2A:95:29 server=defconf
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 name=router.lan
/ip firewall filter
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=drop chain=input comment="defconf: drop all not coming from LAN" disabled=yes in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
/system clock
set time-zone-name=Europe/Budapest
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN