LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Routing help.. (https://www.linuxquestions.org/questions/linux-networking-3/routing-help-11778/)

Bomber 01-14-2002 05:33 PM

Routing help..
 
Okay, Im in desperate need of help...
I've got an internal network (192.168.4.x), an external (the internet) and another (192.168.8.x) which acts like a DMZ.
I am trying to set up a web server on the point 8 network, but I am having problems getting the machines on the point 4 network to be able to access the web server.

I've got the firewall (which has three interfaces (internal, dmz and external) set as the default router for the machines on the internal network and I set this forwarding rule:

ipchains -A forward -s 192.168.4.0/24 -d 192.168.8.0/24 -j ACCEPT

Shouldn't that make it so the machines on the point 4 network can access the machines on the point 8 network?

I am sorta stumped on this, any help would be much appriciated.

Cheers.

hommih 01-14-2002 06:04 PM

I'm not quite sure about this, but you could try making a gateway to your DMZ (from your internal) by masquarading. Then you would use the sam rule but use MASQ with the -j option, instead of ACCEPT

As I said, i'm not 100% sure, but perhaps it's worth a shot :)

Hommi

Bomber 01-14-2002 06:55 PM

Thanks for the reply Hommih - but I got things working.
Was a stupid error on my part to do with my routing table...

Thanks though.

Cheers.


All times are GMT -5. The time now is 02:55 AM.