Hi,
I am trying to setup an openvpn configuration which lets me to share my internet connection with a friend in another country.
The objective is that he can use an ip address from my ISP to access certain multimedia sites(streams) which are only accessible
from within my ISP's network.
I have setup the openvpn sever, it works nicely, he is able to connect but his connection speed sucks big time.
Where his usual connection speeds are 5 Mbps / 1 Mbps and with 17ms ping, he is now having 0.14 Mbps / 0.14 Mbps with 444 ms ping.
I am trying to find a way to improve the vpn connection speed and have already disable the cipher encryption but without any significant result.
I read somwhere that changing the MTU could help but I am not really convinced that this will be a solution.
Feel free to provide suggestions in how to resolve my issue here ...
current config:
router: Buffalo WZR-HP-G450H
firmware: DD-WRT 24sp2 multi 5/27/11 build 1740
My internet connection: 98 Mbps / 4 Mbps
configuration openvpn server (on router):
TUN
UDP
disabled LZO compression
redirect default gateway
MTU 1500
TLS Cipher disabled
speed issues
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: speed issues
try lowering the MTU on the OpenVPN connection are add 'fragment', e.g.
to see if that helps performance; if this is a fragment/mtu issue then you can start tweaking them both to find the best performance.
Remember that your friend's connection will only be as fast as *your* upload speed, i.e. 4 MBps.
Code: Select all
tun-mtu 1400
fragment 1200
Remember that your friend's connection will only be as fast as *your* upload speed, i.e. 4 MBps.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sat Mar 17, 2012 2:28 pm
Re: speed issues
ok, did that but again no significant result, in what range I can tweak this MTU and mssfix/fragment setting?
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: speed issues
for debugging, use
and test performance; then increase 'fragment' (I would not expect that lower values are needed).
Code: Select all
cipher none
auth none
tun-mtu 1400
fragment 1200
mssfix