tun-mtu, fragment and mssfix: Client, Server or Both?

Scripts with setup, destroy, and modify routing tables and firewall rulesets for client connections.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
MBNH
OpenVpn Newbie
Posts: 5
Joined: Wed Jul 08, 2015 4:03 pm

tun-mtu, fragment and mssfix: Client, Server or Both?

Post by MBNH » Thu Jul 16, 2015 5:55 pm

We have server-side conf files and client-side ovpn files. If I want to troubleshoot an MTU issue, do I use the tun-mtu, fragment and mssfix parameters in the client or server config, or both?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: tun-mtu, fragment and mssfix: Client, Server or Both?

Post by Traffic » Fri Jul 17, 2015 11:58 am

Use --fragment and --mssfix in both your configs as these cannot be pushed.

Also try:

Code: Select all

mtu-disc yes
mtu-test
in both your configs.

This thread may help:
confusion over udp "fragment"

bmarien
OpenVpn Newbie
Posts: 9
Joined: Thu Feb 16, 2012 8:50 am

Re: tun-mtu, fragment and mssfix: Client, Server or Both?

Post by bmarien » Mon Feb 22, 2016 8:58 am

Just wondering,

Can we use the output of the test in some script? Or can the result be written to file?


Thanks

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: tun-mtu, fragment and mssfix: Client, Server or Both?

Post by Traffic » Tue Feb 23, 2016 12:31 pm

bmarien wrote:Can we use the output of the test in some script?
Unlikely, as you cannot pump this back to openvpn ..
bmarien wrote:can the result be written to file?
It is written to the openvpn log ..

Post Reply