如何阻止 JBOSS AS7 将 http 管理控制台重定向到域
我正在尝试从 JBOSS AS 7 远程访问管理控制台。我已将管理接口配置为我的 IP,但在我尝试访问该地址后,它会被转换为 /etc/hosts 中的任何内容。我怎样才能改变这种行为?我希望它只能通过 IP 访问。
谢谢 , 菲利普
I am trying to remotely access the administration console from JBOSS AS 7. I have configured the management interface to my IP, but after I try to access the address, it is translated to whatever I have in /etc/hosts. How can I change this behavior? I want it to be accessible only through the IP.
Thanks ,
Filip
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
JBoss AS7 社区文档中有一个关于保护管理接口< /a>.这是了解管理界面安全主题的一个很好的资源。
听起来您已经设置了
management-interfaces
来控制管理控制台和管理 CLI 的接口和端口设置。为此接口定义特定的 IP 和端口设置通常会排除本地主机访问。问题
管理接口设置存在于任一实例的配置文件中,如下所示。您需要将相对运行时令牌更改为特定的 IP 地址和端口。
独立
独立配置文件是
standalone.xml
。受管域
您可以管理每个主机控制器,因此配置文件不是主域控制器关心的
domain.xml
,而是host.xml
中特定主机的配置。您希望以与独立实例类似的方式保护native-interface
。如果您的域配置正确,您可以通过域控制器远程连接到域,即管理控制台或管理 CLI(特别是在该界面上)。连接
如果您对远程连接有疑问,请阅读使用 CLI 连接 JBoss AS 7 的 4 种方法中间件魔法。
There's a section in the JBoss AS7 community documentation about Securing The Management Interfaces. This is a good resource for an entry to management interface security topics.
It sounds like you've already set your
management-interfaces
to control the interface and port settings for the Management Console and the Management CLI. Defining the specific IP and Port settings for this interface will typically exclude localhost access.Questions
The management interface settings exist in configuration files for either instance as follows. You need to change the relative runtime token to a specific IP address and port.
Standalone
The standalone configuration file is
standalone.xml
.Managed Domain
You can administer each host controller, so the configuration file is not the master domain controller care of
domain.xml
, but the specific host's configuration inhost.xml
. You are looking to secure thenative-interface
in a similar manner as a standalone instance. If your domain is configured correctly, you can connect remotely to the domain via the domain controller, be that the Management Console or the Management CLI (specifically on that interface).Connecting
If you have questions on connecting remotely, read 4 ways to connect JBoss AS 7 using CLI on Middleware Magic.
在
standalone.xml
中配置Configure in
standlone.xml