Freebsd jail setup: networking

From wikinotes

Test Network

By default, ping is not permitted within jail. Test using netcat

nc -z www.google.ca 80

Alternatively, configure jail to allow raw sockets

# /etc/jail.conf

yourjail {
  # ...
  allow.raw_sockets
}


Network Configurations

FreeBSD jails: networking: iface aliases jail.conf
FreeBSD jails: networking: vnet
FreeBSD jails: networking: iface aliases rc.conf