<?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[Amazon AWS VPN to gateway for VPC]]></title><description><![CDATA[<p dir="auto">After performing a search, I found a couple of old topics around AWS and their VPN settings. None of them had a conclusion in the posts. So I am posting to see if anyone has successfully connected Pfsense to the Amazon AWS VPC cloud.</p>
<p dir="auto">So… has anyone been able to get connected to AWS? If so, maybe you can help.</p>
<p dir="auto">The IPSec VPN tunnels appear to be connected properly. I show the tunnels up on my side, and AWS shows the gateway as "attached". However, I cannot connect to any device on the other end of the VPN gateway across the VPN. This is leading me to believe that I have an issue with the BGP of the tunnels, and most likely errors in the OpenBGPD config. I was changing the settings in the tabs within the OpenBGPD package, and the information that I believed should be in the config was not showing up, so I manually changed the config. After playing around I was never able to get information to pass across the VPN - that's when I started trying things and now the service won't start. Removing and re-installing the package has no effect, as it's not deleting the config and supporting files.</p>
<p dir="auto">Here is what my current bgpd.conf looks like:</p>
<h1><a class="anchor-offset" name="br-as-65000-br-fib-update-yes-br-holdtime-30-br-listen-on-10.0.14.2-br-router-id-97.65.19x.xx-br-announce-default-route-br-network-0.0.0.0-0-br-group-quot-amazonvpc-quot-br-remote-as-xxxx-br-neighbor-169.254.25x.x-br-descr-quot-aws-neighbor-1-quot-br-br-neighbor-169.254.25x.x-br-descr-quot-aws-neighbor-2-quot-br-br-br-allow-from-any-br-allow-to-any"></a>=================================<br />
AS 65000<br />
fib-update yes<br />
holdtime 30<br />
listen on 10.0.14.2<br />
router-id 97.65.19X.XX<br />
announce default-route<br />
network 0.0.0.0/0<br />
group "AmazonVPC" {<br />
                  remote-as XXXX<br />
                  neighbor 169.254.25X.X {<br />
                          descr "AWS Neighbor 1"<br />
                  }<br />
                  neighbor 169.254.25X.X {<br />
                          descr "AWS Neighbor 2"<br />
                  }<br />
          }<br />
allow from any<br />
allow to any</h1>
<p dir="auto">10.0.14.2 is the internal IP of the router<br />
97.65.19X.XX is the external IP of the router</p>
<p dir="auto">Any clue as to where to look without simply removing each line and continuing to experiment? Does someone have a good BGP config that they can pass along?</p>
<p dir="auto">Thanks to anyone that can help.</p>
<p dir="auto">In case it matters for this issue:<br />
Pfsense 2-RC1 - Feb 28<br />
i386</p>
]]></description><link>https://forum.netgate.com/topic/32385/amazon-aws-vpn-to-gateway-for-vpc</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 15:50:53 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/32385.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Apr 2011 20:33:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Amazon AWS VPN to gateway for VPC on Mon, 12 Dec 2011 16:44:25 GMT]]></title><description><![CDATA[<p dir="auto">The guide you mentioned was really excellent, but I wasn't able to get BGP to connect.</p>
<p dir="auto">In the ipsec phase 2 settings, the Local Network and Remote network are specified like this:</p>
<p dir="auto">169.254.255.2/30<br />
169.254.255.1/30</p>
<p dir="auto">I tried specifying these to be individual IPs instead.</p>
<p dir="auto">The other thing was that I don't understand why you specify a static route for 169.254.255.2 to go out of the WAN interface. Surely this traffic (for BGP) needs to go out of the ipsec interface? So I deleted the static route that was described in phase 2. I'm really not sure that route is needed. I deleted it, and then BGP seemed to connect…</p>
<p dir="auto">After all this, the AWS control panel still shows the connection as in state DOWN, but pfsense shows things are connected - so I feel like I've made progress!</p>
<p dir="auto">Has anybody else got experience of making this all work?</p>
<p dir="auto">Tom</p>
]]></description><link>https://forum.netgate.com/post/308297</link><guid isPermaLink="true">https://forum.netgate.com/post/308297</guid><dc:creator><![CDATA[tomkerswill]]></dc:creator><pubDate>Mon, 12 Dec 2011 16:44:25 GMT</pubDate></item><item><title><![CDATA[Reply to Amazon AWS VPN to gateway for VPC on Fri, 08 Jul 2011 01:56:38 GMT]]></title><description><![CDATA[<p dir="auto">I followed the blog by seattle-it but i can't get my ipsec tunnels to establish. http://forum.pfsense.org/index.php/topic,38709.0.html</p>
]]></description><link>https://forum.netgate.com/post/286415</link><guid isPermaLink="true">https://forum.netgate.com/post/286415</guid><dc:creator><![CDATA[gilry]]></dc:creator><pubDate>Fri, 08 Jul 2011 01:56:38 GMT</pubDate></item><item><title><![CDATA[Reply to Amazon AWS VPN to gateway for VPC on Mon, 30 May 2011 23:42:01 GMT]]></title><description><![CDATA[<p dir="auto">I was finally able to get this going. Check the blog post I wrote up about it here:</p>
<p dir="auto"><a href="http://seattleit.net/blog/pfSense-IPSec-VPN-Gateway-with-Amazon-Virtual-Private-Cloud-BGP-Routing" target="_blank" rel="noopener noreferrer nofollow ugc">http://seattleit.net/blog/pfSense-IPSec-VPN-Gateway-with-Amazon-Virtual-Private-Cloud-BGP-Routing</a></p>
<p dir="auto">Leave a reply if you need help.</p>
]]></description><link>https://forum.netgate.com/post/280996</link><guid isPermaLink="true">https://forum.netgate.com/post/280996</guid><dc:creator><![CDATA[seattle-it]]></dc:creator><pubDate>Mon, 30 May 2011 23:42:01 GMT</pubDate></item><item><title><![CDATA[Reply to Amazon AWS VPN to gateway for VPC on Mon, 04 Apr 2011 22:55:23 GMT]]></title><description><![CDATA[<p dir="auto">After a boat-load of testing (and failing) I have figured out a config that doesn't blow up the OpenBGPD service:</p>
<p dir="auto">===============================</p>
<p dir="auto">AS 65000<br />
router-id 10.0.XX.X<br />
listen on 10.0.XX.X<br />
listen on 169.254.255.2<br />
listen on 169.254.255.6<br />
      neighbor 169.254.25X.X {<br />
            remote-as 7224     <br />
            local-address 169.254.255.2<br />
            holdtime 30<br />
            holdtime min 30<br />
            announce default-route<br />
            announce IPv6 none<br />
            announce IPv4 unicast<br />
      }<br />
      neighbor 169.254.255.5 {<br />
              remote-as 7224     <br />
              local-address 169.254.255.6<br />
              holdtime 30<br />
              holdtime min 30<br />
              announce default-route<br />
              announce IPv6 none<br />
              announce IPv4 unicast<br />
      }</p>
