Hi,
sorry in advance for the bad english...
I would install some pkg in my freeNAS system (mkvtoolnix and openVPN). After read some docs and posts, I understand that they can be installed into the jail.
So from the jail:
After little research I discovered that from the jail I can ping anyone within the my subnet (my router, freeNAS main system, my pc) and viceversa, but I can't go out:
It seems that there is no default gateway (no default route), so I tried to do:
But after this nothing is changed.
Naturally from freeNAS main system I have no network problems.
Where am I wrong?
sorry in advance for the bad english...
I would install some pkg in my freeNAS system (mkvtoolnix and openVPN). After read some docs and posts, I understand that they can be installed into the jail.
So from the jail:
FreeNASJail# pkg_add -r mkvtoolnix
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/mkvtoolnix.tbz: No address record
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/mkvtoolnix.tbz' by URL
After little research I discovered that from the jail I can ping anyone within the my subnet (my router, freeNAS main system, my pc) and viceversa, but I can't go out:
FreeNASJail# ping www.google.it
ping: cannot resolve www.google.it: Host name lookup failure
FreeNASJail# cat /etc/resolv.conf
search CASA
nameserver 8.8.8.8
nameserver 208.67.222.222
FreeNASJail# netstat -r
netstat: kvm not available: /dev/mem: No such file or directory
Routing tables
rt_tables: symbol not in namelist
It seems that there is no default gateway (no default route), so I tried to do:
FreeNASJail# route add default 192.168.1.1
route: writing to routing socket: File exists
add net default: gateway 192.168.1.1: route already in table
But after this nothing is changed.
Naturally from freeNAS main system I have no network problems.
Where am I wrong?