mac 防火墙禁止程序联网_如何允许应用程序通过Mac的防火墙进行通信

mac 防火墙禁止程序联网

mac 防火墙禁止程序联网

If you use a Mac, chances are you might not even realize that OS X comes with a firewall. This firewall helps ensure unauthorized app and services can’t contact your computer, and prevents intruders from sniffing out your Mac on a network.

如果您使用的是Mac,您甚至可能没有意识到OS X带有防火墙。 此防火墙有助于确保未经授权的应用程序和服务无法与您的计算机联系,并防止入侵者嗅探网络上的Mac。

In this article, we will show you how to allow or prevent apps and services access through your OS X firewall. If you don’t know what a firewall does, check out our primer first, then come back here.

在本文中,我们将向您展示如何允许或阻止通过OS X防火墙访问应用程序和服务。 如果您不知道防火墙的作用,请先查看我们的入门知识,然后再回到这里。

By default, your Mac’s firewall is off. If you’re connected to the Internet through a router (most people are), then you may not even need it–but it’s still nice to have. Moreover, OS X’s firewall won’t prevent apps and services from connecting to the Internet. It only blocks incoming connections. That firewall becomes much more important if you’re testing a webserver and you don’t want anyone else to be able to access it.

默认情况下, Mac的防火墙处于关闭状态。 如果您通过路由器连接到Internet(大多数人是),那么您可能甚至不需要它,但是它仍然很不错。 而且,OS X的防火墙不会阻止应用程序和服务连接到Internet。 它仅阻止传入连接。 如果您正在测试Web服务器,并且您不希望其他任何人能够访问它,则该防火墙变得更加重要。

If you’re wondering where to find the firewall, open the System Preferences, then click “Security & Privacy”. Once you’re in the Security & Privacy preferences, click the “Firewall” tab.

如果您想在哪里找到防火墙,请打开“系统偏好设置”,然后单击“安全性和隐私”。 进入“安全性和隐私”首选项后,单击“防火墙”选项卡。

Before you can make any changes, you need to click the lock icon in the lower-left corner and then enter you admin password.

在进行任何更改之前,您需要单击左下角的锁定图标,然后输入管理员密码。

The first thing you will want to do is to turn the firewall on (if it’s not on already).

您要做的第一件事是打开防火墙(如果尚未打开)。

Once the firewall is on, you can access the “Firewall Options”. Let’s discuss what all these options entail.

防火墙打开后,您可以访问“防火墙选项”。 让我们讨论所有这些选项的含义。

Blocking all incoming connections will “prevent incoming incoming connections to nonessential services and apps.” This means that the firewall allows your Mac to find authorized services provided by other computers on your network, but prevents connections to all other sharing services.

阻止所有传入连接将“防止不必要的服务和应用程序进入传入连接”。 这意味着防火墙允许您的Mac查找网络上其他计算机提供的授权服务,但阻止连接到所有其他共享服务。

This means things like screen sharing and file sharing won’t be available on your computer. Blocking all incoming connections is pretty strict and will disable a lot of legitimate network services, so unless you’re sure you really need this, it’s best to leave it off.

这意味着屏幕共享和文件共享之类的内容将在您的计算机上不可用。 阻止所有传入连接非常严格,并且会禁用许多合法的网络服务,因此,除非您确定确实需要此服务,否则最好将其保留。

The add and remove buttons (+/-) let you add apps and services, as well as remove them.

使用添加和删​​除按钮(+/-),您可以添加和删​​除应用程序和服务。

There is an option to automatically allow signed software to receive incoming connections. This means that apps and services signed by a valid certificate authority will automatically added to this list. Any app that created by Apple, for example, that needs to receive incoming connections will be automatically added to the list.

有一个选项可以自动允许已签名的软件接收传入的连接。 这意味着由有效证书颁发机构签名的应用和服务将自动添加到此列表中。 例如,Apple创建的需要接收传入连接的任何应用程序都会自动添加到列表中。

Stealth mode simply means that your computer will be effectively invisible to probing requests to reveal your existence on a network. Your Mac will still answer requests from authorized apps.

