mheily / jobd

A job management framework
Other
143 stars 15 forks source link

offer SOCKS proxy to allow jails to connect(2) #55

Open mheily opened 8 years ago

mheily commented 8 years ago

incoming jail networking is solved, but outbound jail networking is still a problem.

One solution is to run a SOCKS proxy on the host, and use something like the "tsocks" package to wrap the connect() system call.

Or, if wrapping is not desired, it may be possible to start a SOCKS proxy outside the jail and bind it to a port on the loopback interface in the jail.