LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can i access URL form different networks too??? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-access-url-form-different-networks-too-922362/)

varunb 01-06-2012 04:52 AM

How can i access URL form different networks too???
 
Hi,

How can i access URL form different networks too???

i can access one url
eg: http://mail.com
only in office which is a part of local network,
but that cannot be accessible in my home network if i use docomo or airtel connection. Also i know that is in different networks.

But i need to know where should i enable ports or is there any thing which has to configured and give access to that URL from all diferent networks???

deep27ak 01-06-2012 05:21 AM

You need to NAT that address to your public IP so that those IP can be accessible from outside your local internet


As in my case I have a ftp server at 192.168.0.27 which is accessed outside the office network using 110.234.112.xxx which is performed through firewall.

varunb 01-08-2012 11:29 PM

Quote:

Originally Posted by deep27ak (Post 4567790)
You need to NAT that address to your public IP so that those IP can be accessible from outside your local internet


As in my case I have a ftp server at 192.168.0.27 which is accessed outside the office network using 110.234.112.xxx which is performed through firewall.

Thanks for the reply.

How should i NAT that address?? Local IP is 192.168.1.56.
Where should i do that?? which file?? where do i get the public IP?
and should i add that public IP in firewall config file???

deep27ak 01-10-2012 12:20 AM

I am not so good with firewall so it would be better you post your question in Linux-Networking thread

with a new heading

How to perform NAT in linux.

and give all other details
or wait if anyone here helps you.


All times are GMT -5. The time now is 07:48 PM.