Merge pull request #1965 from Vic020/master

Translated  Quick Tip Allow Services Through Firewall In openSUSE
This commit is contained in:
Xingyu.Wang 2014-11-09 22:54:25 +08:00
commit 4fc5b06772
2 changed files with 31 additions and 33 deletions

View File

@ -1,33 +0,0 @@
Vic020
[Quick Tip] Allow Services Through Firewall In 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.
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.
First, open YaST Control Center from menu. Go to **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.
![](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.
Cheers!!
--------------------------------------------------------------------------------
via: http://www.unixmen.com/quick-tip-allow-services-firewall-opensuse/
作者:[SK][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://www.unixmen.com/author/sk/

View File

@ -0,0 +1,31 @@
[小贴士] openSUSE设置服务服务通过防火墙
================================================================================
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/11/openSUSE.png)
正如你所知道的在openSUSE/SUSE系统上不是所有的服务是激活并且默认允许的。例如**ssh**服务是默认不允许通过防火墙的。当然这是一个安全措施但是有时我们必须需要ssh服务从远程地点来连接服务器。
这个小教程将会展示如何允许服务不单是ssh也包括所有其他的服务如httpftp等通过服务器。我们可以使用**YaST**命令允许服务通过防火墙,**YaST**命令是openSUSE和其企业版默认安装配置工具。
首先在菜单中打开YaST控制中心。选择**Security and Users安全和用户 -> Firewall防火墙**
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/11/openSUSE-13.1-Running-Oracle-VM-VirtualBox_001.png)
接下来,打开**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)
就是如此简单ssh服务已经允许通过防火墙这样你就可以在远程系统连接这个系统了。就像这样我们可以同样设置其他服务。
鼓掌!!
--------------------------------------------------------------------------------
via: http://www.unixmen.com/quick-tip-allow-services-firewall-opensuse/
作者:[SK][a]
译者:[VicYu/Vic020](http://www.vicyu.net)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://www.unixmen.com/author/sk/