<p dir="auto">===============================</p>
<p dir="auto">For some reason I cannot get the "group" command to work at all… so I opted for two "neighbor" commands.</p>
<p dir="auto">Anywho... does anyone have any ideas on the IPSec errors on the 2nd post?</p>
]]></description><link>https://forum.netgate.com/post/273609</link><guid isPermaLink="true">https://forum.netgate.com/post/273609</guid><dc:creator><![CDATA[TimmZahn]]></dc:creator><pubDate>Mon, 04 Apr 2011 22:55:23 GMT</pubDate></item><item><title><![CDATA[Reply to Amazon AWS VPN to gateway for VPC on Mon, 04 Apr 2011 21:23:47 GMT]]></title><description><![CDATA[<p dir="auto">Another piece of info… It may be the VPN after all.</p>
<p dir="auto">Can someone look at the errors in the IPSec logs and tell me what they mean?</p>
<p dir="auto">================================</p>
<p dir="auto">[Amazon AWS VPC Tunnel 1]: INFO: ISAKMP-SA deleted 97.65.19X.XX[500]-72.21.209.XXX[500] spi:6743c2c6307db685:a7523d4fbd9ebbf4<br />
[Amazon AWS VPC Tunnel 1]: INFO: initiate new phase 2 negotiation: 97.65.19X.XX[500]&lt;=&gt;72.21.209.XXX[500]<br />
[Amazon AWS VPC Tunnel 1]: INFO: IPsec-SA established: ESP 97.65.19X.XX[500]-&gt;72.21.209.XXX[500] spi=3087783866(0xb80bd7ba)<br />
[Amazon AWS VPC Tunnel 1]: INFO: respond new phase 2 negotiation: 97.65.19X.XX[500]&lt;=&gt;72.21.209.XXX[500]<br />
ERROR: failed to get sainfo.<br />
ERROR: failed to get sainfo.<br />
ERROR: failed to pre-process packet.<br />
[Amazon AWS VPC Tunnel 2]: INFO: IPsec-SA established: ESP 72.21.209.XXX[0]-&gt;97.65.19X.XX[0] spi=192685429(0xb7c2575)<br />
[Amazon AWS VPC Tunnel 2]: INFO: initiate new phase 2 negotiation: 97.65.19X.XX[500]&lt;=&gt;72.21.209.XXX[500]<br />
[Amazon AWS VPC Tunnel 2]: INFO: IPsec-SA established: ESP 97.65.19X.XX[500]-&gt;72.21.209.XXX[500] spi=2300373793(0x891ceb21)<br />
[Amazon AWS VPC Tunnel 2]: INFO: respond new phase 2 negotiation: 97.65.19X.XX[500]&lt;=&gt;72.21.209.XXX[500]<br />
ERROR: failed to get sainfo.<br />
ERROR: failed to get sainfo.<br />
ERROR: failed to pre-process packet.<br />
[Amazon AWS VPC Tunnel 1]: INFO: respond new phase 2 negotiation: 97.65.19X.XX[500]&lt;=&gt;72.21.209.XXX[500]<br />
ERROR: failed to get sainfo.<br />
ERROR: failed to get sainfo.<br />
ERROR: failed to pre-process packet.<br />
[Amazon AWS VPC Tunnel 2]: INFO: respond new phase 2 negotiation: 97.65.19X.XX[500]&lt;=&gt;72.21.209.XXX[500]<br />
ERROR: failed to get sainfo.<br />
ERROR: failed to get sainfo.<br />
ERROR: failed to pre-process packet.</p>
<p dir="auto">================================</p>
<p dir="auto">Thanks boys and girls…</p>
]]></description><link>https://forum.netgate.com/post/273598</link><guid isPermaLink="true">https://forum.netgate.com/post/273598</guid><dc:creator><![CDATA[TimmZahn]]></dc:creator><pubDate>Mon, 04 Apr 2011 21:23:47 GMT</pubDate></item></channel></rss>