ftpd in a jail

Emanuel Strobl Emanuel.strobl at gmx.net
Tue Sep 13 13:08:08 PDT 2005


Am Dienstag, 13. September 2005 12:03 CEST schrieb Dan Toganel:
> I have a ftpd server running in a jail and i want to
> redirect the ftp traffic from my real host to jail.
> I have already configured my traffic from 22 and 25 to
> jail with natd and ipfw, but isn't working for ftp.

You know about the data/control-channel split of ftp? Especially in active 
mode? You can't just redirect one port to get ftp working. Instead you 
have to use a transparent proxy which parses PASV commands, see pf or ipf, 
maybe IPFW has something similar.

-Harry

> And i set all security.jail.* to 1 , (except
> security.jail.jailed)
> How can it be done?
>
>
>
>
> ______________________________________________________
> Yahoo! for Good
> Donate to the Hurricane Katrina relief effort.
> http://store.yahoo.com/redcross-donate3/
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050913/f5559c60/attachment.bin


More information about the freebsd-questions mailing list