[jboss-user] [Installation, Configuration & DEPLOYMENT] - bind ( two ip addresses)
poporopo
do-not-reply at jboss.com
Mon Oct 15 14:13:32 EDT 2007
Hi,
I am running Jboss and I need to be able to access it on my local network and over a VPN.
Here is my setup:
local network
192.168.2.x
255.255.255.0
The VPN (OpenVPN) although uses virtual tunnels and so I fall into a different network when I connect over the vpn.
The network becomes
10.8.0.x
255.255.255.0
So if I bind Jboss to the ip 192.168.2.x then I am able to access it from the machines in the local network but not from home.
I bound Jboss to my server's hostname (server-01) but I still cannot connect from the vpn client at home.
I have added the following in my /etc/hosts file on the server where jboss runs:
192.168.2.12 server-01
10.8.0.1 server-01
192.168.2.12 is my servers ip in the local network
10.8.0.1 is my server's ip when I connect from home over a vpn.
I have also added to the hosts file at home (my vpn client) the following:
10.8.0.1 server-01
In searching a solution I setup jboss through an apche proxy. I was able to see jboss this way but I was not able to run my application.
Any hints on this issue will be appreciated
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095357#4095357
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095357
More information about the jboss-user
mailing list