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

OSX Firewall 10.11 keeps getting turned off

For some time, several months at least, my inbuilt Firewall (OSX 10.11.x Application Level Firewall as available via Security and Privacy Preferences) keeps on getting turned off. It will be on for "...
4
votes
1answer
598 views

All HTTP requests get ERR_CONNECTION_REFUSED, HTTPS works - How to troubleshoot?

Trying to open a http website on any web browser (event telnet) gives a ‘ERR_CONNECTION_REFUSED’ or ‘connection timed out’. However, the same sites can be opened using https. I tried doing a ...
5
votes
1answer
867 views

Which built-in tools do Little Snitch-like applications rely on?

Little Snitch is a well-known piece of software that allows Mac users to block outgoing connexions from a specific app. Now, whenever I ask how to do the same with built-in OS X tools, I get an ...
16
votes
4answers
28k views

What is the “akd” process, and do I need to allow it to connect to the internet?

I use Little Snitch as a Mac OS firewall. Usually, it's fairly clear to me what needs to connect to the internet and what doesn't. However, I can't figure out what akd is or does, and why it needs to ...
0
votes
1answer
63 views

Serve Application from my Mac over LAN

I am trying to serve an application I'm developing over the LAN at work. I'm doing this using Apache and this is working fine locally, but when I try to access from another client on the network the ...
1
vote
1answer
854 views

pfctl config to only allow OpenVPN connection

I found what appears to be a suitable guide here, but pfctl complains of a syntax error and "no IP address found for en3" which is my main interface. I have had other pf rules working successfully to ...
0
votes
2answers
332 views

How to Locate an App Running in the Background

