• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

PPPOE modem access

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
2 Posts 2 Posters 1.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    olivier1010
    last edited by Mar 22, 2009, 12:01 PM

    Hi, would it be possible to add a field to set the local IP address subnet of the modem for PPPOE interfaces ?

    Without this it is not possible to access the modem interface, this is very usefull to monitor statistics or setup advanced parameters for the DSL physical link (on some modems it is possible to setup the noise margin).

    I tried to use a forum trick, adding manually another static interface on the same physical interface, with a specific NAT rule for it, but this seem to not work on 2.0 alpha alpha.

    Adding a field to enter an ip address for the interface in the subnet of the modem local ip address would be really nice.

    With openwrt i had to add this in the custom user startup script :

    ifconfig vlan1 10.10.0.1 netmask 255.255.255.0
    iptables -A FORWARD -d 10.10.0.254 -j ACCEPT
    iptables -t nat -A POSTROUTING -d 10.10.0.254 -j MASQUERADE

    Thanks

    Olivier.

    1 Reply Last reply Reply Quote 0
    • L Offline
      leandronf
      last edited by Jul 30, 2009, 7:22 PM

      Hi,

      Try this:

      In the shell or "Diagnostics / Command"

      = vr0 interface connected to the modem
      Ip address = 192.168.1.1 to pfsense on the same track in modem

      ifconfig vr0 alias 192.168.1.1 netmask 255.255.255.0

      Now in firewall / Rules create a rule to Lan

      • 192.168.0.0/24 * 192.168.1.254 * *  - Default LAN -> Modem

      Which says that any packet of any protocol from the network 192.168.0.0/24 (LAN) to the ip 192.168.1.254 (ip modem) will have access.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        [[user:consent.lead]]
        [[user:consent.not_received]]