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.pswp.cn/news/279991.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/279991.shtml
英文地址,請注明出處:http://en.pswp.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…