#bastillebsd — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #bastillebsd, aggregated by home.social.
-
Manpage Monday: bastille rdr
Redirect a host port straight to a jail. No hand-editing pf.conf.
Forward TCP traffic from host:80 to jail:80
> bastille rdr myjail tcp 80 80Bind the redirect to only a specific interface:
> bastille rdr -i vtnet0 myjail tcp 80 80Limit the redirect to a single source IP:
> bastille rdr -s 200.200.200.200 myjail tcp 80 80