ljsdev-ssg

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

commit 958c0dcf2dbfcdd9d484ccb3b8d27c3033024cb6
parent 62336039ae24a808ec90ec4122d011426924ee23
Author: Leon <leon@wp2static.com>
Date:   Sun,  1 Sep 2019 21:09:38 +0200

use textarea for codeblocks

Diffstat:
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> -<code> +<textarea> #/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 -</code> +</textarea> <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>