Skip to main content

Questions tagged [pf]

pf (Packet Filter) is the TCP/IP packet filtering firewall subsystem on BSD systems.

0 votes
1 answer
126 views

On FreeBSD I'm trying to block bruteforce attempts via ssh with pf on port 22 using this rule: table <bruteforce> persist pass log inet proto tcp from any to any port 22 flags S/SA keep state \ ...
Rekcah's user avatar
  • 11
0 votes
1 answer
158 views

I have several interfaces, one of them urndis0 is an external USB modem. I want that only root could use it (i.e send packages through it), while other users would be unable to do so. How to do it?
andreoss's user avatar
  • 220
1 vote
1 answer
97 views

I previously worked with a large organization that employed BSD for secure control over public access to their internal network. The approach involved users establishing authenticated SSH connections ...
ivzhh's user avatar
  • 161
1 vote
0 answers
123 views

I have a handful of kafka brokers running locally on my laptop and I'd like to "cut the network" between 2 brokers to test a few things. Is it possible? I'm on a Mac. I see that iptables was ...
Thomas's user avatar
  • 953
0 votes
1 answer
2k views

I would like to set up a simple forward rule (not port forward!) on FreeBSD 12.3 that filters based on received-on interface and going-out-on interface. IP networks should not be part of the rule as ...
gertvdijk's user avatar
  • 14.6k
4 votes
1 answer
603 views

Suppose I am logged into a server via ssh. While in the session, I change the firewall config to block all traffic. When I tried this previously with FreeBSD and pf, the current connection was broken. ...
ahron's user avatar
  • 434
2 votes
1 answer
585 views

I am unable to make port 80 available on the WAN and I am not sure why. My setup is just my home network acting as the wan and my ‘lab’ as the lan. Wan 192.168.0.0/24 and lan is 192.168.5.0/24. Router ...
asdfagain's user avatar
3 votes
0 answers
561 views

When routing traffic between (virtual) interfaces on Ubiquiti EdgeRouter Lite it is hitting some sort of limit. I'd like to get some help to determine what sort of limit is that and how it can be ...
Vlad's user avatar
  • 163
-1 votes
1 answer
2k views

I am currently setting up an OpenBSD firewall, router, and dns server. I've been following various guides online with the bulk of my configuration coming from the OpenBSD site and the pf configuration ...
user avatar
0 votes
1 answer
236 views

I'm currently working with Packet Filter on Solaris machine, trying to create a rule that would filter out all ICMP packets of particular type and code. Here is my rule line: block out quick proto ...
zlatonick's user avatar
  • 159
0 votes
1 answer
893 views

I am trying to make a NAT interface to connect tap0 to the internet for QEMU. So far I've made a bridge and connected tap0 to it: sudo ifconfig bridge1 create sudo ifconfig bridge1 addm tap0 sudo ...
user524818's user avatar
1 vote
2 answers
1k views

I build a server (vps) which play the role of my gateway. My whole personal network is connected behind through wireguard. Every think works well, I follow more or less https://openbsdrouterguide.net ...
Airwan's user avatar
  • 81
0 votes
0 answers
690 views

My router's IP address layout is as follows, anonymized to protect my network's privacy: 11.22.33.44 IPv4 WAN address 192.168.42.1 IPv4 LAN ...
robbie's user avatar
  • 113
1 vote
1 answer
95 views

I freshly install openBSD on a VPS. It is my first time. I did nothing but check the firewall setup, say pf. I ran pfctl -sa and it show all tcp IP0:22 <- IP1:rnd ESTABLISHED:ESTABLISHED all tcp ...
Airwan's user avatar
  • 81
0 votes
1 answer
103 views

I'm using pf: https://www.openbsd.org/faq/pf/config.html, as a firewall on my router. I would like to implement a time of day filter in pf if that is possible so that I wouldn't need to script it ...
Walter's user avatar
  • 1,274

15 30 50 per page
1
2 3 4 5 6