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

Enable DHCP on WAN interface

Scheduled Pinned Locked Moved DHCP and DNS
5 Posts 2 Posters 3.2k 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
    pcatiprodotnet
    last edited by Apr 23, 2006, 2:20 PM Apr 23, 2006, 2:16 PM

    I'm using a WRAP.2C with 1 lan and 1 wan interface.
    The lan interface has Internet access via my cable modem (which has built-in NAT & DHCP).
    I have olsr enabled on wan.  Since olsr doesn't have auto-configuration built in,
    I need to enable a DHCP server (or DHCP forwarding) on the wan port for those clients
    who don't know how to hard-code our configuration information (ip/netmask/gatway/dns).

    As of now, the only way I know to do this would be to add another wireless mini-pci card
    so pfSense would have one on OPT1 which has dhcp server capability; and simply leave
    the card on wan unused, which would be a senseless waste of hardware.
    Thanks,-pc

    1 Reply Last reply Reply Quote 0
    • P
      pcatiprodotnet
      last edited by Apr 23, 2006, 10:58 PM Apr 23, 2006, 10:17 PM

      I solved this by adding Firewall->Rules for any/any access on both the Wan and Lan interfaces…
      Then, Interfaces->Assign and transpose/swap the Lan and Wan ports...  Adjust the network
      settings on your PC to be on the proper IP range for the new Lan(formerly Wan) port...  And
      finally, Point your browser to the IP address of the Lan(formerly Wan) interface.
      -pc

      1 Reply Last reply Reply Quote 0
      • P
        pcatiprodotnet
        last edited by Apr 25, 2006, 8:38 PM

        The above solution worked fine for the first wireless mesh node.
        However, this won't work for subsequent wireless mesh nodes.
        The wireless mesh node needs to serve/forward DHCP on both
        the LAN and WAN ports.  Could someone post how/what config
        files to manually edit to turn on DHCP on the WAN interface?
        I'm using the Embedded pfSense version.
        Thank you,
        -Pete

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by Apr 25, 2006, 9:00 PM

          Edit /usr/local/www/services_dhcp.php

          Edit line 40 from:

          $iflist = array("lan" => "LAN");

          to:

          $iflist = array("lan" => "LAN", "wan" => "WAN");

          1 Reply Last reply Reply Quote 0
          • P
            pcatiprodotnet
            last edited by Apr 27, 2006, 1:17 PM

            Solved:
            http://forum.pfsense.org/index.php?topic=677.msg6547#msg6547

            1 Reply Last reply Reply Quote 0
            2 out of 5
            • First post
              2/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received