Navigation

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

    Captive Portal behind router

    General pfSense Questions
    2
    6
    3914
    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.
    • A
      Atlantes last edited by

      pfSense 01 = Captive Portal
      pfSense 02 = Router with VLANS

      if I change the settings to default I have a nice login page when I want to use the internet. But if I check the log in the web interface it registers the MAC and IP of pfSense 02 instead of the client MAC and IP.

      How can I change this so I see the client MAC and IP address instead of the pfSense 02 MAC and IP address.

      I already changed things in NAT with outbound and static routers but can't get it working correctly.

      Maybe someone can help me with this.

      1 Reply Last reply Reply Quote 0
      • D
        danswartz last edited by

        If pfsense 1 is the real firewall, pfsense 2 probably doesn't even need to be doing NAT - disable NAT entirely on that unit.  I think you do this by enabling AON, and the editing the rule it shows you, clicking on the "no NAT" checkbox.  This basically turns the unit into a firewalling router.  That still won't help you with the MAC issue, since MAC addresses are not going to be passed across subnet boundaries.  Do you really need the MAC?

        1 Reply Last reply Reply Quote 0
        • A
          Atlantes last edited by

          mac is not needed.

          But do i need to make static routes? Because if i disable nat i can't access the pfsense 01 of course.

          1 Reply Last reply Reply Quote 0
          • D
            danswartz last edited by

            Oh yeah, sorry, forgot about that.  Yes, pfsense 1 would need the requisite static route(s) for any subnets behind pfsense 2.

            1 Reply Last reply Reply Quote 0
            • A
              Atlantes last edited by

              on pfsense 02 i selected Manual Outbound NAT rule generation (Advanced Outbound NAT (AON))
              I removed the auto created rule.

              on pfsense 01 i made this static rule:
              Interface: LAN
              Destination network: 172.16.0.0/16
              gateway: 192.168.1.4

              But it isn't working. someone ideas?

              1 Reply Last reply Reply Quote 0
              • D
                danswartz last edited by

                Why did you remove the auto-created rule?  That wasn't what I said.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post