Questions tagged [pf]

A stateful firewall program, common on BSD systems and also available on others.

Filter by
Sorted by
Tagged with
4 votes
1 answer
3k views

How to do IP masquerading on MacOS 10.14+?

I am looking for the equivalent Macos command to the linux: sudo iptables -t nat -A POSTROUTING -o en0 -j MASQUERADE The reason i want to do this is I have a VPN that has the default route, but i ...
horseyguy's user avatar
  • 269
1 vote
2 answers
3k views

PF firewall: How to disable all filtering on loopback interface EXCEPT specific port forwarding rules?

PF question on OS X Yosemite 10.10.4: I know that set skip on lo0 disables all filtering (nat and redirects) on lo0, but what if I need to save the httpd port forwarding rules on this interface while ...
drew1kun's user avatar
  • 2,137
0 votes
1 answer
2k views

Share internet as Bridge instead as a Router using PFCTL (OS X)?

I've got an Airport Time Capsule (TC) and a Macbook Air (MBA) and another PC. The MBA connects the TC wirelessly while the PC connects to the MBA with Ethernet cable. The problem: The MBA takes the ...
johni's user avatar
  • 2,434