Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 2010 17:50:01 -0800
From:      Roman Vasilyev <roman@anchorfree.com>
To:        "freebsd-pf@FreeBSD.org" <freebsd-pf@FreeBSD.org>
Subject:   FreeBSD PF rdr load balancing question
Message-ID:  <4CEC6F49.4030301@anchorfree.com>

next in thread | raw e-mail | index | archive | help
Hi,

my company using openvpn with UDP transport on SMP machine, currently we 
using Linux as server platform. So for more effective CPU usage we're 
running openvpn instances which equals to CPU count. For load balancing 
we using iptables with simple rule:
iptables -t nat -A PREROUTING -p udp -m state --state NEW -m udp -j 
REDIRECT --to-ports 8041-8048 --random

We are moving to freebsd, and I want to use best firewall PF, I didn't 
found any ability for load balancing by ports only IP's, my question is:
what's the best way to have load balancing by ports on LOCAL machine 
with PF?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CEC6F49.4030301>