Jelastic配置防火墙 [英] Jelastic configure firewall

查看:139
本文介绍了Jelastic配置防火墙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的应用程序使用 Jelastic ,并且我刚刚为其安装了Apache.问题是我需要为其设置防火墙,例如iptables或其他,毕竟它是Web应用程序,并且需要安全性.

I'm using Jelastic for my application and I just installed the Apache for it. The problem is that I need to set up a firewall for it, like iptables or other, after all is a web application and it needs security.

我该怎么做?

主持人对我说,唯一的方法是使用VDS,我应该为我配置一个VDS,安装Apache,FTP并将应用程序传输到那里.

The host said to me, that the only way is to use VDS and I should configure a VDS for me, installing Apache, FTP and transfer my application to there.

但是我可以相信没有办法保护Apache.

But I can believe that there is no way to protect the Apache.

谢谢.

推荐答案

可用的选项取决于您的托管服务提供商.例如,Jelastic平台使托管提供商和私有云客户能够为每个新配置的节点定义一组默认防火墙规则.

The available options vary depending on your hosting provider. For example, the Jelastic platform gives hosting providers and private cloud customers the ability to define a set of default firewall rules for each newly provisioned node.

此外,自Jelastic 4.1起,提供者可以选择为任何特定容器定义其他自定义防火墙规则.目前,此功能只能从提供商的角度进行访问,因此,这意味着您需要与提供商的支持团队合作.

Additionally, since Jelastic 4.1, there is an option for the provider to define additional custom firewall rules for any specific container. At the moment this functionality is only accessible from the provider's side, so it means you need to work with your provider's support team.

如果您不想这样做,或者您选择的Jelastic供应商不能提供良好的支持,则可以:

If you don't want to do that, or your chosen Jelastic provider does not offer good support, you can either:

  1. 在您的Jelastic环境中使用非托管节点类型,例如Elastic VPS或Docker节点.在这里,您具有完全的root访问权限,可以定义所需的任何防火墙规则.

  1. Use an unmanaged node type in your Jelastic environments, such as the Elastic VPS or Docker nodes. Here you have full root access to define whatever firewall rules you desire.

使用应用程序服务器规则来限制根据IP的访问.例如.在您的httpd.conf中(您已经可以完全访问自定义了)

Use application server rules to restrict access according to IP. E.g. inside your httpd.conf (which you already have full access to customise)

这篇关于Jelastic配置防火墙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