News: This forum is now permanently frozen.
Pages: [1]
Topic: Static Route from scratch  (Read 1392 times)
« on: October 26, 2007, 21:39:08 »
Miles *
Posts: 4

I'm trying to set up a relatively simple (I think) setup and I'm looking for some help with static routes that I can't get working. Here's what I want:

m0n0 192.168.1.1 <--LAN--> PC 192.168.1.2
m0n0 207.x.x.38 <--WAN--> DSL internet 207.x.x.254
m0n0 10.198.135.249 <--OPT1--> in-house subnets GW @ 10.198.135.254 --> other 10.x.x.x networks

- I would like for services on the PC to be available to users on the WAN (internet) as well as OPT1 (in-house).
- The PC needs to be able to access devices on WAN (internet) as well as OPT1 (in-house).

I think I need:

- Port-forwarding so that requests to the m0n0 from either WAN or OPT1 get sent to the PC.
- Static route so that requests from the PC for the 10.0.0.0/8 network get routed through OPT1.
- Firewall rules to allow the traffic to pass.

Currently:

- From the PC I can get through the m0n0wall to the internet and PCs on the internet can get to me (the port forwarding is set up (web server for testing, other services once it works  Wink )
- From the PC I can't get anywhere on the 10.198.132.0/22 subnet (nor the greater 10.0.0.1/8 network).
- Nothing is logged in the firewall when I try to go from PC to a temp webserver on OPT1.

Questions:

- Is this the correct approach or should I be looking at doing something else?
- Is there a step-by-step guide for setting up a static route?

 Huh

Thanks for your help!

Miles
« Reply #1 on: November 02, 2007, 03:39:29 »
cmb *****
Posts: 851

Your static route will need to point 10.0.0.0/8 to that router IP, and the entire 10.0.0.0/8 network will need a route pointing 192.168.1.0/24 to your m0n0's OPT1 IP. You're probably missing the latter route.
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines