Community discussions

MikroTik App
 
jlopez
just joined
Topic Author
Posts: 13
Joined: Mon Mar 04, 2019 4:07 pm

[IPSec] Route Internet traffic

Wed Jun 19, 2024 6:04 pm

Dear MikroTik users.

A customer wants to do this scenario:

1) At branch office there is a MikroTik connected to Starlink (the satellital provider). MikroTik cpe obtains IP addressing by dhcp (provided by Starlink cpe).
2) At HQ office there is a MikroTik with its IPv4 public ip adress.
3) I successfully set-up an IPSec connection between MikroTiks.
4) HQ lan network can reach branch lan network and viceversa.

But now the customer wants the branch office has Internet access using the Internet located at HQ, avoiding Starlink Internet service.

I set-up an IPSec policy (on branch MikroTik) encrypting the destination address (0.0.0.0/0) and branch network as source, but connection speed is too low and many Internet websites doesn't show.

Please, can you suggest any solution.

Thanks for attention and help.

Best regards
 
User avatar
irrwitzer
just joined
Posts: 24
Joined: Mon Apr 11, 2022 11:54 pm

Re: [IPSec] Route Internet traffic

Wed Jun 19, 2024 10:00 pm

Hi @jlopez,

You might wanna check your MTU / adjust-mss setting.
The description of your problem of very slow and defunct internet connection over a tunneled connection rings all my MTU bells.

BR,
irrwitzer
 
jlopez
just joined
Topic Author
Posts: 13
Joined: Mon Mar 04, 2019 4:07 pm

Re: [IPSec] Route Internet traffic

Wed Jun 19, 2024 11:58 pm

Hi irrwitzer.

Please, can you tell me about setting MTU / adjust-mss?

Looking in forum I don't find any effective method.

Thanks four your attention and help.
 
jlopez
just joined
Topic Author
Posts: 13
Joined: Mon Mar 04, 2019 4:07 pm

[SOLVED][IPSec] Route Internet traffic

Thu Jun 20, 2024 4:39 pm

Dear MikroTik users.

Finally I found solution by adding this command on mangle (viewtopic.php?p=1080868#p1080868):

/ip firewall mangle
add action=change-mss chain=forward new-mss=1380 out-interface=wireguard1 protocol=tcp tcp-flags=syn tcp-mss=1381-65535

Now branch office users can access multimedia content web pages sucessfully.

Please close this thread.

Thanks for your attention and help.

Best regards.