隐身模式只是意味着您的计算机将无法有效探测请求以揭示您在网络上的存在的请求。 您的Mac仍会回答来自授权应用的请求。

If you want to add an app or service, click the “+” button and the Applications folder will open. Choose the app or service you want, then click the “Add” button. If you want to specifically block that app or service from incoming connections, then click on the right edge as shown in the screenshot below and then select “Block incoming connections”.

如果要添加应用程序或服务,请单击“ +”按钮,然后将打开“应用程序”文件夹。 选择所需的应用程序或服务,然后单击“添加”按钮。 如果要专门阻止该应用程序或服务阻止传入连接,请单击右边缘,如下面的屏幕截图所示,然后选择“阻止传入连接”。

You can go through the firewall list, add and block anything you want to lock down, and remove anything you don’t want on the list. Like we said, however, this won’t prevent apps from creating outbound connections, it simply means that nothing will be able to contact them from outside your Mac’s firewall if you specifically block it.

您可以浏览防火墙列表,添加和阻止要锁定的所有内容,并删除列表中不需要的所有内容。 就像我们说过的那样,这不会阻止应用程序创建出站连接,这只是意味着如果您专门阻止了它,则无法从Mac防火墙外部与它们联系。

OS X’s firewall is a cinch to use and typically requires little to no configuration. Just turn it on and forget about it. Chances are you won’t need to even delve into any of the advanced functions we described in this article.

OS X的防火墙使用起来很方便,通常几乎不需要配置。 只需打开它,然后忘记它。 您甚至不需要研究本文中介绍的任何高级功能。

Still, unless you have a security concern about a particular application on your computer, the firewall on your router is more than adequate to block intruders from finding you.

尽管如此,除非您对计算机上的特定应用程序有安全方面的担忧,否则路由器上的防火墙足以阻止入侵者找到您。

翻译自: https://www.howtogeek.com/248836/how-to-allow-apps-to-communicate-through-your-macs-firewall/

mac 防火墙禁止程序联网

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/279991.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

WPF-22 基于MVVM员工管理-02

我们接着上一节,这节我们实现crud操作,我们在EmployeeViewMode类中新增如下成员,并在构造函数中初始化该成员code snippetpublic EmployeeViewMode() {employeeService new EmployeeService();BindData();Employee new Employee();AddComma…

linux 3

-- Linux -- 开心的一天 vi   所有的 unix like 系统都会内置 vi 文本编辑器 vim  较多使用的,可以主动的以字体颜色辨别语法的正确性,方便程序设计 vi/vim 的使用 -- 命令模式(Command mode) 输入模式(Insert mode&#x…

从零开始搭建一个简单的ui自动化测试框架02(pytest+selenium+allure)

二、先搭一个架子 在我还是小白连py语法都不太熟悉的时候,经常在网上看关于自学ui自动化测试的博客,最熟悉的套路莫过于先给你介绍一下selenium的各个api,然后写一套代码去登陆微博或者百度什么的,但我今天不愿意这么写&#xff0…

DML语言DDL

DML(data manipulation language): 它们是SELECT、UPDATE、INSERT、DELETE,就象它的名字一样,这4条命令是用来对数据库里的数据进行操作的语言 。 DDL(data definition language): D…

什么是Adobe Lightroom,我需要它吗?

Adobe Photoshop Lightroom confuses a lot of new photographers. It has Photoshop in the name, but it isn’t Photoshop? What gives? Adobe Photoshop Lightroom使许多新摄影师感到困惑。 它的名称是Photoshop,但不是Photoshop吗? 是什么赋予了&…

jquery中的serializeArray方法的使用

转载于:https://blog.51cto.com/11871779/2359556

新冠病毒中招|第一天

感染新冠病毒后具体如何治疗,需要根据感染者病情轻重情况而定,严重的要听医生的。昨天是我个人感染奥密克戎毒株第一天,今天跟大家分享一下我的情况。我昨天感觉浑身无力,也有点发烧37.9,我就吃了感冒药睡了一上午&…

机器学习(一)—— 线性回归

机器学习(一)—— 线性回归 目录 0. 回归(Regression)的由来 1. 回归关系 2. 线性回归的整体思路 (1)根据数据提出假设模型 (2)求解参数 1)梯度下降法 2)正规…

