Hi, i am have problems with connections ftp; i.e from my browser (iexplorer 6/sp1), 
loading url 
http://h20000.www2.hp.com/bizsupport/CoreRedirect.jsp?targetPage=ftp://ftp.hp.com/pub/softlib/software2/COL1032/lj-1230-3/lj1000hostbased-en.exe
     or connecting to ftp://ftp.pcchips.com.tw/modem/amr_cnr.zip

display this messages in the pf box:

Jan 27 10:03:41 fire1 ftp-proxy[32460]: connect() failed (No route to host)
Jan 27 10:03:45 fire1 ftp-proxy[22610]: connect() failed (No route to host)

My rules is thus:

## nat ##
nat on $if_wan from $red_lan to any -> $ips_pool_nat

## redirection ##
rdr on $if_lan proto tcp from $red_lan to any port ftp -> 127.0.0.1 port 8021

## free access in local interface
pass in quick on lo0
pass out quick on lo0

## free access in lan interface ##
pass in quick on $if_lan from $red_lan to any
pass out quick on $if_lan from any to $red_lan

## access to internet ##
pass out on $if_wan proto tcp from $ips_pool_nat to any port 21 keep state flags S/SA

## data-back ftp ##
pass in on $if_wan proto tcp from any to $if_wan user proxy keep state flags S/SA
-- 
_______________________________________________
Get your free email from http://mymail.bsdmail.com

Powered by Outblaze

Reply via email to