<?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[Policy based routing ignored by Squid (Solved)]]></title><description><![CDATA[<p dir="auto">Hello people,</p>
<p dir="auto">I am not totally sure if i have posted in the correct forum, i do not know the exact cause so not sure where to put it(it could be the package, or the routing or something else).</p>
<p dir="auto">I am using pfsense 2.4.2-RELEASE-p1 (amd64) on a device with 5 physical network interfaces (4 lan and 1 wifi).<br />
ethernet 1 - used for emergency connections to the box –&gt; 192.168.1.1<br />
ethernet 2 - VLAN 100 and 300<br />
ethernet 3-  VLAN 700<br />
ethernet 4 - WAN</p>
<p dir="auto">VLAN100 10.10.10.0/24 pfsense ip/gateway = 10.10.10.1 / DHCP scope 10.10.10.100 - 10.10.10.200<br />
VLAN300 10.10.30.0/24 pfsense ip/gateway = 10.10.30.1 / DHCP scope 10.10.30.100 - 10.10.30.200<br />
VLAN300 10.10.70.0/24 pfsense ip/gateway = 10.10.70.1 / DHCP scope 10.10.70.100 - 10.10.70.200</p>
<p dir="auto">i have configured and Squid(with Squidgaurd )proxy, with listening interface 10.10.70.1</p>
<p dir="auto">I have made a succesfull VPN connection, and mapped it to an host on VLAN 300 (10.10.30.201) (specifed gateway)<br />
This works, the traffic for the machine goes through the VPN, while traffic from other hosts goes through the WAN(aka default gw)<br />
I have used this tutorial to accomplish this:<br />
https://pixelsandwidgets.com/2014/10/setup-pfsense-openvpn-client-specific-devices/</p>
<p dir="auto">When i access my squid proxy from the 10.10.70.0/24 network my traffic is redirected through the VPN<br />
When i disable the proxy on my client my traffic is going through the wan.</p>
<p dir="auto">I would like to have the proxy not use the VPN as gateway but my regular WAN, please advice.</p>
<p dir="auto">Thanks you in advance</p>
]]></description><link>https://forum.netgate.com/topic/125719/policy-based-routing-ignored-by-squid-solved</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 17:59:43 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/125719.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Jan 2018 00:49:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Policy based routing ignored by Squid (Solved) on Mon, 15 Jan 2018 13:40:11 GMT]]></title><description><![CDATA[<p dir="auto">Too answer my own question in case someone else has this problem:</p>
<p dir="auto">My VPN provider pushed the route for the default gateway. This was visible in the routes section.</p>
<p dir="auto">I used this article to change the VPN connection<br />
https://community.openvpn.net/openvpn/wiki/IgnoreRedirectGateway</p>
<p dir="auto">This made my pfsense works as expected (including the Squid)</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.netgate.com/post/746005</link><guid isPermaLink="true">https://forum.netgate.com/post/746005</guid><dc:creator><![CDATA[coffeecup]]></dc:creator><pubDate>Mon, 15 Jan 2018 13:40:11 GMT</pubDate></item></channel></rss>