如何禁止电脑访问某个IP?
Tofloor
poster avatar
tearlight
deepin
2015-02-26 05:01
Author
在访问网页时有一些是宽带带过来的广告,想从根本上屏蔽,也就是让电脑访问这个 121.52.234.218 的时候是失败的或者跳转到本机等方式,但是不是用什么浏览器插件解决,请问有什么方法吗?
Reply Favorite View the author
All Replies
Feng Yu
deepin
2015-02-26 18:07
#1
ubuntu带了一个简易的防火墙ufw,实际是封装了iptables,ufw有个简易的图形界面程序gufw配置。

deepin下sudo apt-get install gufw即可,然后终端下gufw启动,打开防火墙,添加121.52.234.218到你的拒绝列表即可。
Reply View the author
tearlight
deepin
2015-02-27 05:31
#2
ubuntu带了一个简易的防火墙ufw,实际是封装了iptables,ufw有个简易的图形界面程序gufw配置。

deepin下sudo apt-get install gufw即可,然后终端下gufw启动,打开防火墙,添加121.52.234.218到你的拒绝列表即可。
成功了,非常感谢,受教了
Reply View the author
MarkoMarko
deepin
2015-03-01 04:11
#3
不知道更新了什么程序,重启后输入登录密码,屏幕闪一下又回到登录窗口,求大神指教。












______________________________________________________________________

Join online Testking itil certification exam and testking to pass exam Testking cissp exam preparation in first try. Our best quality and Northwestern University guide you well for real exam.
Reply View the author
oocool
deepin
2015-03-01 05:59
#4
不知道更新了什么程序,重启后输入登录密码,屏幕闪一下又回到登录窗口,求大神指教。
http://wiki.linuxdeepin.com/index.php?t ... E.E9.A2.98
Reply View the author