Solved

IP forward for intranet

Posted on 2011-03-22
5
429 Views
Last Modified: 2012-05-11
Hi,

I have a network with the following topology:

1. An adsl modem connected through PPoE to internet (outside network);
2. A wireless router connected to the modem;
3. A centOS 5.5 server directly connected to one of the router's port;
4. A few laptops and desktops of Windows 7 OS connected to the router wirelessly.

I want to have someone connect from outside to the CentOS server. I was told to set up IP forward in the router so that it can work.

But how to set up the IP forward?

Thanks

0
Comment
Question by:wsyy
5 Comments
 
LVL 22

Expert Comment

by:blu
ID: 35192610
First, you would have to have administrative access to the router. Can you log onto the router as the administrator? Do you know the IP address of the router? If so, try this:

http://ip-of-router/

this should get you to the login screen. The admin account is usually called just "admin". The password you would need to know, unless it is the default. What make and model router do you have?
0
 

Author Comment

by:wsyy
ID: 35195120
blu:

I can log in the router. And then what can I do from there about IP forward?
0
 
LVL 12

Accepted Solution

by:
upanwar earned 125 total points
ID: 35195618
As per my understanding you are running some services on your Cent OS box and you want that somebody should be able to connect your box from intenet for that service. If my understanding is correct then In your routert here should be a option called virtual server just go there and forward the incoming traffic for a service to your Cent OS box, you need to mention the IP of your Cent OS box's IP in that virtual server.
0
 
LVL 6

Expert Comment

by:602650528
ID: 35197216
what is the name of your router and what service on the CentOS do you want outside connection to. If you give these two information, we may be able to tell you exactly what to do .
0
 
LVL 22

Assisted Solution

by:blu
blu earned 125 total points
ID: 35199513
It depends on the router make and model. Typically there is a section in the config about firewalls and/or port forwarding, or perhaps DMZ.

The idea is that you want packets from the outside that are sent to a particular port to be forwarded to the CentOS box. Usually the router
will be doing NAT, which translates the packets on the outside to new internal IP addresses. With your firewall on, connections from the
outside are dropped, but with port forwarding connections from the outside to that port are allowed in, but are translated to the IP address
of the designated system.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OpenVPN is a great open source VPN server that is capable of providing quick and easy VPN access to your network on the cheap.  By default the software is configured to allow open access to your network.  But what if you want to restrict users to on…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question