News: This forum is now permanently frozen.
Pages: [1]
Topic: Static routes from M0n0wall to DSL modem  (Read 2584 times)
« on: March 24, 2009, 21:52:14 »
dgdimick *
Posts: 4

I searched the forums and haven't seen this posted yet, sorry if my search was incomplete.

I have a system on my LAN, (192.168.5.2) and want to ssh to my DSL modem on the other side of my Firewall (129.168.2.1)

The interface IP's are: LAN - 192.168.5.1 WAN - 192.168.2.2, what's the best way to do this? When I add a static route, under routes in m0n0wall, it allows the traffic to the DSL modem, but kills off internet traffic.

Thanks,

Denis

« Reply #1 on: March 24, 2009, 21:57:14 »
Fred Grayson *****
Posts: 994

http://wiki.m0n0.ch/wikka.php?wakka=AccessingModemOutsideFirewall

--
Google is your friend and Bob's your uncle.
« Reply #2 on: March 24, 2009, 22:13:09 »
dgdimick *
Posts: 4

Thanks for the fast reply, looks like a small amount of work will resolve this.

Denis
« Reply #3 on: March 25, 2009, 10:32:24 »
markb ****
Posts: 331

That article related to a DSL modem in bridge mode and the WAN interface being PPPoE or Static external IP address.  From your description , I dodn;t think you have that type of setup do you? As long as you have an appropriate rule going out from your LAN, you should be able to access it.
« Reply #4 on: March 25, 2009, 16:42:52 »
dgdimick *
Posts: 4

I'm not in bridging mode, and think I could change; I'm mainly looking at this due to the recent article about the worm/virus that can turn your DSL modem into a botnet node.  Cry

Thanks,

Denis
« Reply #5 on: March 26, 2009, 05:56:08 »
knightmb ****
Posts: 341

I'm not in bridging mode, and think I could change; I'm mainly looking at this due to the recent article about the worm/virus that can turn your DSL modem into a botnet node.  Cry

Thanks,

Denis
This only happens if the modem is using some default username and password (like admin/admin or root/admin), etc.

I've found out that static routes in m0n0wall don't apply to the interface that you set it for, but instead applies to all interfaces which can cause the issue you are describing.

If you need access to the modem on a regular basis, what type of DSL modem are you using? I can think of a few ways to get external access without having to make a static route for it.

Radius Service for m0n0wall Captive Portal - http://amaranthinetech.com
« Reply #6 on: March 26, 2009, 21:18:04 »
dgdimick *
Posts: 4

To tell the truth, I almost never need to access the DSL modem, in the past, I've just placed a computer on the "small" network between the F/W and the DSL modem.

I'm starting to think, that sometimes it's just simpler to stick with the low tech solution.

Thanks,

Denis
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines