Questions tagged [firewall]

Typically software that runs to prevent network traffic from reaching a computer. Also a hardware device that works on a network level rather than running on a single computer.

359 questions
5
votes
2 answers

socketfilterfw and repeating error messages

Every two seconds I get the following messages via Console: Standard 13:47:41.404793 +0100 socketfilterfw MacOS error: -67065 Standard 13:47:41.405321 +0100 socketfilterfw UNIX error exception: 3 Standard 13:47:43.393518 +0100 …
4
votes
1 answer

How to unblock an application with socketfilterfw?

I am compiling a software from scratch and running its tests. I do this often. The tests open ports and expect connections. Whenever I run the tests, I get the Do you want the application “run-tests” to accept incoming network connections? …
4
votes
1 answer

Block port on all interfaces using PF

Trying to block incoming traffic on all interfaces to a specific local port on Mac OS X 10.11.15, including loopback. This is my /etc/pf.conf: scrub-anchor "com.apple/*" nat-anchor "com.apple/*" rdr-anchor "com.apple/*" dummynet-anchor…
Mike
  • 143
4
votes
5 answers

I'm trying to block game "X" from accessing the internet including updating

I'm using OS X El Capitan and I'm trying to prevent a game from accessing the internet including blocking it from checking for updates for the launcher or the game itself. I've gone into Security -> Firewall -> unlocked settings -> Firewall Options…
Sabon
  • 41
1
vote
1 answer

Why can't I remove this top entry in the firewall options?

I go into the System Preferences, Firewall, then Firewall Options. I can't select the "File Sharing (FTP)" entry to remove it. How can I? Update: I'm running OS X 10.7.5, and nothing is enabled in the Sharing preference pane. At some point I must…
Rob N
  • 1,660
1
vote
0 answers

How to open port 8080 on external interface?

I am running a server on port 8080, which I can access fine as localhost:8080 or 127.0.0.1:8080. However, assuming my IP address is 192.168.1.15, how can I access the port using 192.168.1.15:8080? The Mac firewall is disabled in System…
farhadf
  • 111
1
vote
1 answer

Why Is Hands Off Block Local Network Setting Greyed Out?

I'm trying to restrict an application's traffic using Hands Off not to be able to connect to servers on the Internet respectively to servers on the LAN. But the when I try to add such a rule, the "Local" and "Local (IPv6)" option is greyed out. Why?
bot47
  • 7,742
1
vote
1 answer

Murus firewall - redirect an ip to localhost web server

Edited to simplify question: using host file, we can redirect a domain (example.com) to localhost: 127.0.0.1 example.com How can we redirect an ip (for example 35.166.133.11) to localhost (web server port 80) using Murus firewall’s custom pf…
Basem
  • 113
1
vote
1 answer

How do I open a filtered port in pf?

I have opened a number of ports, and am familiar enough with pfctl, but even though I have opened various ports, then show up as "filtered" - which means of course that they are not open. How can I open them, or is it a function of having a suitable…
1
vote
1 answer

Firewall rules ambiguous?

In the stock OSX firewall settings I can add applications to the rules table, and then give them a red dot (block) or a green dot (allow). I've got 6 apps in the table. Some green some red. But what about the hundred other apps on my mac? Are they…
0
votes
1 answer

has apple removed pflog from packetfilter?

FreeBSD includes pflog as a way to analyze pf logs. I dont see a /var/log/pflog. Has MacOS removed the pflog and /var/log/pflog? Is it possible to enable this?
0
votes
1 answer

Can't access localhost server after pf redirect

After adding some pf rules to redirect certain egress traffic to a localhost server, I can't access that localhost server directly. I can access it through the redirect just fine though. I basically followed this answer and added the following…
phemmer
  • 101
0
votes
1 answer

Open firewall to run nginx

I need to access my computer running nginx on port 8080, but I do not want to turn off the firewall. I know that I can allow application to connect, but I can not figure this out with nginx. The binary is added to the "Firewall Options..." from…
Chris G.
  • 201
  • 1
  • 10
0
votes
1 answer

How to isolate apps from the internet?

Can I completely isolate apps on mac from the internet, without installing any additional software ? I need a sort of firewall to isolate them thanks
aneuryzm
  • 5,429