<?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[Routing from A to B to C using IPsec tunnels]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I currently have 3 sites connected via IPsec and pfSense:  A,B,C</p>
<p dir="auto">In total there will be 9 sites, so want to use B as a hub.</p>
<p dir="auto">So:<br />
A has IPsec to B<br />
C has IPsec to B</p>
<p dir="auto">B &amp; A can ping each other<br />
B &amp; C can ping each other</p>
<p dir="auto">But…<br />
A can not ping C</p>
<p dir="auto">I have:</p>
<p dir="auto">tried setting manual routes on A for C's Subnet ; And on C for A's subnet<br />
tried adding a second Phase 2 configuration on A for C's Subnet ; and vice versa</p>
<p dir="auto">But I did not stumble onto a working solution.<br />
What is the correct approach?</p>
<p dir="auto">Thanks in advance</p>
]]></description><link>https://forum.netgate.com/topic/90922/routing-from-a-to-b-to-c-using-ipsec-tunnels</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 20:16:35 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/90922.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Oct 2015 13:38:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Routing from A to B to C using IPsec tunnels on Wed, 28 Oct 2015 22:45:46 GMT]]></title><description><![CDATA[<p dir="auto">Assuming that A, B, and C are all running pfSense it's relatively straightforward.</p>
<p dir="auto">Example LANs:<br />
Router A -&gt; 10.10.0.0/24<br />
Router B -&gt; 10.20.0.0/24<br />
Router C -&gt; 10.30.0.0/24</p>
<h2><a class="anchor-offset" name="router-a-br-br-phase-1-on-a-heading-to-b-has-two-child-phase-2-br-1.-10.10.0.0-24-gt-10.20.0.0-24-br-2.-10.10.0.0-24-gt-10.30.0.0-24"></a>Router A<br />
–---------<br />
Phase 1 on A heading to B has two child Phase 2<br />
1. 10.10.0.0/24 -&gt; 10.20.0.0/24<br />
2. 10.10.0.0/24 -&gt; 10.30.0.0/24</h2>
<h2><a class="anchor-offset" name="router-b-b-must-know-what-to-do-with-transiting-traffic-this-is-probably-what-you-re-missing"></a>Router B (B must know what to do with transiting traffic, this is probably what you're missing)</h2>
<p dir="auto">Phase 1 on B heading to A has two child Phase 2<br />
1. 10.20.0.0/24 -&gt; 10.10.0.0/24<br />
2. 10.30.0.0/24 -&gt; 10.10.0.0/24 (C -&gt; A Transit)</p>
<h2><a class="anchor-offset" name="phase-1-on-b-heading-to-c-has-two-child-phase-2-br-1.-10.20.0.0-24-gt-10.30.0.0-24-br-2.-10.10.0.0-24-gt-10.30.0.0-24-a-gt-c-transit"></a>Phase 1 on B heading to C has two child Phase 2<br />
1. 10.20.0.0/24 -&gt; 10.30.0.0/24<br />
2. 10.10.0.0/24 -&gt; 10.30.0.0/24 (A -&gt; C Transit)</h2>
<h2><a class="anchor-offset" name="router-c"></a>Router C</h2>
<h2><a class="anchor-offset" name="phase-1-on-c-heading-to-b-has-two-child-phase-2-br-1.-10.30.0.0-24-gt-10.20.0.0-24-br-2.-10.30.0.0-24-gt-10.10.0.0-24"></a>Phase 1 on C heading to B has two child Phase 2<br />
1. 10.30.0.0/24 -&gt; 10.20.0.0/24<br />
2. 10.30.0.0/24 -&gt; 10.10.0.0/24</h2>
<p dir="auto">Also make sure that under Firewall -&gt; Rules -&gt; IPSEC that you pass IPSEC traffic for anything (all asterisks in all columns) on all routers. After getting the tunnels up you can make finer grained rules if you want.</p>
]]></description><link>https://forum.netgate.com/post/579981</link><guid isPermaLink="true">https://forum.netgate.com/post/579981</guid><dc:creator><![CDATA[ltctech]]></dc:creator><pubDate>Wed, 28 Oct 2015 22:45:46 GMT</pubDate></item></channel></rss>