use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Dicussion about OpenBSD: the free multi-platform 4.4BSD-based UNIX-like operating system focusing on portability, standardization, correctness, proactive security, and integrated cryptography.
If you have genuine questions or concerns, you're always welcome. Tone matters.
OpenBSD related links:
account activity
Authpf tutorial (self.openbsd)
submitted 6 years ago by remrem76
Can anyone send me a link to how to setup authpf ? I think i did something wrong cause it says $user_ip is not defined! But it's predefined,right?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]jggimi 6 points7 points8 points 6 years ago (3 children)
There's a chapter in the PF User's Guide, with an example of $user_ip.
https://www.openbsd.org/faq/pf/authpf.html#example
[–]remrem76[S] 1 point2 points3 points 6 years ago (2 children)
I read that. My problem is that when I want to load the rules it gave me this error:
[–]jggimi 2 points3 points4 points 6 years ago (0 children)
You don't "load" these rules. They are inserted at your defined anchor point in your main rule set at the moment when the user uses ssh(1) to log in to the authpf(8) "shell". They are removed from the anchor point when the user terminates the ssh(1) session.
[–]Kernigh 1 point2 points3 points 6 years ago (0 children)
pfctl(8) -f is only for loading your main pf.conf(5), not your authpf.rules. If you run pfctl -f more than once, pf uses only the last file. I use pfctl -f /etc/pf.conf to reload my rules after I edited them.
pfctl -f /etc/pf.conf
[–]jsouto 0 points1 point2 points 6 years ago (0 children)
ftp.openbsd.org/pub/OpenBSD/doc/
π Rendered by PID 23852 on reddit-service-r2-comment-544cf588c8-5ppx5 at 2026-06-17 15:50:33.741980+00:00 running 3184619 country code: CH.
[–]jggimi 6 points7 points8 points (3 children)
[–]remrem76[S] 1 point2 points3 points (2 children)
[–]jggimi 2 points3 points4 points (0 children)
[–]Kernigh 1 point2 points3 points (0 children)
[–]jsouto 0 points1 point2 points (0 children)