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

    ADSL modem config page on the WAN interface

    Scheduled Pinned Locked Moved NAT
    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.
    • P
      phils
      last edited by

      I have a Pfsense box with two NICs.. one for LAN and one for WAN (goes to an ADSL modem).

      My LAN is 192.168.0.0/24.

      The ADSL modem also has an IP address of 192.168.1.254 but it is in bridged mode (so pfsense does pppoe).

      When I used to use linux in place of pfsense, I executed the following commands:

      ifconfig eth1 192.168.1.100
      /sbin/iptables –table nat --append POSTROUTING -s 192.168.0.0/24 -d 192.168.1.254/32 --out-interface eth1 -j SNAT --to-source 192.168.1.100

      This would assign 192.168.1.100 to my WAN interface, and then do some NAT trickery so that a PC on my lan could browse to http://192.168.1.254 and would get my ADSL modem config page.

      Is there any way I can achieve this functionality using Pfsense?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        Please use the search function.
        This has been asked numerous times.

        –> http://forum.pfsense.org/index.php/topic,5727.msg34562.html#msg34562

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.