连接到远程 Openbravo ERP 设备

发布于 2024-12-21 13:22:15 字数 833 浏览 1 评论 0原文

我的 Openbravo 设备由 Win7 之上的 VMWare 工作站运行,该工作站位于通过路由器连接到互联网的 LAN 中。

当我启动设备时。我可以通过输入流程结束时提供的地址(例如 192.168.1.107)来访问 ERP Web 控制台。局域网中的所有计算机都可以访问该地址,目前还可以。

然而,将来,我需要从运行 Win7 的家用电脑(当然,连接到互联网)访问此控制台。我该如何设置?我已尝试 http://planet.openbravo.com/?p=8612(参见案例 3 - 将我的本地 ERP 暴露到远程网络)

我尝试过(在 VMWare 中运行的 Openbravo Appliance 控制台中)

ssh -R :9999:localhost:80 [email protected]

(其中 101.108.70.128 是我的家庭电脑的 IP 地址来自whatismyip.org),

但它给出以下错误:

ssh: connect to host 101.108.78.128 port 22: connection timed out

我是否错过了任何所需的步骤? 我应该怎么做才能成功连接到我的 Openbravo 实例?

I have my Openbravo appliance running by VMWare workstation on top of Win7 which is in a LAN connected to internet by router.

When I start the appliance. I can access ERP web console by typing in the address it gave at the end of the process (for example, 192.168.1.107). All computer in the LAN can access this address as well which is fine for now.

However, in the future, I need to access this console from my home pc running Win7 (which is, of course, connected to the internet). How do i set this up?. I have try the method given in http://planet.openbravo.com/?p=8612 (see case 3 - Expose my local ERP into a remote network)

I tried (in Openbravo Appliance console running in VMWare)

ssh -R :9999:localhost:80 [email protected]

(where 101.108.70.128 is the ip of my home pc read from whatismyip.org)

but it give the following error:

ssh: connect to host 101.108.78.128 port 22: connection timed out

Do I missed any step required?
What should i do the successfully connect to my Openbravo instance?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无声静候 2024-12-28 13:22:15

最好的方法是直接在 Openbravo ERP 论坛中提出这些问题:http://forge.openbravo.com

您提到的博客文章中的案例 3 做出了 2 个隐含的假设。
a.) 远程计算机运行 ssh 服务器
b.) 这个 ssh 服务器可以从 erp 实例连接到

您的情况,两个假设之一似乎不成立,要么您的 win7 机器不运行 ssh 服务器和/或您的家庭网络的路由器不转发端口22从外面到你的win7盒子。
如果没有进一步的信息,我假设这两项都没有完成。

让我提出另一个解决方案。当您想从家里连接到 erp 设备的命令行时,您可以执行以下操作:
使用 erp 设备配置网络路由器,将某个外部端口(即 2222)连接到设备的 IP、目标端口 22。

这将允许您从家庭网络(或互联网上的任何其他系统)访问它IP/端口)。
使用不同于 22 的外部端口进行一些简单的 ssh 暴力密码扫描。
由于设备默认不允许通过密码登录,而只允许通过公钥进行身份验证,因此可以安全地不允许未经授权的访问您的系统。

之后,要么使用博客文章中的用例 1,要么使用普通的 ssh 隧道,例如 (ssh -p external-port user@externalipoferplan -L 9999:localhost:22',然后从您的计算机通过“http://localhost”访问 ERP 如果这太复杂,并且

您只想从互联网上访问 ERP Web 界面,而无需中间额外的 ssh 安全性,那么您可以只配置 erp 局域网的路由器来转发。端口 80 或 443(http 或 https)连接到 erp 实例,并直接从任何地方访问系统,就好像它位于互联网中的某些公共服务器上一样。

Best is to ask those questions directly in the Openbravo ERP forums over there: http://forge.openbravo.com

The case 3 from the blog-post you are referring to makes 2 implicit assumptions.
a.) the remote computer runs an ssh-server
b.) This ssh-server can be connected to from the erp instance

One of the two assumptions seems to not hold in your case either your win7 box does not run an ssh server and/or the router of your home network does not forward port 22 from the outside to your win7 box.
Without further information i assume both items are not done.

Let me propose another solution instead. As you want to connct to the commandline of the erp appliance from home you could do the following:
Configure the router of the network with the erp appliance to connect some external port (i.e. 2222) to the ip of the appliance, destination port 22.

This will allow you to access it from the home network (or any other system from the internet knowing the ip/port).
Using an external port different from 22 some simple ssh brute-force passwords scans.
As the appliance by default does not allow login by password but only allows authentication by public-key this is secure to not allow unauthorized access to your system.

After this either use case 1 from the blog-post or an normal ssh tunnel like (ssh -p external-port user@externalipoferplan -L 9999:localhost:22' and then access the ERP via 'http://localhost' from your win7 box.

If that is too complicated and you want to just make the ERP webinterface available from the internet without having the extra ssh security in the middle then you can just configure the router of the erp lan instead to forward port 80 or 443 (http or https) to the erp-instance and access the system directly from anymore as if it would be on some public server in the internet.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文