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.

Filter by
Sorted by
Tagged with
1
vote
2answers
1k views

How to block everything except my connection to the VPN?

I'm trying to make Murus block everything, except my connection to the VPN server. I don't want my Mac to make any outbound calls to any ports unless via the VPN connection. I'm trying to add a rule ...
1
vote
1answer
34 views

Blocked websites on macOS host but not on Win7 virtual machine

In China there in the Great Firewall which blocks i.e. youtube. Fortunately in my university in China someway they provide access to youtube, so students can use youtube by means of campus wifi. I ...
1
vote
1answer
128 views

Several applications trying to connect to IP

I have several applications on my computer which are attempting to connect to a small hand-full of IPs over port 80(http). This seems suspect to me and I'm not sure how to proceed. Currently I am ...
2
votes
1answer
586 views

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-...
2
votes
0answers
237 views

How to prevent “Do you want the application foo to block incoming connections?” popup from command line

As a developer, I run a testsuite of some self-compiled binaries which try to listen on some ports on startup. This causes a barrage of popups "Do you want the application foo to block incoming ...
1
vote
1answer
320 views

use `pf` to allow TCP traffic on specific port (from specific subnet)

So, I've read various posts about how to use both the Application Firewall (apf or socketfilterfw) and the Packet Filter (pf) at the same time. I thought this would be straightfoward since I'm not a ...
-3
votes
1answer
393 views

Who is trying to use the Stealth Mode as reported in Console

I found following in my Console on MBA 10.13 Stealth Mode connection attempt to UDP 192.168.0.12:52734 from 8.8.8.8:53 Stealth Mode connection attempt to UDP 192.168.0.12:57880 from 8.8.8.8:53 ...
2
votes
0answers
23 views

Getting notification when firewall settings have changed

I'm using packet filter engine to setup my Firewall connection. However, there might be other entities that may override my firewall settings on the same way (processes running with 'root' privileges ...
3
votes
2answers
2k views

Mojave install crashes after power on login

I have a mid 2012 MBA (4GB ram, 128GB SSD) that I have upgraded from High Sierra to Mojave 10.14. the upgrade finished successfully. When I power on I am presented with the initial logon screen, and ...
0
votes
0answers
130 views

Passing L2TP over IPSec VPN through a `pf` Firewall

I am trying to set up some custom firewall rules in the pf firewall in macOS (10.11 in this case). These are traditional network-based rules, not application-specific rules. I'm having some issues: ...
2
votes
1answer
130 views

How can I reconfigure my PF.conf to be more secure

I want to make my computer more secure and a part of it I want to do with reconfiguring my PF firewall. How can I reconfigure my PF.conf to be more secure? I made a github repo where I posted my ...
2
votes
0answers
535 views

How can I block all ports with PF except port 80 and 443?

How can I block/close (or drop all the packets coming from) all ports with PF except TCP port 80 and TCP 443? So I only want to make use of port 80 and 443 via TCP. I tried this, but I receive an ...
1
vote
2answers
601 views

Firewall on. I blocked IP 93.184.220.29 with PF but it still popsup in netstat -n

The firewall is on. I blocked IP 93.184.220.29 with PF but it still popsup in netstat -n. How is that possible? jen:~ jen$ sudo pfctl -t blockedips -T show Password: No ALTQ support in kernel ALTQ ...
1
vote
0answers
59 views

How do I unblock vm from firewall?

How do I accept anything from my virtual machine (named vagrant). Tried to add this row in the /etc/pf.conf: pass in from 192.168.10.11 to 192.168.10.1 where .11 is the vm and the .1 is the host. ...
1
vote
1answer
515 views

Is the firewall really pfctl, or another instance of pfctl?

I was mucking around with pfctl a while back, didn't get very far and forgot about it. Yesterday, I couldn't ssh into a remote machine. I disabled the firewall in system preferences but still had the ...
2
votes
1answer
1k views

pfctl to add rules at runtime WITHOUT editing /etc/pf.conf?

I have an app that (while it is running and only while it is running) needs to make changes to the packet filter (pf) so that it blocks or allows certain traffic. These rules should be in addition to ...
2
votes
0answers
606 views

Blocking Incoming Connections to Open Port Daemons

OS: macOS 10.13.5 High Sierra; HW: Mid-2010 MacBookPro7,1 13” 2.66GHz Core 2 Duo I am interested in blocking incoming connections to Apple’s two persistent daemons with internet-facing open ports—...
1
vote
1answer
209 views

FTP Issues on MacOS, can't write on the disk

I'm developing a website for a client, but some space of the server we will be used to transfer large files of softwares like Maya Autodesk (my client working with 3D modeling). I'm trying to ...
4
votes
1answer
265 views

How to allow the “Word of the Day” screen saver to fetch the words with LittleSnitch?

A friend of mine (not on StackEchange) has used LittleSnitch to explicitly disallow Internet access for every process/app that attempted to access the Internet except the ones he actually needs to do ...
4
votes
0answers
92 views

How do I prevent Apple Remote Desktop broadcasting over a specific network interface?

I have two active network interfaces on my machine connected to two different subnets. I run Apple Remote Desktop Admin to administer hosts on only one of the two subnets. How do I restrict Apple ...
1
vote
1answer
646 views

pf.conf to block *only* a specific IP address when VPN is not connected

I'm trying to configure a packet filter firewall to block access to a small range of IP addresses when a VPN is not connected. My rules should allow https/http traffic apart from this small, specific ...
6
votes
2answers
42k views

Apple USB Ethernet Adapter has a self-assigned IP address and will not be able to connect to the Internet

Cannot connect MacBook Pro (Retina, 15-inch, Mid 2015) (10.13.3) to the internet through my Apple USB Ethernet Adapter. I am receiving this error under System Preferences/Network: "Apple USB Ethernet ...
2
votes
0answers
858 views

Captive portal on MacOS

I want to implement a basic captive portal. For the test setup, I have a mac mini connect to wifi (192.168.1.1) and ubuntu laptop connected to it via lan. What I am trying to achieve is for the the ...
2
votes
1answer
983 views

OS X Firewall blocking external connections to NGinx Docker container

I have an Docker container running NGinx on a macOS High Sierra machine behind a corporate firewall that cannot be disabled. The container is unable to be accessed externally from other machines on ...
4
votes
1answer
908 views

Redirect Local Port through bridge to Internet Shared static IP

I have my cable modem (10.0.0.1) to my iMac (10.0.0.36), and my iMac (10.0.0.36) with a (bridge100 192.168.2.1) Internet Shared IP to my debian machine (192.168.2.34), and all of that is working ...
6
votes
1answer
5k views

pfctl - howto add an anchor and make it active / load it

So i can add an anchor to the already enabled firewall by doing something like this: $ pfctl -a anchor_name -f /etc/anchor_rules.txt the file "anchor_rules.txt" might contain something like this: ...
2
votes
0answers
378 views

Block internet/network access to a specific application, or just to launch an application?

We have a legacy application which tries to force login at startup - but the server is not accessible. If there is no internet it just skips login (talk about security). I have ethernet so I'm after ...
2
votes
0answers
79 views

PHP mail not sending (possible macOS Server or Firewall issue?)

This is a relatively complex problem and LONG description, so bear with me. Please ask questions in the comments if you think I can clarify something. I am hosting multiple websites on a single ...
4
votes
1answer
547 views

Murus internet sharing not working

I have Murus 1.4.12 and am following the directions to share my internet connection from en0 (static IP connected to Comcast modem/router) through en3. Both the client and server are macOS High ...
0
votes
1answer
48 views

Hardware Router For macOS [closed]

I "think" I understand that all firewalls are software. However, I am splitting the monthly internet bill with a roommate who has the ISP modem/router in his room. I would like add (if possible) more ...
4
votes
1answer
3k views

macOS packet filter (port forwarding)

I am trying to redirect the outbound traffic to destination port 80 to the local proxy port 127.0.0.1:8080 without success /etc/pf.anchors/com.forwarding rdr pass inet proto tcp from any to any port ...
7
votes
4answers
2k views

How to launch pf at startup?

I am looking for a pretty elegant way to launch the pf - a.k.a. Packet Filtering - process at startup. Using the launchctl or the pfctl commands, root privileges are required and so it is useless to ...
0
votes
1answer
3k views

What is the loopback interface lo0 on Macs?

What is the loopback interface lo0 on Macs? What's the use of it? Does it have any vulnerabilities?
6
votes
1answer
769 views

How to open port 9150 on a Mac so external devices can connect to it?

On Localhost I can access and connect to port 9150, but on another devices on the network it cannot see the port and cannot connect to it. I've checked and there is no firewall on the network ...
2
votes
1answer
2k views

Application Firewall is not enabling pfctl

I have a development environment that uses the Pow webserver. When I initially set it up, it automatically reconfigured the firewall to allow me to connect to my_project_name.dev urls. Last time I ...
3
votes
0answers
40 views

How to avoid OS X downloading things while using tethering [duplicate]

When on the road, I would like to use my phone's LTE connection and tether it to my macbook. However, I do not have an unlimited data plan, so I don't want the mac to download a bunch of stuff (OS X ...
2
votes
1answer
3k views

ARDAgent.app - what is it?

I sign into a few different email accounts for different family members and I have a few. Im not sure if that is how it happened but What is ARDAgent.app? I found it as being allowed in my Security ...
3
votes
1answer
3k views

Port Forwarding on Mac Pro with macOS Sierra

I would like to port forward from my macOS Sierra computer with IP address of 152.1.2.3 to my NAS which is 192.168.2.3. Specifically I would like to access the HTTP web server on my NAS at 192.168.2.3/...
1
vote
1answer
91 views

Filter out ARP query from given ether:ip

Let's say on my network there is a hacker who floods my computer with arp messages to associate his MAC address with the IP of the computer I want to reach. It's like he sends the following message ...
3
votes
1answer
6k views

How to Connect a router to console, using a mac

I just purchased a non-Apple router (a pfSense SG-1000 device by Netgate). As a contingency plan in the event I would forget my web interface password, to then save my bacon, I want to be able to ...
4
votes
1answer
904 views

Logging MacBook firewall is empty

I have enabled the built-in firewall on my MacBook (Sierra v10.12.1), but unfortunately the log files located in /var/log (appfirewall.log and alf.log) stay empty. I contacted Apple Support but they ...
2
votes
1answer
103 views

Should I let malwaredomainlist.com connect to the net?

I am getting Little Snitch alerts for Firefox trying to connect to the malwaredomains.com with the IP-address 76.63.222.170. I have blocked the connection, but I wonder why Firefox needs to connect to ...
2
votes
0answers
635 views

Why can't I access HTTPS sites through my iPhone's hotspot?

I can access HTTP and HTTPS sites from the iPhone without any problems. However, when I use the iPhone as a hotspot and connect my laptop to the it, I can't access HTTPS sites from the laptop. It's ...
1
vote
1answer
893 views

Can using Little Snitch make my mac Less Secure than its “out of the box” settings?

Short Question Im thinking about configuring little snitch to allow all processes incoming and outgoing network traffic. By allowing "any process” incoming / outgoing rights will this make my Mac ...
1
vote
1answer
901 views

How to permanently block all incoming connections in the macOS firewall?

I have the default macOS firewall enabled with stealth mode and block all incoming connections option set. And I have it locked. But after a while, the firewall is in green state with selective ...
8
votes
2answers
70k views

How to open a port in macOS Sierra 10.12.4

I'm running macOS Sierra 10.12.4 and am trying to open a port (12345). I can't use the GUI firewall tool as it's app specific, not port specific. I have tried the following this article, but it did ...
2
votes
1answer
91 views

Apple Software Update behind Websense

I'm trying to keep Mac OS X updated behind an ancient Websense (pre-Cisco websense.com) and corporate IT won't play along. To anything other than Windows, Websense appears as a man-in-the-middle. So, ...
2
votes
1answer
89 views

How can I block iOS 10 Notifications

It seems that I can not find a solid answer on this. Currently, I've tried this... Using my NetGear Genie, I went to security and blocked the keywords/domains of: https://mesu.apple.com https://...
3
votes
1answer
10k views

Command Line Firewall

I have decided to add a firewall to my computer and have heard of applications such as 'Little Snitch' which help to give me control of inbound and outbound connections on my mac running macOS Sierra. ...
5
votes
1answer
797 views

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 ...