<?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[Pfsense 2.3.5 p1: gateway group not updated on OpenVPN client reconnect]]></title><description><![CDATA[<p dir="auto">Setup:</p>
<p dir="auto">WAN1 - (PPPOE)<br />
WAN2 - VPNV4 - Openvpn client in TUN mode connected via WAN1</p>
<p dir="auto">Gateway group: Test_Group (VPNV4 - Tier1,  WAN1 - Tier2)</p>
<p dir="auto">Everything works as expected until WAN1 disconnect.</p>
<p dir="auto">If I disconnect WAN1, WAN2 goes offline too in a minute or two.<br />
When i reconnect WAN1, gateway group is updated (/tmp/rulse.debug) with following:</p>
<p dir="auto">GWWAN1_PPPOE = " route-to ( pppoe0 11.22.33.44 ) "<br />
GWVPN_VPNV4 = "   "<br />
GWTest_Group = "  route-to { ( pppoe0 11.22.33.44 )  }  "</p>
<p dir="auto">Then in several second OpenVPN goes online, but /tmp/rulse.debug contains following:</p>
<p dir="auto">GWWAN1_PPPOE = " route-to ( pppoe0 11.22.33.44 ) "<br />
GWVPN_VPNV4 = " route-to ( ovpnc3 10.8.0.5 ) "<br />
GWTest_Group = "  route-to { ( pppoe0 11.22.33.44 )  }  "   //!!! wrong: should be ovpnc3 10.8.0.5 (Tier1)</p>
<p dir="auto">This is the final state, no matter how long you will wait. All gateways in gateway group are green (online), but routing goes through Tier2 gateway.</p>
<p dir="auto">If i udpate ANY (even non related to this gateway group) firewall rule, or restart OpenVPN service then routing becomes correct:</p>
<p dir="auto">GWWAN1_PPPOE = " route-to ( pppoe0 11.22.33.44 ) "<br />
GWVPN_VPNV4 = " route-to ( ovpnc3 10.8.0.5 ) "<br />
GWTest_Group = "  route-to ( ovpnc3 10.8.0.5 )  "</p>
<p dir="auto">So it seems then something is not updated when openvpn reconnects automatically (without restarting it's service).</p>
]]></description><link>https://forum.netgate.com/topic/136937/pfsense-2-3-5-p1-gateway-group-not-updated-on-openvpn-client-reconnect</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 00:54:33 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/136937.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 Oct 2018 01:09:40 GMT</pubDate><ttl>60</ttl></channel></rss>