Re: Configuring network without ezjail

2015-12-13 Thread Michael B. Eichorn
On Sun, 2015-12-13 at 18:54 +, marcel wrote: > > On 13/12/2015 14:14, Michael B. Eichorn wrote: > > On Sun, 2015-12-13 at 05:45 +, marcel wrote: > > > On 12/12/2015 02:59, Michael B. Eichorn wrote: > > > > On Fri, 2015-12-11 at 21:44 -0500, Michael B. Eichorn wrote: > > > > > On Sat, 2015-

Re: Configuring network without ezjail

2015-12-13 Thread marcel
On 13/12/2015 07:50, Sami Halabi wrote: > > hi, > I think you need to configure the ip in the host first kater it'll be > seen in the jail. > > using rf 1918 addreses means you need NAT in your router to have > access the internet. > rather than that using the term 'routing' is incorrecg unless

Re: Configuring network without ezjail

2015-12-13 Thread marcel
On 13/12/2015 06:07, James Gritton wrote: > On 2015-12-12 23:18, marcel wrote: >> On 12/12/2015 18:10, James Gritton wrote: >>> On 2015-12-11 18:50, marcel wrote: No I don't get to have an IP address... Yet I have writed this in my host's rc.conf: jail_enable="YES" jail_l

Re: Configuring network without ezjail

2015-12-13 Thread marcel
On 13/12/2015 14:14, Michael B. Eichorn wrote: > On Sun, 2015-12-13 at 05:45 +, marcel wrote: >> On 12/12/2015 02:59, Michael B. Eichorn wrote: >>> On Fri, 2015-12-11 at 21:44 -0500, Michael B. Eichorn wrote: On Sat, 2015-12-12 at 02:08 +, marcel wrote: > ... and I think I have e

Re: Configuring network without ezjail

2015-12-13 Thread Michael B. Eichorn
On Sun, 2015-12-13 at 05:45 +, marcel wrote: > > On 12/12/2015 02:59, Michael B. Eichorn wrote: > > On Fri, 2015-12-11 at 21:44 -0500, Michael B. Eichorn wrote: > > > On Sat, 2015-12-12 at 02:08 +, marcel wrote: > > > > ... and I think I have enabling gateway, I wrote thins in both > > > >

Re: Configuring network without ezjail

2015-12-12 Thread Sami Halabi
hi, I think you need to configure the ip in the host first kater it'll be seen in the jail. using rf 1918 addreses means you need NAT in your router to have access the internet. rather than that using the term 'routing' is incorrecg unless you have multiple hops to get the packets to the router.

Re: Configuring network without ezjail

2015-12-12 Thread James Gritton
On 2015-12-12 23:18, marcel wrote: On 12/12/2015 18:10, James Gritton wrote: On 2015-12-11 18:50, marcel wrote: No I don't get to have an IP address... Yet I have writed this in my host's rc.conf: jail_enable="YES" jail_list="thename" jail_guantanamo_rootdir="thepath" jail_guantanamo_hostname=

Re: Configuring network without ezjail

2015-12-12 Thread marcel
On 12/12/2015 18:10, James Gritton wrote: > On 2015-12-11 18:50, marcel wrote: >> No I don't get to have an IP address... Yet I have writed this in my >> host's rc.conf: >> >> jail_enable="YES" >> jail_list="thename" >> jail_guantanamo_rootdir="thepath" >> jail_guantanamo_hostname="thename" >> ja

Re: Configuring network without ezjail

2015-12-12 Thread marcel
On 12/12/2015 02:59, Michael B. Eichorn wrote: > On Fri, 2015-12-11 at 21:44 -0500, Michael B. Eichorn wrote: >> On Sat, 2015-12-12 at 02:08 +, marcel wrote: >>> ... and I think I have enabling gateway, I wrote thins in both of >>> my >>> rc.conf (jail and host): >>> >>> gateway_enable="YES"

Re: Configuring network without ezjail

2015-12-12 Thread James Gritton
On 2015-12-11 18:50, marcel wrote: No I don't get to have an IP address... Yet I have writed this in my host's rc.conf: jail_enable="YES" jail_list="thename" jail_guantanamo_rootdir="thepath" jail_guantanamo_hostname="thename" jail_guantanamo_ip="192.168.0.12" and I use the command: jail thepa

Re: Configuring network without ezjail

2015-12-11 Thread Michael B. Eichorn
On Fri, 2015-12-11 at 21:44 -0500, Michael B. Eichorn wrote: > On Sat, 2015-12-12 at 02:08 +, marcel wrote: > > ... and I think I have enabling gateway, I wrote thins in both of > > my > > rc.conf (jail and host): > > > > gateway_enable="YES" > > > > Is it correct ? > > You only need gateway

Re: Configuring network without ezjail

2015-12-11 Thread Michael B. Eichorn
On Sat, 2015-12-12 at 02:08 +, marcel wrote: > ... and I think I have enabling gateway, I wrote thins in both of my > rc.conf (jail and host): > > gateway_enable="YES" > > Is it correct ? You only need gateway_enable if you are doing routing, it is not necessary for a typical jail setup. Mos

Re: Configuring network without ezjail

2015-12-11 Thread marcel
... and I think I have enabling gateway, I wrote thins in both of my rc.conf (jail and host): gateway_enable="YES" Is it correct ? But I don't think I have DNS problems, my host correctly access to the internet and the resolv.conf of my jail and my host are same... On 12/12/2015 01:50, marcel w

Re: Configuring network without ezjail

2015-12-11 Thread Dirk Engling
On 12.12.15 02:50, marcel wrote: > No I don't get to have an IP address... Yet I have writed this in my > host's rc.conf: > > jail_enable="YES" > jail_list="thename" > jail_guantanamo_rootdir="thepath" > jail_guantanamo_hostname="thename" > jail_guantanamo_ip="192.168.0.12" Well, what you write i

Re: Configuring network without ezjail

2015-12-11 Thread marcel
... And I think I have enabling gateway: I have writed this in both of the rc.conf: gateway_enable="YES" Is it correct ? But I don't think I have DNS problem, my host correclty accessed to internet and the resolv.conf of my jail is the same as the resolv.conf of my host... On 11/12/2015 23:31,

Re: Configuring network without ezjail

2015-12-11 Thread marcel
No I don't get to have an IP address... Yet I have writed this in my host's rc.conf: jail_enable="YES" jail_list="thename" jail_guantanamo_rootdir="thepath" jail_guantanamo_hostname="thename" jail_guantanamo_ip="192.168.0.12" and I use the command: jail thepath thename 192.168.0.12 /bin/csh to

Re: Configuring network without ezjail

2015-12-11 Thread Dirk Engling
On 12.12.15 01:19, marcel wrote: > I would like to know if it is possible to configure a jail's network for > accessing to the World Wide Web but without ezjail ? > I have created my jail without ezjail (mkdir jail, make installworld, > etc...) and I would like to continue without it if it's possi

Configuring network without ezjail

2015-12-11 Thread marcel
Hello everybody, I would like to know if it is possible to configure a jail's network for accessing to the World Wide Web but without ezjail ? I have created my jail without ezjail (mkdir jail, make installworld, etc...) and I would like to continue without it if it's possible... Thanks, marcel _