[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] Multiple IP's



You can use a trick for this. My jails always get a private ip like 172.16.0.x, with ipnat I make whatever I like available to the public.

An example:

map net0 172.16.0.0/24 -> 0/32 proxy port 21 ftp/tcp
map net0 172.16.0.0/24 -> 0/32 portmap tcp/udp auto
rdr net0 213.123.123.100/32 port 3306 -> 172.16.0.190 port 3306
rdr net0 213.123.123.101/32 port 3306 -> 172.16.0.190 port 3307
rdr net0 213.123.123.102/32 port 3306 -> 172.16.0.190 port 3308

Günther


Matt Naismith schreef:

Hi,

Have been using ezjail successfully for some time but now have a need to run multiple IP’s in a single Jail.. I don’t see that there is any support for this in any release of FreeBSD ? Is anyone aware of any development on this front and if it will be incorporated into ezjail ?

Thanks.

Matt.