<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How do I route port 80&#x2F;443 traffic for only one application, local proxy?]]></title><description><![CDATA[<p dir="auto">So I am very familiar with the basics of routing traffic, and have been using pfsense successfully for the last several years for QoS.</p>
<p dir="auto">Recently I have been giving VPN service a try and have configured it so that the traffic from certain hosts on my local network go through the VPN connection which is configured directly on pfsense.</p>
<p dir="auto">Today I have been experimenting with routing only particular ports of a particular local host through the VPN.</p>
<p dir="auto">Now the tricky part…. What I would like is a way to forward port 80 and 443 but only when those ports are used for a particular application (in this case a games launcher) This way any regular traffic on 80 and 443 does NOT go though the VPN, only the port 80 and 443 traffic originating from the particular game launcher/application.</p>
<p dir="auto">I read about ephemeral ports, they appear to be random, so I am not sure the application local port would work unless there is a way to restrict the application to a particular range.</p>
<p dir="auto">The other idea I had was some kind of locally installed proxy directly on the system, that tunnels the traffic for only that application over a particular port so that I can differentiate that traffic on pfsense for routing.</p>
<p dir="auto">and maybe there is an easier way, I am just not sure how to go about telling the different between regular web traffic and game web traffic when they are both on port 80/443. any help and feedback is appreciated!</p>
<p dir="auto">In this particular instance the client machine I am wanting to set this up for is running windows 7, however I also often run linux, so I am interested in both of those set ups if they are OS dependent.</p>
<p dir="auto">When I think about the problem in my head, the solution I come up with is something I install or configure on windows that takes any port 80 traffic from the game client and routes it to say 8080, this way I can distinguish it when it hits pfsense, then I can take that port 8080 traffic and change the port back to 80 instead of 8080 and forward it to the VPN .... I dont know if this particular type of setup is something that is doable.... but surely there must be a way to differentiate the web traffic from different applications with the right solution.</p>
<p dir="auto">Also I am not looking for somebody to spell out the entire setup for me, I know that can take quite a bit of time, just a couple links or if it involves using a particular application, the name of it. Using the search terms I have tried so far, I am not coming up with any workable solutions.</p>
]]></description><link>https://forum.netgate.com/topic/121550/how-do-i-route-port-80-443-traffic-for-only-one-application-local-proxy</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 08:30:47 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/121550.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Oct 2017 12:32:17 GMT</pubDate><ttl>60</ttl></channel></rss>