2009/8/4 Ricardo Souza <[email protected]>:
> Só consegui fazer qd fiz o RDR na interface do tunel da VPN.
> Ajax# cat /etc/pf.conf|grep ftp
> nat-anchor "pftpx/*"
> rdr-anchor "pftpx/*"
> rdr pass on ng0 proto tcp from any to any port ftp -> 127.0.0.1 port 8021
> anchor "pftpx/*"

é isso mesmo.. o meu:

rdr on $All_IF_Ext proto tcp from any to \
   $IP_IF_Ext2 port 21 -> 127.0.0.1 port 8010
rdr on $All_IF_Int proto tcp from any to \
   $IP_IF_Ext2 port 21 -> 127.0.0.1 port 8010

rdr-anchor "pftpx/*"
nat-anchor "pftpx/*"
anchor "pftpx/*"


-- 
Marcelo Rossi
"This e-mail is provided "AS IS" with no warranties, and confers no rights."
-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Responder a