Java EE启示录

前言 最近的这段时间一直在学习Java EE,刚刚完成了从0到1的蜕变,所以顺便整理一下我所了解到的Java EE,给刚入门学习的新人一些头绪,而所谓“启示录”,就是这个意思。 一.Java EE是什么? Java EE&#xff0…

又到年末“团建”!某企业员工吐槽:这真是一场噩梦……

这是头哥侃码的第270篇原创2022年即将结束,很多公司又到了一年一度的年末团建。前天晚上,之前的同事找我聊天,说他们公司因为最近疫情的原因,准备把年末“团建”放到春节后进行。但是计划的时间是2月份的某个周末,并且…

天梯 L2 这是二叉搜索树吗?

L2-004 这是二叉搜索树吗? (25 分)一棵二叉搜索树可被递归地定义为具有下列性质的二叉树:对于任一结点, 其左子树中所有结点的键值小于该结点的键值;其右子树中所有结点的键值大于等于该结点的键值&#xf…

三星笔记本进入BIOS后找不到U盘启动项/快速启动键F12没有反应

分析:BIOS开启了 Fast Bios Mode 解决方法: 开机按F2进入BIOS设置,选择Advanced菜单下Fast Bios Mode,设置为 Disabled,按F10键保存退出,重启时按F12键即可进入快速启动界面选择。或按F2进入BIOS设置&#…

IP别名与多网卡绑定(RHEL5/RHEL6)

RHEL6的网络管理与RHEL5的有比较大的改变。虽然在RHEL5、6中均安装有NetworkManager,在RHEL5中2、3、4、5级别中默认是不启用的。但在RHEL6中,默认是启用的,NetworkManager会一直监控网卡状态,修改网卡参数立即生效不用重启服务。…

基于.NetCore开发博客项目 StarBlog - (25) 图片接口与文件上传

1前言上传文件的接口设计有两种风格,一种是整个项目只设置一个接口用来上传,然后其他需要用到文件的地方,都只存一个引用ID;另一种是每个需要文件的地方单独管理各自的文件。这俩各有优劣吧,本项目中选择的是后者的风格…

pta7-7旅游规划(dijkstra算法)

题目链接:https://pintia.cn/problem-sets/1101307589335527424/problems/1101314114762387456 题意:给n给城市,m条公路,公路是双向的,起点S,终点D,并给出每条公路连接的两个city的编号以及路费…

context:annotation-config vs context:component-scan

<context:annotation-config> 用来注入已经在上下文注册的bean&#xff0c;无论bean是定义在XML中还是被 package scanning。 <context:component-scan>仅scans packages 去注册应用上线文中的Bean。 example&#xff1a; Lets start with a basic setup of three …

Cactiz中文版安装使用

#----------------------------------------------------------# # > 红色字体 -特指煮酒个人所见。加粗则为需要重点注意。 ## > 蓝色加粗 -特指与本文相关人员&#xff0c;包括参与修正的朋友。 ## > 煮酒品茶 -Http://cwtea.blog.51cto.com # #----------…

如何在OS X中打开或关闭鼠标定位器

OS X 10.11 El Capitan includes a new “mouse locator” feature. If you lose your mouse pointer, just shake the mouse or move your finger on the touch pad vigorously, and the mouse pointer will temporarily grow very large so you can see it. OS X 10.11 El Ca…

微软宣布 Win10 设备数突破8亿,距离10亿还远吗?

百度智能云 云生态狂欢季 热门云产品1折起>>> 微软高管 Yusuf Mehdi 昨天在推特发布了一条推文&#xff0c;宣布运行 Windows 10 的设备数已突破 8 亿&#xff0c;比半年前增加了 1 亿。 根据之前的报道&#xff0c;两个月前 Windows 10 的全球市场份额才首次超越 W…

UI自动化web端框架path.py代码

import os,sysBASE_PATH os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))sys.path.insert(0, BASE_PATH)# 配置文件CONF_PATH BASE_PATH os.path.sep conf os.path.sep config.json# 日志的路径WEB_LOG_PATH BASE_PATH os.path.sep lo…