today, i will share my experience to speed up vpn connection over mobile internet broadband. Officially i just get 512 kbps, but we can speed up up to 14 Mbps then. its depend on signal strenght in your location.
well, lets start by setup server configuration. As you know that openvpn server can be use as certificate (tls), password only, tls + password, and static key. whatever you chose it, what you need to tune up are
proto [udp/tcp]
reneg-sec [604800/ make it bigger]
sndbuf [100000 / make it bigger]
rcvbuf [100000 / make it bigger]
tun-mtu [48000 / make it same with server]
fragment [0 / let it 0]
mssfix [0 / let it 0]
if you want to run openvpn over socket tunnel such as ssh tunnel, maybe you can set
cipher none
auth none
because you are on secure connection now, already encrypted by ssh.
remember, if you make tun-mtu bigger, you should also tune up the link-mtu bigger too.
as your reference :
https://community.openvpn.net/openvpn/wiki/Gigabit_Networks_Linux
well, lets start by setup server configuration. As you know that openvpn server can be use as certificate (tls), password only, tls + password, and static key. whatever you chose it, what you need to tune up are
proto [udp/tcp]
reneg-sec [604800/ make it bigger]
sndbuf [100000 / make it bigger]
rcvbuf [100000 / make it bigger]
tun-mtu [48000 / make it same with server]
fragment [0 / let it 0]
mssfix [0 / let it 0]
if you want to run openvpn over socket tunnel such as ssh tunnel, maybe you can set
cipher none
auth none
because you are on secure connection now, already encrypted by ssh.
remember, if you make tun-mtu bigger, you should also tune up the link-mtu bigger too.
as your reference :
https://community.openvpn.net/openvpn/wiki/Gigabit_Networks_Linux
..show all:.
.
today, i will share my experience to speed up vpn connection over mobile internet broadband. Officially i just get 512 kbps, but we can speed up up to 14 Mbps then. its depend on signal strenght in your location.
well, lets start by setup server configuration. As you know that openvpn server can be use as certificate (tls), password only, tls + password, and static key. whatever you chose it, what you need to tune up are
proto [udp/tcp]
reneg-sec [604800/ make it bigger]
sndbuf [100000 / make it bigger]
rcvbuf [100000 / make it bigger]
tun-mtu [48000 / make it same with server]
fragment [0 / let it 0]
mssfix [0 / let it 0]
if you want to run openvpn over socket tunnel such as ssh tunnel, maybe you can set
cipher none
auth none
because you are on secure connection now, already encrypted by ssh.
remember, if you make tun-mtu bigger, you should also tune up the link-mtu bigger too.
as your reference :
https://community.openvpn.net/openvpn/wiki/Gigabit_Networks_Linux
well, lets start by setup server configuration. As you know that openvpn server can be use as certificate (tls), password only, tls + password, and static key. whatever you chose it, what you need to tune up are
proto [udp/tcp]
reneg-sec [604800/ make it bigger]
sndbuf [100000 / make it bigger]
rcvbuf [100000 / make it bigger]
tun-mtu [48000 / make it same with server]
fragment [0 / let it 0]
mssfix [0 / let it 0]
if you want to run openvpn over socket tunnel such as ssh tunnel, maybe you can set
cipher none
auth none
because you are on secure connection now, already encrypted by ssh.
remember, if you make tun-mtu bigger, you should also tune up the link-mtu bigger too.
as your reference :
https://community.openvpn.net/openvpn/wiki/Gigabit_Networks_Linux
No comments:
Post a Comment