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

    Possible to receive DHCP broadcasts from WAN on LAN?

    Firewalling
    3
    5
    1.8k
    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.
    • M
      mojo-chan
      last edited by

      I was wondering if someone can help me. I want to be able to receive DHCP broadcasts through the WAN interface, so I can monitor them on a PC on the LAN.

      Basically I have this set-up:

      cable ISP -> modem -> pfSense -> multiple PCs with static IPs

      When the ISP sends out DHCP broadcasts I want to be able to capture them. This is possible with a tool like DHCP Force when connected directly to the modem with no firewall, but obviously this is quite suicidal :-)

      I tried adding rules to the firewall to allow DHCP UDP packets on ports 68 and 69 from 0.0.0.0 and to 255.255.255.255 but it does not seem to work. Is it possible at all?

      PS. I am on RC2 embedded running from a compact flash disk. I know it's old, but it works and has been stable for over a year so I didn't upgrade. If upgrading would help, I can do it.

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

        do i assume correctly that you want "some" IP's from your ISP on your LAN but the normal users stay within the lan-subnet?

        if you have static IP's from your ISP you can use VIP's
        and 1:1 NAT then to your clients.

        if you only want ip's from your ISP on your WAN you can bridge LAN with WAN and use a filtering bridge setup.

        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
        • M
          mojo-chan
          last edited by

          Ah yes, I see. Thanks for that, I'll give it a go.

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            You can't pull multiple IP's from DHCP to use as VIP's, so that won't work if you have to get them via DHCP. The only way you can get leases from your ISP behind your firewall is to bridge an OPT interface to WAN and put the machines that need the public IP's on that interface.

            1 Reply Last reply Reply Quote 0
            • M
              mojo-chan
              last edited by

              cmb: Actually, I don't need leases at all. I just want to monitor the DHCP traffic and record it with DHCP Force or a similar tool. I think you are right though, setting up an OPT interface and bridging it is the only option.

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