hi all , my network scheme is as follow

isp1-----\
              obsd -----lan
isp2-----/


on obsd  i've succefully set load balancing outgoinng conn , but i also
using ftp-proxy ( i mean tool pftpx which is impelemented in 3.9 now ) using
the rules as follow:

nat-anchor "pftpx/*"
rdr-anchor "pftpx/*"
.........
rdr on $if_lan proto tcp from $lan to any port 21 -> 127.0.0.1 port 8021
.......
anchor "pftpx/*"
.......
pass in quick on $if_lan route-to (lo0 127.0.0.1) proto tcp from $lan to any
port 8021 keep state

and it's working fine but .. default route on obsd is set for isp2 , so all
of the ftp conn going thorugh isp2.  My question is : is there any chance to
set on pf and tell that ftp conn going to isp1.( without changing default
route :) coz ive got vpn peer bind to isp2 )  I was tryin use route-to on
loopback inteface to force this behavior but no success. I also wondering
that is that an issue with ftp-proxy itself a some chnages has to be make
there.??


thanks for reply
dalgorno

Reply via email to