Poor openvpn speeds on pfsense client, fast with desktop client to same server.
-
Hello,
I have pfsense 2.1.5 i386 setup as an openvpn client connecting to a ubuntu openvpn server. I have pfsense setup to route specific traffic on the lan through the vpn link. This is working fine, however the most performance i'm able to push through the VPN link is ~20Mbit. If i connect to the same vpn server with a desktop client (windows or linux) i'm able to push 80-100Mbit/s. CPU usage on my pfsense machine is about 20% on a 1.6Ghz atom soekris net6501-70. The biggest thing i'm not sure about is the NAT outbound rule i created, it was the only way I was able to get traffic to flow and I just guessed. Thanks!
ubuntu server config:
port 1197 proto udp dev tun ca ca.crt cert server.crt key server.key # This file should be kept secret dh dh2048.pem server 10.9.0.0 255.255.255.0 ifconfig-pool-persist ipp3.txt push "dhcp-option DNS 208.67.222.222" push "dhcp-option DNS 208.67.220.220" duplicate-cn keepalive 10 120 comp-lzo user nobody group nogroup persist-key persist-tun status openvpn-status.log verb 3
Client Setup
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.