this post was submitted on 27 Jun 2023
2 points (100.0% liked)
OpenBSD
630 readers
5 users here now
General OpenBSD community!
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You may be able to do this by specifying a rule with a user. For example, say I connect to puffy.example.org with user
otl
:On the remote side, in pf.conf:
Untested. Curious to see what you come up with! See also pf.conf(5)
That's awesome, I didn't know you could filter by user ID ! I just tried and it works perfectly. I use the following:
This effectively blocks all outgoing connections for the given user (except DNS, as I want to allow forwarding DNS over SOCKS). Thanks a lot for the quick guidance !
No worries! I assume you’re the same z3bra who posted on /r/unixporn? If so answering your question quickly is the least I could do; your posts got me back into Linux/Unix for fun during university (studying medical science) in 2014. That got me a job in IT straight out of uni then into software dev. It’s been a wild ride the past 9 years living in both Australia and the Netherlands. So big, big thanks to you!
Yeah that's me, though that was a very long time ago haha. That's an awesome story, I could never guess simple posts like mines could be that much inspirational ^^ Thanks for sharing !