If you want to open gate for those, who authenticated using ssh, you may need authpf(8) (known as Authentication Gateway) https://www.openbsd.org/faq/pf/authpf.html
- Can SSH report successful connections to pf? Luke Small
- Re: Can SSH report successful connection... Tony Boston
- Re: Can SSH report successful connection... Kapfhammer, Stefan
- Re: Can SSH report successful connec... Andreas Kusalananda Kähäri
- Re: Can SSH report successful co... Luke Small
- Re: Can SSH report successful connec... Stuart Henderson
- Re: Can SSH report successful connec... Peter N. M. Hansteen
- Re: Can SSH report successful connection... IL Ka
- Re: Can SSH report successful connection... Etienne
- Re: Can SSH report successful connection... Lampshade