that sounds very intressting, (clavister recently change their licensing mode to count SA’s, intead of tunnels)
Here are a full export from the RB751U-2HnD
Legend:
1.1.1.1 HQ Clavister Public IKE IP
2.2.2.2 Mailsever DMZ public IP
3.3.3.3 Office local public IP
4.4.4.4 HQ in/out Public IP
192.168.0.0/24 HQ local lan
192.168.0.254 HQ local gateway (clavister)
# mar/09/2016 08:53:05 by RouterOS 6.34.2
# software id = PLP3-P4UV
#
/interface bridge
add admin-mac=00:0C:42:E1:B2:A7 auto-mac=no name=ipsec-net
add name=wifi-bridge
/interface ethernet
set [ find default-name=ether1 ] name=1.WAN
set [ find default-name=ether2 ] name=2.WIFI-LAN
set [ find default-name=ether3 ] name=3.LAN-master
set [ find default-name=ether4 ] master-port=3.LAN-master name=4.LAN
set [ find default-name=ether5 ] master-port=3.LAN-master name=5.LAN
/interface eoip
add allow-fast-path=no !keepalive local-address=3.3.3.3 mac-address=00:00:5E:88:88:88 name=eoip-tunnel1 remote-address=\
1.1.1.1 tunnel-id=0
/ip neighbor discovery
set "1.WAN" discover=no
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk,wpa2-eap management-protection=allowed mode=dynamic-keys name=Thage-Wifi-security \
supplicant-identity="" unicast-ciphers=tkip,aes-ccm wpa2-pre-shared-key=WifiPassword
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce disabled=no distance=indoors frequency=auto \
hide-ssid=yes mode=ap-bridge security-profile=Thage-Wifi-security ssid=TAB wireless-protocol=802.11
/ip ipsec proposal
set [ find default=yes ] auth-algorithms=sha1,md5
add enc-algorithms=aes-128-cbc,3des name=Site2Site
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.99
add name=wifi-pool ranges=192.168.188.10-192.168.188.99
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=ipsec-net name=lan-dhcp
add address-pool=wifi-pool disabled=no interface=wifi-bridge name=wifi-dhcp
/interface bridge port
add bridge=wifi-bridge comment="WIFI/UE port" interface=2.WIFI-LAN
add bridge=wifi-bridge comment="Internal WIFI" interface=wlan1
add bridge=ipsec-net interface=eoip-tunnel1
add bridge=ipsec-net interface=3.LAN-master
/ip address
add address=192.168.88.1/24 comment=defconf interface=ipsec-net network=192.168.88.0
add address=192.168.188.1/24 interface=wifi-bridge network=192.168.188.0
/ip cloud
set ddns-enabled=yes update-time=no
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=1.WAN
/ip dhcp-server network
add address=192.168.88.0/24 dns-server=192.168.0.5,192.168.88.1 gateway=192.168.88.1
add address=192.168.188.0/24 dns-server=8.8.8.8 gateway=192.168.188.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8
/ip dns static
add address=192.168.88.1 name=router
/ip firewall address-list
add address=4.4.4.4 comment=fw.example.com list=TrustedIP
add address=192.168.0.254 comment="fw.example.com internt" list=TrustedIP
add address=192.168.88.0/24 comment="Local IP's" list=TrustedIP
add address=192.168.3.0/24 comment="L2TP LAN" list=TrustedIP
add address=192.168.0.0/24 comment="LAN huvudkontor" list=TrustedIP
/ip firewall filter
add action=reject chain=forward comment="no netbios to tunnel" connection-state=new dst-address=192.168.0.0/24 dst-port=\
135-139,445 protocol=tcp
add chain=forward comment="allow trafic from HQ" dst-address=192.168.88.0/24 src-address=192.168.0.0/24
add chain=forward comment="allow mailtrafic from HQ" dst-address=192.168.88.0/24 src-address=2.2.2.2
add chain=forward comment="allow trafic to HQ" dst-address=192.168.0.0/24 src-address=192.168.88.0/24
add chain=forward comment="allow mailtrafic to HQ" dst-address=2.2.2.2 src-address=192.168.88.0/24
add chain=input comment="defconf: accept ICMP" protocol=icmp
add chain=input comment="defconf: accept establieshed,related" connection-state=established,related
add action=log chain=input comment="log ipsec" dst-port=50,51,500,1701,4500 protocol=udp
add chain=input comment="IPSEC-ESP 50" connection-state=new connection-type="" dst-port=50 in-interface=1.WAN protocol=udp
add chain=input comment=IPSEC connection-state=new connection-type="" dst-port=500,1701,4500 in-interface=1.WAN protocol=udp
add chain=input comment="IPSEC-AH 51" connection-state=new connection-type="" dst-port=51 in-interface=1.WAN protocol=udp
add chain=input comment="Remote Admin Winbox" dst-port=8291 protocol=tcp src-address-list=TrustedIP
add chain=input comment="Remote Admin using webfig" dst-port=8780 protocol=tcp src-address-list=TrustedIP
add action=drop chain=input comment="defconf: drop all from WAN" in-interface=1.WAN
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add chain=forward comment="defconf: accept established,related" connection-state=established,related
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=1.WAN
/ip firewall nat
add chain=srcnat dst-address=192.168.0.0/24 src-address=192.168.88.0/24
add chain=srcnat dst-address=2.2.2.2 src-address=192.168.88.0/24
add chain=srcnat dst-address=192.168.88.0/24 src-address=2.2.2.2
add chain=srcnat dst-address=192.168.88.0/24 src-address=192.168.0.0/24
add action=masquerade chain=srcnat comment="enable for access to tunnel from other bridges" disabled=yes out-interface=\
ipsec-net
add action=masquerade chain=srcnat comment="defconf: masquerade" out-interface=1.WAN
/ip firewall service-port
set h323 disabled=yes
set sip disabled=yes
/ip ipsec peer
add address=1.1.1.1/32 enc-algorithm=aes-256,aes-192,aes-128,3des generate-policy=port-strict local-address=\
3.3.3.3 secret=0xHEXpsk
/ip ipsec policy
set 0 disabled=yes
add dst-address=192.168.0.0/24 proposal=Site2Site sa-dst-address=1.1.1.1 sa-src-address=3.3.3.3 src-address=\
192.168.88.0/24 tunnel=yes
add dst-address=2.2.2.2/32 level=unique proposal=Site2Site sa-dst-address=1.1.1.1 sa-src-address=3.3.3.3 \
src-address=192.168.88.0/24 tunnel=yes
/ip route
add check-gateway=ping comment=MailServer distance=1 dst-address=2.2.2.2/32 gateway=eoip-tunnel1 pref-src=192.168.88.1
add comment="IPsec trafic to HQ" distance=1 dst-address=192.168.0.0/24 gateway=eoip-tunnel1 pref-src=192.168.88.1
/ip route rule
add dst-address=2.2.2.2/32 interface=eoip-tunnel1 src-address=192.168.88.0/24 table=main
/ip service
set www address=4.4.4.4/32,192.168.88.0/24,192.168.0.0/24,192.168.3.0/24 port=8780
set winbox address=4.4.4.4/32,192.168.88.0/24,192.168.3.0/24,192.168.0.254/32
/ip upnp
set enabled=yes
/system clock
set time-zone-name=Europe/Stockholm
/system identity
set name=MikroTik88
/system leds
set 0 interface=wlan1
/system logging
add topics=e-mail
add disabled=yes topics=ipsec,debug
/system ntp client
set enabled=yes primary-ntp=192.36.134.17
/system scheduler
add interval=10m name="keepalive 10m" on-event=keepalive policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive \
start-date=feb/23/2016 start-time=09:55:13
add interval=4w2d name="ebackup 30d" on-event=e-backup policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive \
start-date=feb/28/2016 start-time=01:00:00
/system script
add name=e-backup owner=admin policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive source="/system backup save name\
=email; /tool e-mail send to=\"admin@mail.com\" subject=([/system identity get name] . \" Backup\") file=email.backup"
add name=keepalive owner=admin policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive source=\
":log info \"starting ping to intranet\"\r\
\n/tool ping 192.168.0.2 count=10\r\
\n:log info \"ping to intranet done\"\r\
\n"
/tool e-mail
set address=2.2.2.2 from=admin@mail.com
/tool graphing interface
add allow-address=192.168.88.0/24
add allow-address=4.4.4.4/32
add allow-address=192.168.0.254/32
/tool graphing resource
add allow-address=4.4.4.4/32
add allow-address=192.168.88.0/24
add allow-address=192.168.0.254/32
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=ipsec-net
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ipsec-net