Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.6k views
in Technique[技术] by (71.8m points)

mac 怎么禁止自己的服务端口被内网的其他机器访问到

mac 怎么禁止自己的服务端口被内网的其他机器访问到

非常郁闷,自己接了点私活,开了一个开发环境,同时给别的同事提供了一个服务,结果被他访问到了,太尴尬了,怎么关闭掉所有的端口,
想开哪个,单独配置下

就是mac有没有类似 linux iptables


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

找到了,用这个
http://blog.chinaunix.net/uid...

pfctl


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...