ADSL modem config page on the WAN interface



  • 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.



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

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


Log in to reply