Source code for https://ljs.dev
Log | Files | Refs

commit 476d5c1348a5ef363c7894b3e30c486ffc196dd1
parent 958c0dcf2dbfcdd9d484ccb3b8d27c3033024cb6
Author: Leon <leon@wp2static.com>
Date:   Sun,  1 Sep 2019 21:11:02 +0200

use pre for codeblocks

Msrc/openbsd/pf-simple-configuration.html | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/openbsd/pf-simple-configuration.html b/src/openbsd/pf-simple-configuration.html @@ -22,7 +22,7 @@ <p><i>Advice: be careful if you are adjusting pf rules for a server you only have remote access to. ie, apply changes temporarily while working, with a reboot script set in the not too distant future</i></p> -<textarea> +<pre> #/etc/pf.conf @@ -47,7 +47,7 @@ pass out on $ext_if proto udp all pass in on $ext_if proto tcp from any to any port $web_ports pass in on $ext_if proto tcp from any to any port $ssh_port -</textarea> +</pre> <p>For logging, there is an example on how to use tcpdump(8) in the pflog(4) man page. Blocking everything and then monitoring while testing out applications has worked well for me.</p>