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

    Push certain traffic to a specific proxy server

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 3 Posters 1.8k 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.
    • G
      gsxr69
      last edited by

      Hi,

      I have pfsense 1.2.3 running and would like to push all traffic that goes to a certain website (www.xyz.com) to a proxy server. All other traffic continues to flow over my ISP as normal.

      Or, as an alternative and this is something I would prefer but suspect that its not possible… Can pfsense connect to a remote VPN server, but only traffic pointed to the xyz domain is pushed over the VPN, all other traffic is pushed via my ISP as is right now?

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        That's not really possible.  The best you can achieve is to use a proxy autoconfig file to tell the browser what domains to use the proxy for and which to go direct.

        1 Reply Last reply Reply Quote 0
        • R
          ryven
          last edited by

          Only option I can think of is send all internet traffic through the proxy and bypass proxy for some sites.

          In Squid disable transparent proxy.
          In "Internet Explorer"(not sure if other browsers supports this) > Options > Connections > Lan settings : set proxy address x.x.x.x port 3128.
          Under "advanced" you can add addresses that will not use the proxy server.

          Hope this helps

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