个人工具
登录
查看“UbuntuHelp:Gufw”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:Gufw”的源代码
来自Ubuntu中文
←
UbuntuHelp:Gufw
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/Gufw}} {{Languages|UbuntuHelp:Gufw}} == Introduction == https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=gufw_menu.png Gufw is a graphical frontend to [[UbuntuHelp:UFW|UFW]] (Uncomplicated Firewall). For an overview of firewalls, please see [[UbuntuHelp:Firewall|Firewall]]. == Installation == In order to install Gufw, you must have the Universe [[UbuntuHelp:Repositories/Ubuntu|repository]] enabled. To install, use [[UbuntuHelp:Synaptic|Synaptic]], or run from [[UbuntuHelp:Terminal|Terminal]]: <pre><nowiki> sudo apt-get install gufw </nowiki></pre> == Usage == {|border="1" cellspacing="0" | https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=important.png || This documentation explains how to use Gufw in Ubuntu 9.10 Karmic Koala, which is still under development. The concepts are backwards compatible with stable Ubuntu versions, though the screenshots may vary a bit. |} https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=navigate.png To access GUFW, go to '''System->Administration->Firewall configuration'''. By default, the firewall is disabled. https://help.ubuntu.com/community/Gufw?action=AttachFile&do=get&target=gufw_disabled.png === Enabling === To enable the firewall, simply check the '''Enabled''' box and the default for traffic will be set to '''Deny'''. https://help.ubuntu.com/community/Gufw?action=AttachFile&do=get&target=gufw_enabled.png === Adding Rules === To configure the firewall, we add rules. Simply click the '''Add''' button and a new window will pop up. For details about this implementation, see the [[UbuntuHelp:UFW|UFW]] page. Rules can be configured for TCP and UDP ports, and UFW has some preconfigured programs/services to make setting up rules for them easy. The available options for rules are ''Allow'', ''Deny'', ''Reject'', and ''Limit'': * Allow: The system will allow entry traffic for a port. * Deny: The system will deny entry traffic to a port. * Reject: The system will deny entry traffic to a port and will inform the requesting for connection system that it has been rejected. * Limit: The system will deny connections if an IP address has attempted to initiate 6 or more connections in the last 30 seconds. ==== Preconfigured ==== The '''Preconfigured''' tab gives us some options for controlling firewall options for common programs and services. https://help.ubuntu.com/community/Gufw?action=AttachFile&do=get&target=gufw_add_rule_preconfigured.png A prime example is given on the [[UbuntuHelp:UFW|UFW]] page, which is allowing and denying the ssh service, which uses port 22. If you select "Allow", "Service", "ssh", then the firewall will be configured to allow SSH traffic. ==== Simple ==== Not all program configurations are available in Gufw, but we can still add rules for them using the '''Simple''' tab. https://help.ubuntu.com/community/Gufw?action=AttachFile&do=get&target=gufw_add_rule_simple.png Again, we'll use the SSH example - let's just pretend for a moment that there isn't a preconfigured option for it. To enable it in the '''Simple''' tab, select "Allow", "TCP", "22" and click '''Add'''. ==== Advanced ==== Sometimes we want to configure access based on specific IPs or IP ranges, so we use the '''Advanced''' tab. https://help.ubuntu.com/community/Gufw?action=AttachFile&do=get&target=gufw_add_rule_advanced.png Back to the SSH example, let's say we only want to enable access for users on the local LAN, using IPs 192.168.1.100 - 192.168.1.150. Your options would be "Allow", "TCP", From: "192.168.1.100"/"22", To: "192.168.1.150"/"22". == Preferences == There are only a couple of preferences available to set in Gufw, and can be controlled from '''Edit->Preferences''' https://help.ubuntu.com/community/Gufw?action=AttachFile&do=get&target=gufw_preferences.png Here you can control logging for ufw and for Gufw. The default is to enable logging for ufw, and disable logging for Gufw. == Other Resources == * [[UbuntuHelp:Firewall|Firewall]] * [[UbuntuHelp:UFW|UFW]] * [[UbuntuWiki:UbuntuFirewall]] - UFW homepage * [http://gufw.tuxfamily.org] - Gufw homepage ---- [[category:CategoryNetworking]] [[category:CategorySecurity]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:Gufw
。