Help - Search - Members - Calendar
Full Version: Setting Up A Gateway...
Linuxhelp > Support > Technical Support

I've been having a lot of trouble setting up a gateway using OpenBSD3.5, if you can help or need some more info please ask!

Here's my situation:

Internet <> External Router <> OpenBSD Firewall <> Internal Router <> PC's

The External router has IP, the Internal Router and PC's have IP's of 192.168.1.x. The OpenBSD firewall has 2 NICs, the external one has IP and the Internal has

From the openBSD system I can ping the external router and the internal router and PC's, but not any internet servers. On the Internal PC's running windows, I have set the default gateway to that of the openbsd system, but they are unable to connect to either the external router or the internet.

If anyone can help me resolve this I would be really grateful, ive been trying for hours now.

Thanks smile.gif
If your setup is as you have detailed, it won't work.

You seem to have 3 boxes ...

an external router (outside ip based on ISP, internal IP
a firewall (external IP, internal IP
an internal router (external IP 192.168.1.x, internal ip also 192.168.1.x)

If you have an internal router (which isn't required), then you will need to have it's internal and external interfaces be on different networks ... a router can't route on the same network/subnet. So if you really wanted the internal router (again, I don't see why it is needed), then you would need to do something like this:

an external router (outside ip based on ISP, internal IP
a firewall (external IP, internal IP
an internal router (external IP, internal ip

All PCs would be on the 192.168.0.x netowrk and have the internal router as their default gateway...or just remove the inner router altogether and set as the default gateway with all the PCs on the 192.168.1.x network.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.