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

    FWD 80 port from Lan to Lan

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 3 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.
    • W Offline
      Wh1te
      last edited by

      Hi,

      I have following:

      local clients (192.168.1.10 - 192.168.1.20)
      Web server (192.168.1.165)
      Pfsense (int ip 192.168.1.191)

      That I want:

      If client trying open specific internet website (e.g. ip addr 1.1.1.1)  all traffic should be redirected to local web server.

      Is it possible?

      1 Reply Last reply Reply Quote 0
      • T Offline
        tommyboy180
        last edited by

        That sounds like conditional NAT, which I think is being worked on in beta 2.0

        Can you use DNS instead of IP addresses? DNS would be much easier.

        -Tom Schaefer
        SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

        Please support pfBlocker | File Browser | Strikeback

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

          This won't work, since you are trying to redirect traffic back out the interface it came in on, which PF does not support.  This can be made to work a couple of different ways, I think, but not easily, I don't think.

          1 Reply Last reply Reply Quote 0
          • W Offline
            Wh1te
            last edited by

            Hi all, thanks for reply. It's solved using DNS forwarder ( static mapping ).

            And one more thing which I want realize:

            If someone from internet connecting to my public WAN ip by 8000 port, connection should route to another Internet address and another port.
            I think it can be implemented as it worked on my win server with winroute.

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

              Yes, split DNS, I should have mentioned that.

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