Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Mar 2008 20:56:19 +0100
From:      Kurt Dethier <kurt-list-freebsd@androme.com>
To:        freebsd-pf@freebsd.org
Subject:   ftp-proxy and route-to
Message-ID:  <47D19DE3.3000007@androme.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47D19DE3.3000007>