ftp-proxy and route-to

Kurt Dethier kurt-list-freebsd at androme.com
Fri Mar 7 20:11:35 UTC 2008


Hi all,

I'm trying to send some outgoing traffic via a second internet 
connection. Traffic like http works ok, I can use route-to in
the rules to send the traffic out on the correct interface and
nat to the correct public ip. But I can't get this to work for
ftp-proxy.

The ftp-proxy man page says I need a rule like:
  pass out proto tcp from $proxy to any port 21
but those connections are always going out on the interface
of the default route. Is it possible to make those
connections go out on another interface ?

Also I think I would need a route-to and reply-to in the anchor
rules created by ftp-proxy. Is this possible ?

Thanks for any help.

regards,
   Kurt



More information about the freebsd-pf mailing list