translated

This commit is contained in:
Vic___ 2014-11-09 19:34:47 +08:00
parent 2414cbe9a1
commit 2de5d496ca

View File

@ -1,31 +1,29 @@
Vic020
[Quick Tip] Allow Services Through Firewall In openSUSE
[小贴士] openSUSE设置服务服务通过防火墙
================================================================================
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/11/openSUSE.png)
As you may know, not all services are enabled and allowed by default in openSUSE/SUSE systems. For example, **ssh** service is not allowed through firewall on openSUSE systems. Of course, its a safety precaution, but sometimes we must need ssh service to access the system from a remote location.
正如你所知道的在openSUSE/SUSE系统上不是所有的服务是激活并且默认允许的。例如**ssh**服务是默认不允许通过防火墙的。当然这是一个安全措施但是有时我们必须需要ssh服务从远程地点来连接服务器。
This quick tutorial will show how to allow services, not only ssh, but all other services such as http, ftp etc., through firewall. We can allow the services from **YaST**, which is the default installation and configuration tool for openSUSE, and SUSE enterprise.
这个小教程将会展示如何允许服务不单是ssh也包括所有其他的服务如httpftp等通过服务器。我们可以使用**YaST**命令允许服务通过防火墙,**YaST**命令是openSUSE和其企业版默认安装配置工具。
First, open YaST Control Center from menu. Go to **Security and Users -> Firewall**.
首先在菜单中打开YaST控制中心。选择**Security and Users安全和用户 -> Firewall防火墙**
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/11/openSUSE-13.1-Running-Oracle-VM-VirtualBox_001.png)
Go to **Allowed Services** tab. Select **Secure Shell Service** from the Service to Allow drop-down box, and finally click **Add**, **Next** and **Finish** buttons to allow the service.
接下来,打开**Allowed Services已允许服务**选项卡从Service to Allow选择需要允许的服务下拉框中选择**Secure Shell Servicessh服务**,然后 **Add增加****Next下一步**,最后**Finish完成**,搞定。
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/11/openSUSE-13.1-Running-Oracle-VM-VirtualBox_002.png)
Thats it. The ssh service has been allowed now, so you can access the system from a remote system. Like this way, we can also other required services.
就是如此简单ssh服务已经允许通过防火墙这样你就可以在远程系统连接这个系统了。就像这样我们可以同样设置其他服务。
Cheers!!
鼓掌!!
--------------------------------------------------------------------------------
via: http://www.unixmen.com/quick-tip-allow-services-firewall-opensuse/
作者:[SK][a]
译者:[译者ID](https://github.com/译者ID)
译者:[VicYu/Vic020](http://www.vicyu.net)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出