Hi,
I've got FreeBSD 15.1-RELEASE on a host and running Bastille with the non-VNET type jails (using bastille0 cloned from lo1). I'm using a RFC1918 range different from my internal LAN for the IPv4 side of the jails, and for IPv6, I generated a Unique Link Local address (ULA) for the jail. The jail runs unbound for DNS resolution so I wanted it to respond on both IPv4 and IPv6 because my ISP is dual stack as well.
When I start up the jail with bastille, it complains with:
However, it still comes up and it responds. (I have unbound listening on port 5353 and bastille port redirection of 53 on the host to go to the jail on port 5353 as seen above. It's listening on igc0 which is the host's ethernet port and wg0, a wireguard interface.)
All of it's working OK for me, but I'm puzzled over the "route: route has not been found" message.
Here's the jail.conf:
In /usr/local/etc/bastille/bastille.conf I don't have bastille_network_gateway or
bastille_network_gateway6 set. (It's just set to "")
Is there a way to get rid of this "route: route has not been found" message? Since I'm just using a single ULA for the jail, there really isn't a gateway per se. Would I set a ipv6 gateway of the host or my router?
Thanks!
I've got FreeBSD 15.1-RELEASE on a host and running Bastille with the non-VNET type jails (using bastille0 cloned from lo1). I'm using a RFC1918 range different from my internal LAN for the IPv4 side of the jails, and for IPv6, I generated a Unique Link Local address (ULA) for the jail. The jail runs unbound for DNS resolution so I wanted it to respond on both IPv4 and IPv6 because my ISP is dual stack as well.
When I start up the jail with bastille, it complains with:
Code:
[unbound]:
route: route has not been found
unbound: created
IPv4 tcp/53:5353 on igc0,wg0
IPv6 tcp/53:5353 on igc0,wg0
IPv4 udp/53:5353 on igc0,wg0
IPv6 udp/53:5353 on igc0,wg0
However, it still comes up and it responds. (I have unbound listening on port 5353 and bastille port redirection of 53 on the host to go to the jail on port 5353 as seen above. It's listening on igc0 which is the host's ethernet port and wg0, a wireguard interface.)
All of it's working OK for me, but I'm puzzled over the "route: route has not been found" message.
Here's the jail.conf:
Code:
unbound {
enforce_statfs = 2;
devfs_ruleset = 4;
exec.clean;
exec.consolelog = /var/log/bastille/unbound_console.log;
exec.start = '/bin/sh /etc/rc';
exec.stop = '/bin/sh /etc/rc.shutdown';
host.hostname = unbound;
mount.devfs;
mount.fstab = /usr/local/bastille/jails/unbound/fstab;
path = /usr/local/bastille/jails/unbound/root;
securelevel = 2;
osrelease = 15.1-RELEASE-p2;
ip4.addr = bastille0|10.99.0.2;
ip6.addr = bastille0|fd8f:5898:8b34:0::1/128;
}
In /usr/local/etc/bastille/bastille.conf I don't have bastille_network_gateway or
bastille_network_gateway6 set. (It's just set to "")
Is there a way to get rid of this "route: route has not been found" message? Since I'm just using a single ULA for the jail, there really isn't a gateway per se. Would I set a ipv6 gateway of the host or my router?
Thanks!