Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» General Questions» Access broadband modem from lan
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Access broadband modem from lan  (Read 10289 times)
0 Members and 1 Guest are viewing this topic.
webstar
Newbie
*
Offline Offline

Posts: 21


View Profile
« on: August 01, 2007, 10:22:39 pm »

How can I access my DSL modems telnet interface from the LAN side of the network.

PfSense is doing all the PPPoE so the modem is just running as a bridge.

LAN runs on 192.168.1.X  and modem has 10.0.0.138 and 192.168.1.254 assigned to it by default. I tried just 192.168.1.254 but it doesn't work.
Logged
Abdsalem
Full Member
***
Offline Offline

Posts: 278


View Profile
« Reply #1 on: August 02, 2007, 09:41:40 pm »

Try accessing it thru 10.0.0.138 address


Logged
webstar
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #2 on: August 02, 2007, 10:12:19 pm »

Tried with no go. Do I need to create rules?
Logged
GruensFroeschli
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4901


No i will not fix your computer!


View Profile WWW
« Reply #3 on: August 03, 2007, 04:49:46 am »

i suppose your wan ip of the pf is a public ip (since your modem only bridges).
i think you need to add something that relay's the packets addressed to your modem actually to your modem and not to the gateway of your ISP.

i would have to play around but i think about a static route and AON.
Logged

We do what we must, because we can.
(Except when you PM me to help you directly - DONT: keep your issues in the forum)
redpanther
Jr. Member
**
Offline Offline

Posts: 41



View Profile
« Reply #4 on: August 04, 2007, 10:31:33 am »

If it is anything like my SpeedStream 4100 DSL modem I don't think you will be able to access it. The modem must be doing the PPPoE to access the modem settings. Bridgemode = dumb modem
Logged

Acer Aspire One Netbook
Atom 1.6 GHZ
1GB ram
Lan RE0 Onboard Realtek
Wan UE0 Trendnet TU2-ET100 USB-LAN
rsw686
Global Moderator
Sr. Member
*****
Offline Offline

Posts: 522


View Profile WWW
« Reply #5 on: August 04, 2007, 11:43:46 am »

Make sure block private networks is unchecked on the interfaces -> wan page.
Logged
Jonb
Sr. Member
****
Offline Offline

Posts: 394


View Profile WWW
« Reply #6 on: August 08, 2007, 03:04:09 am »

The way I have done this in the past in just plug the modem/router into the lan as well. You can do this ither by setting up a vlan on a switch or if the router has a switch plug it in there.  I have done this with a vigor 2800 from Draytek.
Logged

For IP connectivity and UK co-lo hosting check us out.
http://www.peerpointinternet.co.uk
jahonix
Hero Member
*****
Offline Offline

Posts: 829



View Profile
« Reply #7 on: August 09, 2007, 03:46:11 am »

Search the forum!

Hoba wrote about this some time ago. There are 3rd party tools that can monitor/display line quality etc.
That's originally a Linux software that was ported to windows but I cannot remember the name...
Logged

Chris


Theoretically, theory and practis should be the same.
Practically they aren't.
jahonix
Hero Member
*****
Offline Offline

Posts: 829



View Profile
« Reply #8 on: August 15, 2007, 09:01:24 am »

OK, found the thread.
Here's what HOBA wrote:

With Databeestje's help we found a solution:

SSH to pfSense and input the following:

Code:
pkg_add -r redir
ifconfig fxp0 192.168.0.2/24
redir --lport 8989 --cport 80 --caddr 192.168.0.1 &

In this example 'fxp0' is the real WAN interface (on which pfSense runs PPPoE).
In the example it gets an IP address (192.168.0.2/24) from the modem's subnet (192.168.0.1/24) assigned and
redir puts a Proxy on port 8989 of the pfSense and forwards it to the modem on port 80
You can access the modem by connecting to any of the pfSense's addresses (e.g. LAN) on port 8989 and get redirected to the modem's WEBGUI.

To access your modem with Telnet simply change the destination port (--cport) to 23 (or 22 for SSH).
In your case you better use the 10.x.y.z network.

just a quick'n dirty translation from German...
Logged

Chris


Theoretically, theory and practis should be the same.
Practically they aren't.
Master One
Jr. Member
**
Offline Offline

Posts: 47


View Profile
« Reply #9 on: April 05, 2008, 05:22:43 pm »

Well, looks like this is what I was looking for. Is this still the best way to access a DSL modem's webinterface through pfSense (since this wiki page for m0nowall describes a different procedure, but it was mentioned in another thread, that this way is not working on pfSense)?

If this is still the recommended way to go, how to make this addition permanent (so that it's established on boot)?
Logged
hoba
Administrator
Hero Member
*****
Offline Offline

Posts: 5844


What was the problem to this solution again?


View Profile WWW
« Reply #10 on: April 05, 2008, 06:03:29 pm »

You can add the last 2 lines manually to your config.xml as hidden shellcommands. Search the forum, there are some examples on how to use hidden config.xml options.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.03 seconds with 20 queries.