My Mac is a work computer that used to have LANDesk installed. My admin ran a script that uninstalled it. However, when my machine starts I still get prompted to allow apps from LANDesk (vulscand, cba,...
2
votes
1answer
208 views

How to start pfctl at boot

Before El Capitan I used to enable pfctl at boot by adding -e to the start up parameters. In /System/Library/LaunchDaemons/com.apple.pfctl.plist <string>/sbin/pfctl</string> <key>...
1
vote
1answer
167 views

For security reasons, what should I block with the firewall?

For security reasons, what should I block with the firewall? I'm just interested in the system itself, not additional installed software. For example, I'd like my system to synchronize the clock or ...
2
votes
1answer
930 views

Port forwarding in OS X 10.10

I have to forward every internet page to my local address i.e. 127.0.0.1 using OS X. I tried following command but it has no effect: echo " rdr pass inet proto tcp from any to any port 80 -> 127....
5
votes
1answer
2k views

How to Use Terminal for “Little Snitch” Functionality without Little Snitch

I'm a Terminal newb, and trying to wrap my head around manual "Little Snitch" functionality without using Little Snitch. From the research I've been doing, I've landed on the fact that I need to ...
56
votes
3answers
64k views

What is the modern way to do port-forwarding on El Capitan? (forward port 80 to 8080)

The old utility ipfw was discouraged in recent versions of Mac OS X and is now gone from El Capitan. What is the modern way to do port forwarding in El Capitan? I simply want port 80 to forward to ...
1
vote
1answer
143 views

Using Package Installers behind company firewall

Is there a more efficient way to use package installers behind a firewall than adjusting the proxy settings for each installer? As of now, I'm using Ruby Gems, Bower, and NPM and it's a pain to ...
7
votes
2answers
7k views

How do I drop outgoing packets to specific host/port?

I want to test something locally. For that, I'd like to be able to drop outgoing packets sent to a specific host/port. I tried messing around with pf rules using Murus (the non-free version), but have ...
1
vote
1answer
6k views

Allow port arbitrary port (such as 5432) open on El Capitan.

I'm running vagrant and successfully port forwarding from there. My issue is that some ports are not running. I know vagrant is working because I can successfully forward port 80, but cannot forward ...
0
votes
1answer
886 views

Systems not seeing netrestore image

Turning to here after many futile attempts to resolve. I have an OSX server (10.10.5) which has been hosting a Netrestore image over HTTP without issue for some time now. We replaced our firewall in ...
1
vote
2answers
480 views

OS X firewall code-signing not working for nginx etc

I am trying to connect to a web server (nginx) on OS X El Capitan - on local wifi from an iOS device. I know from earlier that this is not easy. Tried this without success. Have you come across ...
2
votes
1answer
4k views

Issue turning firewall off on OS X El Capitan 10.11.2

I'm trying to make a simple web server on my machine accessible to a peer on the same network, but with not much success. I am having an issue where my firewall continually turns back on, or won't ...
0
votes
1answer
3k views

How to accept incoming network connections in OS X 10.11 El Capitan?

After logging in the following message appears: Do you want the application “Microsoft Word.app” to accept incoming network connections? How do I allow Word to accept incoming network connections in ...
2
votes
0answers
155 views

Little Snitch shows ping flood to 0.0.0.192

My Little Snitch Network Monitor tells me my machine is ping'ing 0.0.0.192 every second. What's going on? EDIT: A Wireshark capture tells me this ping has Source 0.0.76.188 Destination 0.0.0.192
4
votes
2answers
3k views

I need help getting the pf firewall to work

Okay, so I asked this question on security.stackexchange.com and superuser.com and no one on either of those forums answered. Hopefully someone here will know the answer. I am running Mac OS X. I ...
1
vote
1answer
888 views

Browsers opens only https sites

I have OS X Mavericks on my Mac and 3 browsers (Firefox, Safari, Chrome). When I try to open any site I see only "connecting..", but when I try https sites it works fine! Ping and traceroute shows ...
1
vote
1answer
2k views

mDNSResponder - incoming connection from “[name of my Macbook]'s-macbook-pro.local”

As I logged into my admin account to set some things up on my Macbook (I surf using a standard account), I noticed via my third-party firewall application, Little Snitch, that mDNSResponder had ...
6
votes
3answers
14k views

Little Snitch reports outgoing connections for AirPlayXPCHelper for wrong subnets?

After upgrading to El Capitan, I've started noticing annoying connections from the AirPlayXPCHelper to 192.168.1.0/24 subnet (my home network isn't in 192.168.1.0/24 subnet, it's in 172.16.0.0/12 ...
0
votes
1answer
783 views

Incoming connection on UDP port 137 (NBNS) from an internal IP address?

I have a Little Snitch (a third-party firewall application) on my Macbook running OS 10.11.1. I noticed that because of my settings to deny most incoming connections from the LAN, the launchd process ...
4
votes
5answers
2k views

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 -> ...
2
votes
1answer
859 views

How to trap ssh breakin attempts on El Capitan

Previous to El Capitan one could use pfctl and /etc/pf.conf to "trap" the ip addresses of sites attempting to break into a server using brute force attacks producing 100's of attempts per second. The ...
2
votes
2answers
2k views

How can I block ssh brute force attempts in OS X 10.11?

My system running OS X 10.11 is constantly getting hammered by failed ssh login attempts by bots. I'm using a secure password and the root account isn't accessible via ssh, but even so it's still a ...
1
vote
1answer
455 views

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

Any way to transparantly redirect outbound traffic to a particular IP:port on OS X?

OS: Yosemite Basically I am looking for something similar to Mac os x ipfw forward from ip:port to ip:port but since there is no ipfw on Yosemite is there a way to do this trick using pfctl or ...
4
votes
1answer
974 views

How can I configure fail2ban for use with OS X

I've seen instructions for configuring fail2ban on BSD using pf but I'm not sure how these can be adapted to configure the fail2ban rules that ship with homebrew to configure Yosemite's firewall for ...
11
votes
1answer
28k views

MacOS X - iptables?

Where is iptables in MacOS X? I'm running Yosemite 10.10.5 (14F27) and it seems to be missing. If it's not actually native to OS X, what's the best way to install it for this operating system? If for ...
1
vote
2answers
1k views

OS X: How to lock down these frivolous protocols!

I ran a port scan on my Mac (OS X 10.9.4 if its relevant) and i realised all these random protocols with next to no explanation on the internet. 2 of the most unusual protocols include ndl-aas and ...
4
votes
1answer
273 views

What are the services Apple's Firewall considers essential?

I'm trying to determine what Apple's Firewall considers essential services. Apple's Firewall has the following settings available: A search of Apple's site does not reveal a support document on the ...
8
votes
3answers
6k views

Blocking incoming hostile traffic dynamically with PF and fail2ban on OS X

The bigger picture is that I am trying to dynamically block/unblock IPs using fail2ban 0.8.14. I have been following an old guide for OS 10.5 with doesn’t include PF. I think I’ve configured ...
1
vote
1answer
876 views

What is the Correct 'pf' Syntax for an 'iptables' Port Redirection Rule

I am looking to implement a rule like the following iptables rule on my Mac, to redirect traffic from my development workstation (hosting a development copy of a Ruby on Rails project) to another host ...
2
votes
1answer
6k views

Port blocking on iPhone 6

I am unable to get email to connect to my IMAP server using an iPhone 6+ with iOS 8.3. The telco (Telstra Australia) loves telling me that they do not block ports. Either the telco is blocking ports ...
1
vote
1answer
90 views

How to share over ethernet but not over wifi [duplicate]

Running OSX 10.10.3 The office LAN is wired, the guest LAN is WiFi. I need to be on both at the same time. I want to be able to accept connections from the office LAN, but I want to limit access to ...
6
votes
3answers
30k views

How can I setup my mac (OS X Yosemite) as an internet gateway

It should be possible, but I searched for a day and cannot get a decent HowTo. There seemed to be a Gateway Setup Assistant, but the Wikipedia link only goes to the server app now. Maybe it is easier ...
1
vote
2answers
4k views

VNC connection to OS X Yosemite 10.10 not working with Firewall enabled.

I've been connecting to my Mac with the iOS VNC app to monitor a process remotely, and noticed Firewall was turned off in Security & Privacy. So of course I turned it back on, and tried to ...
3
votes
1answer
833 views

Alternative for `fail2ban` on my server running OS X 10.6.8

I have dedicated my old MacBook as a home server. It runs, among other stuff, the following services: Webserver (Apache, PHP, MySQL) i.e. OwnCloud/WebDAV Torrent client SSH server VPN Some game ...
0
votes
1answer
2k views

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 ...
26
votes
2answers
15k views

Xcode.app gets scanned by socketfilterfw (OS X Firewall) at every launch

Situation: When I launch Xcode, socketfilterfw, OS X's application based firewall, starts using a lot of CPU. After some research I narrowed it down to this: socketfilterfw reads all the files in ...
0
votes
1answer
540 views

Firewall blocks all internet sharing except port 80

MacBook Pro on 10.7.5 (Lion) static ip 192.168.10.5 using wireless connection ethernet jack connected to raspberry pi raspberry pi has static ip 192.168.2.3 when internet sharing is enabled and ...
0
votes
1answer
51 views

Modifing a preference via applescript changes file group

I recently request help about modifying firewall settings via command-line (see my previous question). Everything is working, but I have noticed that whenever I use this command in an applescript, the ...
0
votes
1answer
885 views

Little Snitch Global rule not working

I have a little snitch rule effective in all profiles to allow any process to connect to *.apple.com Why do I keep getting request for applications to connect to apple.com? Here are 4 different ...
0
votes
1answer
400 views

OS X firewall blocking torrents outside of VPN

I've seen plenty of tutorials for this around for Windows but I'm wanting to do it on OS X Yosemite. Is it possible to configure the firewall such that torrent traffic will only ever be permitted when ...
0
votes
2answers
1k views

Which incoming ports do you need to open in osx firewall?

I use pf (BSD packet filter via Terminal). The recommended use of pf is to block all incoming ports and then open those you need. I want my system to work properly and don't miss things like ...
3
votes
3answers
2k views

How to limit the bandwidth on a per-application (or per-process) basis in OS X Yosemite?

Whenever I use Homebrew or Apple Store to download a large application, it sucks all my available bandwidth and I am then unable to browse the web. How can limit the bandwidth per-application or per-...
0
votes
1answer
2k views

Cannot connect to SSH server from Mac OSX

Whenever I try to connect to a remote server using SSH, I get an error "ssh: connect to host x.x.x.x port 22: Connection refused" I didn't install a Firewall or something similar. I know for sure the ...