Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
MSS and IPSEC
« previous
next »
Print
Pages: [
1
]
Author
Topic: MSS and IPSEC (Read 5005 times)
olest
Jr. Member
Posts: 69
Karma: 3
MSS and IPSEC
«
on:
March 30, 2021, 09:47:50 am »
Hi,
I have had a few new sites where I need to set MSS=1400 om LAN interface to get traffic through IPSEC tunnels.
Is that a "normal" problem?
Logged
juere
Jr. Member
Posts: 91
Karma: 8
Re: MSS and IPSEC
«
Reply #1 on:
April 08, 2021, 07:03:17 am »
I think it is, if one of your IPSEC Endpoints is using a MTU less than default 1500 and PMTU-Discovery is broken between endpoints. In all tunnels with one endpoint on our Hetzner servers I have to use use MSS=1300 as they are running with MTU 1400 due to Hetzner Virtual Switch VLAN's.
Logged
Ricardo
Full Member
Posts: 233
Karma: 12
Re: MSS and IPSEC
«
Reply #2 on:
April 08, 2021, 07:55:06 pm »
On opnsense router what metrics/counters indicate that my vpn tunnel speed problem happens because of MTU / fragmentation?
Logged
juere
Jr. Member
Posts: 91
Karma: 8
Re: MSS and IPSEC
«
Reply #3 on:
April 08, 2021, 10:06:24 pm »
In my experience MTU problems mostly manifest not as speed problems, but connections with larger paket sizes stalling. For example ping goes through, ssh hangs once you type 'ls' in a directory with many files
Logged
Ricardo
Full Member
Posts: 233
Karma: 12
Re: MSS and IPSEC
«
Reply #4 on:
April 09, 2021, 01:44:57 pm »
How about high amount of fragmentation due to tunnel MTU smaller than endpoint MTU, and the constant fragmentation/re-assembly that can kill throughput?
Logged
Aergan
Jr. Member
Posts: 55
Karma: 9
Re: MSS and IPSEC
«
Reply #5 on:
April 10, 2021, 11:07:15 am »
I set a Firewall normalisation rule for my IPSEC interface and set all traffic to Max MSS 1350 for that interface. That resolved it for my IPSEC tunnel to Azure (gleamed from their documentation).
Logged
Ricardo
Full Member
Posts: 233
Karma: 12
Re: MSS and IPSEC
«
Reply #6 on:
April 12, 2021, 06:05:54 am »
@Aergan: that "firewall normalisation" sounds plain chinese to me. What did you do exactly, any stepbystep guide to follow?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
MSS and IPSEC