Was trying to enable ping from within the jail created using sysutils/ezjail , however on a web search I was getting different ways of configuring the same parameters, which is confusing.
In, /usr/local/etc/ezjail/testjail1
The following did not work:
Then:
This worked:
https://forums.freebsd.org/threads/ping-from-inside-ezjail-failed.13272/
https://forums.freebsd.org/threads/cant-ping-from-jails.52508/
https://forums.freebsd.org/threads/ezjail-network.41666/
If this changed due to jail.conf then why can't the ezjail describe/notify about this?
It is frustrating just to spend time on making ping work.
Edit: My mistake in using the first option, the poster has a jail named shell, but I confused it with the shell of the jail.
In, /usr/local/etc/ezjail/testjail1
The following did not work:
Code:
export jail_shell_parameters="allow.raw_sockets=1"
Then:
Code:
export jail_testjail1_allow_raw_sockets="YES"
This worked:
Code:
export jail_testjail1_parameters="allow.raw_sockets"
https://forums.freebsd.org/threads/ping-from-inside-ezjail-failed.13272/
https://forums.freebsd.org/threads/cant-ping-from-jails.52508/
https://forums.freebsd.org/threads/ezjail-network.41666/
If this changed due to jail.conf then why can't the ezjail describe/notify about this?
It is frustrating just to spend time on making ping work.
Edit: My mistake in using the first option, the poster has a jail named shell, but I confused it with the shell of the jail.