i already read some other articles about mtu problems in ipsec vpn connections etc..
yesterday i installed my RB3011 from the scratch with the doc on the surfshark website...
maybe i was missing some basic installation commands for the router..
ether1 - wan uplink to a fritzbox (ip 192.168.0.1)
ether 2 - 10 local-bridge for clients... (ip-range 192.168.1.0/24)
its seems working but i realised a very slow traffic, websites were not found etc.. its seemed also be a DNS problem...
than i tried soime workaround f.ex. viewtopic.php?f=2&t=154449&p=763404&hil ... v2#p763404 etc.
it was not really better and maybe i set a wrong command.. today in the morning i have the vpn connection established but i have no internet via vpn.
the reconnect is very fast.. it seems well.. but i have no dns i think...
here my config:
Code: Select all
# aug/21/2020 11:21:33 by RouterOS 6.48beta27
# software id = 9G7D-Y22A
#
# model = RouterBOARD 3011UiAS
# serial number = 8EED0A5703C6
/interface bridge
add name=bridge-local
/ip ipsec mode-config
add name=DEBD responder=no src-address-list=local
/ip ipsec policy group
add name=DEBD
/ip ipsec profile
add name=DEBD
/ip ipsec peer
add address=surfshark-server exchange-mode=ike2 name=DEBD profile=\
DEBD
/ip ipsec proposal
add lifetime=1h name=DEBD pfs-group=none
/ip pool
add name=local-dhcp ranges=192.168.1.50-192.168.1.250
/ip dhcp-server
add address-pool=local-dhcp disabled=no interface=bridge-local name=\
dhcp-local
/interface bridge port
add bridge=bridge-local interface=ether2
add bridge=bridge-local interface=ether3
add bridge=bridge-local interface=ether4
add bridge=bridge-local interface=ether5
add bridge=bridge-local interface=ether6
add bridge=bridge-local interface=ether7
add bridge=bridge-local interface=ether8
add bridge=bridge-local interface=ether9
add bridge=bridge-local interface=ether10
/ip address
add address=192.168.0.254/24 interface=ether1 network=192.168.0.0
add address=192.168.1.1/24 interface=bridge-local network=192.168.1.0
/ip dhcp-server network
add address=192.168.1.0/24 dns-server=192.168.0.1 gateway=192.168.1.1 \
netmask=24
/ip dns
set servers=192.168.0.1
/ip firewall address-list
add address=192.168.1.0/24 list=local
/ip firewall nat
add action=masquerade chain=srcnat disabled=yes out-interface=ether1
/ip ipsec identity
add auth-method=eap certificate=surfshark_ikev2.crt_0 eap-methods=\
eap-mschapv2 generate-policy=port-strict mode-config=DEBD password=\
mypasswd peer=DEBD policy-template-group=DEBD username=\
myuser
/ip ipsec policy
add action=none dst-address=192.168.1.0/24 src-address=0.0.0.0/0
add dst-address=0.0.0.0/0 group=DEBD proposal=DEBD src-address=0.0.0.0/0 \
template=yes
/ip route
add distance=1 gateway=192.168.0.1
/system clock
set time-zone-name=Europe/Madrid
/system ntp client
set enabled=yes primary-ntp=130.60.204.10
kind regards,
olly