Jail - PF - NAT - Network Performance

Kristof Provost kp at FreeBSD.org
Sun Oct 25 17:12:14 UTC 2015


> On 25 Oct 2015, at 17:46, James Lodge <James at Lodge.me.uk> wrote:
> I currently have a FreeBSD 10.1 host running on Digital Ocean. I have multiple jails and I'm not using vimage.
> 
> 
> I'm using PF on the host to NAT traffic from said jails and all is working as expected. I have a jail running OpenVPN and clients can connect and traffic is routed to the Internet down the tunnel via PF/NAT. The issue I'm seeing is download speeds to the client from the Internet on the external side on PF. Upload always seem reasonable, but download is always woeful. I'm using a Windows machine as the client if that make any odds.
> 
Yeah, there’s an issue with checksums and pf/Xen. 
Disabling TSO should work for you (sudo sysctl net.inet.tcp.tso=0), and the problem should be completely fixed in the next release (10.3 or 11.0)

Regards,
Kristof


More information about the freebsd-net mailing list