LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-14-2002, 05:33 PM   #1
Bomber
LQ Newbie
 
Registered: Jan 2002
Location: Melbourne, Australia
Distribution: Debian
Posts: 13

Rep: Reputation: 0
Question 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.
 
Old 01-14-2002, 06:04 PM   #2
hommih
Member
 
Registered: Oct 2001
Location: Norway
Distribution: SuSE 7.0, Red Hat 7.2
Posts: 32

Rep: Reputation: 15
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
 
Old 01-14-2002, 06:55 PM   #3
Bomber
LQ Newbie
 
Registered: Jan 2002
Location: Melbourne, Australia
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
routing jmono Linux - Networking 5 02-07-2006 06:20 AM
Routing gtkmike Linux - Networking 1 11-13-2003 09:21 AM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 03:11 PM
Routing in RH 8.0 Hybrid Blue Linux - Networking 2 10-12-2003 05:41 PM
Routing jimval7 Linux - Networking 3 02-08-2002 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration