#selfhosting #freebsd - day 5
My previous IPv6 woes were largely a sysadmin competence deficiency.
The FreeBSD forum had someone with the same issue - https://forums.freebsd.org/threads/ipv6-gateway-and-subnet-issue-on-vps-server.93750/
While that damned penguin is happy to add routes outside their subnet, beastie is more choosy about who they will communicate with. Just using the commands:-
route -6 add xxxx:xxxx:xxxx::1 -iface vtnet0
route -6 add default xxxx:xxxx:xxxx::1
...get us connected. So we need to add the route then set it as the default, hence this tweak to rc.conf - and if I enable the gateway too and my jails are publicly routable too.
ipv6_static_routes='default'
ipv6_route_default='xxxx:xxxx:xxxx::1. -iface vtnet0'
ipv6_defaultrouter='xxxx:xxxx:xxxx::1'
ipv6_gateway_enable=YES
So I can now bring up my first test jail. I'm using BastilleBSD as an orchestration tool - I could do them manually but I think I have enough to worry about.
The countdown continues...