Remote Support for OpenERP on a server without Public IP....
Most of us will be connected to Internet either through dailup or
broadband connection provided by service providers or from the LAN network hidden
from outside world.In both the cases system make use of either dynamic IP provided by the
service provider which may change each time newly connected or network private ip which
cannot be used or not visible to outside world.Now question is how can we access such
system and make use of the services running on that system.
Consider the situation that you were working In OpenERP at home with your PC or laptop connected
to a Internet through modem. Now you might need to access local OpenERP from your office or work location
for any reference. Reverse SSH tunneling, the process forwards the local machine service to a remote machine
in a secure way helps us here.
Now at the home pc,to make it accessible from office later you can type at the command line,
sudo nohup ssh -f -N -R 8070:localhost:45678 root@<Your Office Public IP>
here,
8070 is the netrpc port of OpenERP running at home
45678 is the remote port on server
<Office Public IP> Contact your system administrator for Public IP and root password
Note : Make sure there are no services running on remote office server port going to be used
for tunneling purpose.you can also use web interface remotely instead of 8070 change it
into 8080 local web running port.
At Office You can acces OpenERP running at home by using the public IP and port 45678 to which
you have forwarded.
It is also possible to login into your system at home by issuing the following command,you will
get shell interface as if you were working at home,from your office
sudo nohup ssh -f -N -R 22:localhost:45679 root@<Your Office Public IP>
You can login into local home mcahine from any where by using,
ssh root@<Your Office Public IP> -p 45679
Same can be applied for machine inside LAN network which uses NAT service to get connected
to Internet.Similarily Support service can be provided for OpenERP in your system even though you don't
have public ip.Thinking that this blog might had helped you.....
Hi Fahad, i have an another
Hi Fahad,
i have an another situation. At the moment im using a Linksys Router with cisco software. But my iSP does not provide me a public ip. Everything what i take is one local ip from iso dhcp. So my internet ip on router is 10.0.0-- and if i check over google my public ip is something else 82..... I have an dyndns.org account and is registered with my linksys router. But everything what is broadcated over dyndns is my local ip and im not able to ping my router.
Does exist any solution for my problem?
many thanks in advance