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

    Pfsense: Port forwarding behaves diffrently than a D-link router

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 1.9k 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
      puser
      last edited by

      I am trying to understand the port forwarding behaviour in pfsense.

      My previous network setup:
      MODEM<–>Router[D-link]<–--->ISA2006<----->Private LAN (mail server, web server, portal server)
      I was using port forwarding from my router to ISA server. ISA server detects the URL of the request and take appropriate actions. For example https://www.friendspc.ca/owa will be handled differently than https://www.friendspc.ca/portal. It helps me to publish these two sites on separate servers using the same public IP. Recently I got a /30 routed subnet from my ISP and I wanted to publish my portal site as https://portal.friendspc.ca bound to a new public IP address. However, my D-link router was not capable of handling these new public IPs.

      So I decided to switch to pfsense.
      My current network setup:
      MODEM<-->router[pfsense]<–--->ISA2006<----->Private LAN (mail server, web server, portal server)

      I setup port forwarding in pfsense. However it does not send URL with with the port forwarding request so my ISA2006 does not like the request and apply the default behaviour of dropping/ignoring the request.

      Can Anyone explains why I am seeing this behaviour in pfsense but not with the D-Link router?
      Is there a way to fix it?

      Note: I must keep ISA2006 in my network setup.

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

        What exactly do you mean with a "routed /30 subnet"?
        That kind of doesnt make sense because that would mean you have only: "netid, router, usableIP, broadcast"

        Or do you mean you have 4 public IP's you can use (all in the same subnet)?
        In this case you have to setup VIP's.

        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
        • P
          puser
          last edited by

          Let me add more detail:
          My WAN IP (pppoe): 206.248.172.202
          My new Routed subnet is : 76.10.178.20/30 so I have one more routable address 76.10.178.22. This IP address is routed through my WAN IP. I do use virtual IP for this. No problem.

          However, I still need to access https://www.friendspc.ca/owa through my WAN IP. I guess I need to use port forwarding in this case which does not work as I was expecting.

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

            I'm not sure i understand correctly what the problem is.

            If you forward traffic then this traffic gets forwarded.
            There is no
            "However it does not send URL with with the port forwarding request so my ISA2006 does not like the request and apply the default behaviour of dropping/ignoring the request."
            part.
            Either it forwards the traffic or not.

            Also i'm not sure how exactly you did use your additional /30 subnet.

            If it gets routed to your public IP, you can add the first usable IP in the /30 subnet to an interface on pfSense and the second usable IP to a server.

            If you created VIP's on the WAN the you should be able to make use of the first and the second IP.
            Just NAT forward from the VIP's to your servers in your private address-space.

            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.