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

    how to forward lan traffic to local proxy ?

    Scheduled Pinned Locked Moved NAT
    3 Posts 1 Posters 485 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
      wbptls
      last edited by wbptls

      i came across netgate.com/topic/36151 from years ago that has a step by step guide on how to forward all local lan traffic going to the outside world to go through a proxy before going out.

      While the core concepts still stand the same since the gui has updated how does one accomplish this.

      1 Reply Last reply Reply Quote 0
      • W
        wbptls
        last edited by wbptls

        so what i did was this does not work,websites do not resolve

        interface: LAN
        Protocol: TCP
        Source: any
        Source Port: Any
        Destination: any
        Destination Port: 443
        Redirect Target IP: 192.168.1.105 (the filter/proxy server)
        Redirect Target Port: 8080

        if i put the Target IP(of proxy) and Port(of proxy) in my browser the internet works fine but in pfsense nat sites do not resolve. I am running pfsense 2.4.5. Same goes for HTTP/80 port requests. i dont know what exactly i am doing wrong.

        Trying to get all clients to go via proxy than set the proxy settings on each client.

        W 1 Reply Last reply Reply Quote 0
        • W
          wbptls @wbptls
          last edited by

          local proxy server needs to be on a different subnet for nat to work.

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