FreeBSD OpenVPN low upload speed

I run an OpenVPN service on a FreeBSD VPS
The upload speeds are low (aroubnd 10 mbit) but server downloads on normal rates.

I tried changing:
Code:
tun-mtu 1420
mssfix 1380
in openvpn.conf, din't help

I've set:
Code:
ifconfig vtnet0 -tso
as adviced by somene, didn't help neither.

If this issue wont be resolved my project wont be abble to get accomplished.
Thank you.
 
VPS providers usually have a symmetric connection (1 Gbit up and down), internet providers (Cable; xDSL) however often have asymmetric connections; i.e. 100 Mbit downstream and 10 Mbit upstream.

So yes, make sure you're looking at the right things. It might be limited because your home internet connection only has 10 Mbit upstream. You're not suddenly going to be able to do 1Gbps upstream just because your VPN box has that kind of connection.
 
This is not comnnection issue, i had Debian few days back with OpenVPN on that vps and all was fine. Also the server transmits on acceptable rates outside the vpn tunnel.
 
So i tired wireguard, same results, poor tunnel tranfers, so it's either kernel configuration or pf.conf issue.
This is my pf.conf

Code:
int_if = "tun0"
ext_if = "vtnet0"
tcp_services = "{ 22, 80, 443, 1194 }"
udp_services = "{ 1194, 51820 }"
icmp_types = "echoreq"
priv_nets = "{ 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 }"
set block-policy drop
set loginterface $ext_if
set skip on lo0
nat on $ext_if from $int_if:network to any -> ($ext_if)
block all
pass in proto tcp to any port $tcp_services keep state
pass in proto udp to any port $udp_services keep state
pass out inet proto icmp icmp-type { echoreq }
pass out quick on $ext_if proto udp all keep state
pass out quick on $ext_if proto tcp all modulate state flags S/SA
pass in quick on $int_if inet from $int_network to $int_addr
pass in quick on $int_if inet from $int_network to any keep state
pass in quick log on $int_if all
pass out quick
pass in on $int_if from any to any
 
Back
Top