PDA

View Full Version : Routing HELP!!


runnex
2008-01-23, 11:56 PM CST
Folks I need some help / guidance on setting up what I suspect is a routing issue. Here is my configuration:

Router Modem - Internet address : 192.168.100.1. This is connected to a proxy server with 2 NICs.

Proxy server with 2 NICs running on FC3
Internet NIC - 192.168.100.254
Intranet NIC - 10.0.0.245 This card is also the gateway and is connected to a switch.

The switch connects to a Windows network running XP workstations and a Windows Advanced Server 2000 with IP address as 10.0.0.1

I am being able to access the Internet from any of the workstations. From a public IP address I want to access a web page on the Windows server (10.0.0.1). The idea is to let teachers working from home to access the student database running on the server.

How do I setup the routing table on the proxy ? Have been cracking my head on this for the last week ---in vain!! Any help will be greatly appreciated
Thanks

markkuk
2008-01-24, 03:41 AM CST
Routing tables have nothing to do with solving your problem. You must set up port forwarding in both the modem/router and the proxy server to connect the TCP port 80 (or some other suitable port) on the modem to port 80 on the Windows server.

runnex
2008-01-24, 09:43 PM CST
Oops!!Sorry forgot to mention.. I have set up port forwarding on the modem/router but NOT on the proxy server. The port forwarding on the modem / router looks like this:

(First Entry)
StartPort No - All ports
EndPort No - All ports
IP Address - 125.22.250.106 (Static IP)

(Second Entry)
StartPort No - 1098
EndPort No - 1098
IP Address - 192.168.100.254 (IP Address of proxy connected to the modem/router)

(Second Entry)
StartPort No - 8090
EndPort No - 8090
IP Address - 10.0.0.1 (Windows server IP address)

The port 8090 on the windows server is where I want teachers to access. How do I setup port forwarding on the proxy?
Thanks for your help

mediator
2008-01-25, 02:56 PM CST
I think this is what your are looking for.

http://utcc.utoronto.ca/~cks/space/blog/linux/IptablesRedirection
http://www.experts-exchange.com/Security/Linux_Security/Q_21071935.html

runnex
2008-01-28, 10:51 PM CST
Thanks for the links...will be try.