Hi, Here my version of OpenBSD: ============== # uname -aOpenBSD boo.org 3.7 GENERIC#50 i386==============
The following configuration of the pf.conf (all is showerd here, no more rules): ============== ext_if="ne3"int_if="rl0" nat on $ext_if from 192.168.1.0/24 -> ($ext_if) rdr on $int_if proto tcp from any to any port 21 -> 127.0.0.1 port 8021 ============== ne3 is connected to the Internet and rl0 is the local interface. inetd.conf (only one that are activated is showed): ========= 127.0.0.1:8021 stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy -n My workstation is on 192.168.1.50 When I'm trying to ftp any server in the world, it doesn't work when I try to list some files. I did a tcpdump -i lo0 port 8021 on the server and I don't see any traffic at all. Also, I can see from sniffing on port 21 that the local IP is still used in PORT command. In other words, the IP address isn't translated by the FTP-PROXY. But, I can see ftp-proxy in the process list (with ps command) when I use the FTP command. Also, port 8021 is in mode LISTEN: =================== # netstat -an |grep 8021tcp 0 0 127.0.0.1.8021 *.* LISTEN Status of PF: ================ # pfctl -s natnat on ne3 inet from 192.168.1.0/24 to any -> (ne3) round-robinrdr on rl0 inet proto tcp from any to any port = ftp -> 127.0.0.1 port 8021 # pfctl -s rules# I followed all rules in the man pages and I can't see what I did wrong. Thank you for your help in advance, Eric _________________________________________________________________ If you like crossword puzzles, then you'll love Flexicon, a game which combines four overlapping crossword puzzles into one! http://g.msn.ca/ca55/208

