[nycbug-talk] FreeBSD jail source IPs

Brian Cully bcully at gmail.com
Mon Nov 30 10:42:14 EST 2009


On 30-Nov-2009, at 09:56, John Baldwin wrote:
> On Saturday 28 November 2009 2:55:46 am Charles Sprickman wrote:
>> Howdy,
>> 
>> Quick one...  With the new multi-IP functionality in jails, is there any 
>> way to specify which IP will be used to originate connections inside the 
>> jail?  From what I can see, the lowest numbered IP seems to get assigned 
>> as the origination IP...
> 
> It should use the first IP address you specify for the jail as the default IP 
> for any outgoing connections that are not on a directly accessible network.

	This can be controlled in code by binding to a port and IP address, then using that socket to send your data. Some programs have options for this for various reasons.

-bjc


More information about the talk mailing list