Block outgoing connections

Hello, i desire to know how to block outgoing connections on my macbook 12 using MacOs Sierra.

In firewall i only found i can block incomming connections.

Did i miss an option?

How can i do it form terminal?

macOS Sierra (10.12)

Posted on Sep 23, 2016 2:19 AM

Reply
3 replies

Sep 23, 2016 2:50 AM in response to eradokir

You can edit the hosts file using terminal, although I'd not recommend it if you're unsure what you're doing. But doing so you can block outgoing access to specified IP addresses or websites.


If you simply want to stop your mac connecting out, why do you not simply turn off your wifi so you're not connected to the internet?


Alternatively a GUI firewall like Little Snitch would be a better option as it gives you very granular options for blocking incoming/outgoing traffic and is fairly easy to use and set up.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Block outgoing connections

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.