Join Nostr
2025-07-13 10:07:27 UTC
in reply to

Jana on Nostr: Progress! I managed to set the defaultrouter via the bastille_network_gateway ...

Progress! I managed to set the defaultrouter via the bastille_network_gateway parameter in the bastille.conf.

The generated inet parameters for dual stack are still wrong. According to a GitHub issue that's already fixed, but because I'm installing via pkg, my version is too old.
I have decided to just manually fix it for now. I don't wanna mess with ports on the host.

Then I had to slightly change my portacl config, because in a VNET jail I also need to set net.inet.ip.portrange.reservedhigh=0, but for that to work securelevel needs to be 0.
So now I set that in the jail.conf and raise it to 2 via rc.conf.

I re-added the rdr rules to the host pf.conf and that's working. Now I just need to configure the jails pf.conf. :3