Marc G. Fournier wrote:

> Does anyone know of any software that would allow a client attach a VPN *to* a
> process running within a FreeBSD jail from a Windows machine?

I believe you can sort-of do this with a certain amount of packet
redirection and firewall trickery, but it isn't very easy and you won't
be able to control anything to do with the VPN from within the jail. 
Essentially you do the old trick of creating the jail using an alias
address on the loopback, then add redirection rules in the firewall to
forward traffic to it.  If you need to create tap, tun of gif interfaces
to run the VPN software then that has to be done *outside* the jail, as
there's no simple way of making those interfaces visible inside it.

It doesn't help now, but there is work underway to make the whole
network stack clonable under FreeBSD -- meaning each jail gets the
ability to have as many IP numbers as it wants, and to have a separate
firewall from the host system and do all the other networking tricks
you can think of.



Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP:         Ramsgate
                                                      Kent, CT11 9PW

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to