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. http://forum.mikrotik.com/t/mtu-troubles-using-ikev2-providers-like-nordvpn-work-around/135154/1 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:
Sounds like the same problem I had. Fix for me was to modify the fasttrack rule in the forward chain of the firewall rules so that it wouldnt match ipsec packet - do this by adding “connection-mark=!ipsec” to the rule.
The dns problem i soluted.. was something wrong in the basic setup.. but now i have since 2 days the dropping vpn every 15 seconds.. it was working a few days.. but than dropping now every 15 seconds… i have no idea… i remember an article about this, but didnt find it again… any idea ??
i have 2 ubnt switches where the rb is connected before going to the router… i will check when connecting directly to the router …so both networks are on the same switch.. but only one dhcp server…
surfshark have changed the way they do dns. I am having the same problem - working fine for 5 months.
if you check the logs. routeros see the dns change and brings down the ipsec tunnel creates to new destination address .. then when it changes again .. loop de loop
pick one ip and use that address
I had actually come here to find out how to turn that feature off . only do a dns look up when the link is down
I have run into this same issue in the last week - only got my hEX about a week ago, tunnel worked fine for a week then suddenly started dropping all the time. Cause seems to be Surfshark have (recently I guess) dropped the TTL on their DNS records to 5 seconds. Combined with the fact that their VIPs all round robin a bunch of different IPs, you get a different server every time, and as you noticed the existing SA is torn down as invalid. I have opened a ticket with surfshark about this but so far they haven’t been willing to admit they changed anything.
setting a local dns name with the static ip of the manually found ip adress of the surfshark.vpn-server is working…
but i didnt find any information how to setup the scheduled script to renew this static dns by RB start and when dropping the line f.ex…
any idea ?
shogunx can you maybe compare your script ?
What about only to request that script by rb start and after dropping the line and not every 8 hours ?