Solved Jail. Ping to Host, Operation not permitted

I tried configure Jail subsystem. I do follows.

* Creating alias wlan0
ifconfig wlan0 alias 192.168.137.170 netmask 255.255.255.0

Ifconfig:
Code:
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
  ether 24:77:03:22:26:0c
  inet 192.168.137.171 netmask 0xffffff00 broadcast 192.168.137.255
  inet 192.168.137.170 netmask 0xffffff00 broadcast 192.168.137.255

* Creating the Jail:

ezjail-admin create www 192.168.137.171

Code:
root@komputer:~ # jls
  JID  IP Address  Hostname  Path
  1  192.168.137.171 test  /usr/jails/test

sysctl security.jail.allow_raw_sockets=1

I disable firewall, and log to test console, and I tried tu ping to Host:


Code:
root@test:~ # ping 192.168.137.170
ping: socket: Operation not permitted

What I am doing wrong, any body can help me?
 
Solved:
Code:
export jail_test_parameters="allow.raw_sockets allow.sysvipc"
into:
/usr/local/etc/ezjail/test

And I have one ore question. Is exist any possibility to log into Jail from "normal" user? Without root account? I do not know, export Xorg or something like that...
 
Back
Top