load balancing outgoing connections originating from the nat gateway itself

2006-04-10 Thread Raja Subramanian
Hi everyone, I'm running an OpenBSD 3.8-stable nat gateway in an environment with multiple uplinks. pf is configured to load balance outgoing traffic originating from my internal lan. My pf.conf is attached at the very end. The only unusual feature in my setup is that all my uplink gateways

translating route-to (ifname gwy) to C code

2006-07-27 Thread Raja Subramanian
Hello, I'm trying to modify the rules generated by ftp-proxy(8), and I'm getting lost in the the various structs in pfvar.h. I'm trying to express the following PF rule in C. pass in quick route-to ($ext_if $ext_gw) inet proto tcp \ from $server to $client port $port flags S/SAFR keep