Hi, Im working with a new type of network config for my jails that ive never used before, and am getting some interesting functionality from it. so, the jail is able to ping some things such as 1.1.1.1, 8.8.8.8 and 8.8.4.4, as well as the local networks and all that. But it cant ping domains, and cant install packages . :
Im really lost as to whats causing this issue, ill provide some of my config files and maybe someone will have an idea lol.
Hosts rc.conf:
So, the firewall here isnt being used i dont think, i say i dont think because i wasnt the one who set it up, however im getting the same functionality if its enabled or disabled anyways.
host jail.conf:
Jails rc.conf:
jails resolv.conf:
I think thats all the relivent stuff, if you think you may be able to help just let me know if you would need to see any extra files. thanks.
Code:
root@myjail3:/ # ping google.com
ping: Unknown host
Im really lost as to whats causing this issue, ill provide some of my config files and maybe someone will have an idea lol.
Hosts rc.conf:
Code:
ifconfig_vmx1="inet 10.8.0.31 netmask 255.255.255.0"
ifconfig_vmx2="inet 10.1.0.148 netmask 255.255.255.0"
ifconfig_vmx3="inet 10.40.0.15/24"
ifconfig_ngeth0="inet 10.8.0.41 netmask 255.255.255.0"
defaultrouter="10.8.0.1"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
gateway_enable="YES"
natd_enable="YES"
zfs_enable="YES"
jail_enable="YES"
ezjail_enable="YES"
# firewall_enable="NO"
# firewall_type="open"
# firewall_nat_enable="YES"
# firewall_script="/etc/rc.firewall"
natd_interface="vmx1"
cloned_interfaces="bridge0 lo1"
ifconfig_bridge0="inet 10.8.0.40 netmask 255.255.255.0"
So, the firewall here isnt being used i dont think, i say i dont think because i wasnt the one who set it up, however im getting the same functionality if its enabled or disabled anyways.
host jail.conf:
Code:
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.clean;
mount.devfs;
myjail3 {
path = /usr/local/jails/myjail3;
host.hostname = myjail3;
vnet;
vnet.interface = ngeth1;
allow.raw_sockets;
interface = ngeth0;
}
Jails rc.conf:
Code:
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
ifconfig_ngeth1="inet 10.8.0.35 netmask 255.255.255.0"
defaultrouter="10.8.0.40"
jails resolv.conf:
Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
I think thats all the relivent stuff, if you think you may be able to help just let me know if you would need to see any extra files. thanks.