PF Access server only over WireGuard

Hi.

I set up a VPS with PhotoPrism in a jail. I want to allow access to PhotoPrism only over WireGuard. What are the correct rules for pf? WireGuard is on 10.0.1.x and my jail is on 10.0.0.x.

Thanks
 
There are several threads on how to do it. You will need create a redirection for said port, e.g. port 2223 for ssh@photoprism jail while port 22 or 2222 is for the host ssh port.
 
See


There are several others; dig!
 
Back
Top