<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Setting up IPSec over GRE on OpenBSD</title>
	<atom:link href="http://bsdsupport.org/2007/05/setting-up-ipsec-over-gre-on-openbsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://bsdsupport.org/2007/05/setting-up-ipsec-over-gre-on-openbsd/</link>
	<description></description>
	<lastBuildDate>Wed, 21 Mar 2012 10:06:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: icmp: 224.0.0.5 protocol 89 port 44 unreachable (gre encap) - Error over IPSEC/GRE</title>
		<link>http://bsdsupport.org/2007/05/setting-up-ipsec-over-gre-on-openbsd/comment-page-1/#comment-273</link>
		<dc:creator>icmp: 224.0.0.5 protocol 89 port 44 unreachable (gre encap) - Error over IPSEC/GRE</dc:creator>
		<pubDate>Sat, 03 Mar 2012 13:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://bsdsupport.org/2007/05/setting-up-ipsec-over-gre-on-openbsd/#comment-273</guid>
		<description>[...]  http://www.kernel-panic.it/openbsd/vpn/vpn3.html  http://www.openbsdsupport.org/vpn-ipsec.html  http://bsdsupport.org/2007/05/settin...re-on-openbsd/    Here is what I have done, in a Virtual Box setup:   (Simulated) Internal Network1: 88.88.88.0/23 [...]</description>
		<content:encoded><![CDATA[<p>[...]  <a href="http://www.kernel-panic.it/openbsd/vpn/vpn3.html" rel="nofollow">http://www.kernel-panic.it/openbsd/vpn/vpn3.html</a>  <a href="http://www.openbsdsupport.org/vpn-ipsec.html" rel="nofollow">http://www.openbsdsupport.org/vpn-ipsec.html</a>  <a href="http://bsdsupport.org/2007/05/settin" rel="nofollow">http://bsdsupport.org/2007/05/settin</a>&#8230;re-on-openbsd/    Here is what I have done, in a Virtual Box setup:   (Simulated) Internal Network1: 88.88.88.0/23 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://bsdsupport.org/2007/05/setting-up-ipsec-over-gre-on-openbsd/comment-page-1/#comment-183</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 03 Jan 2011 04:39:27 +0000</pubDate>
		<guid isPermaLink="false">http://bsdsupport.org/2007/05/setting-up-ipsec-over-gre-on-openbsd/#comment-183</guid>
		<description>Is it mandatory to use the additional 172.16.X.X addresses?  Could you not just set up a gre tunnel using the public IPs as your outter header and two private IPs from the internal networks as the inner header?  It seems to be that the extra tunnel endpoints are just extra configuration.</description>
		<content:encoded><![CDATA[<p>Is it mandatory to use the additional 172.16.X.X addresses?  Could you not just set up a gre tunnel using the public IPs as your outter header and two private IPs from the internal networks as the inner header?  It seems to be that the extra tunnel endpoints are just extra configuration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imre</title>
		<link>http://bsdsupport.org/2007/05/setting-up-ipsec-over-gre-on-openbsd/comment-page-1/#comment-92</link>
		<dc:creator>Imre</dc:creator>
		<pubDate>Sun, 13 Jul 2008 21:18:14 +0000</pubDate>
		<guid isPermaLink="false">http://bsdsupport.org/2007/05/setting-up-ipsec-over-gre-on-openbsd/#comment-92</guid>
		<description>Hi! I found this article very useful, followed it and managed to get myself working soluton (though actually i used gif interfaces), thanks! But one remark, if routing traffic over ipsec between two private networks, does it really suffice to have &#039;ike esp transport from 10.0.0.5 to 192.168.0.5&#039; and not tunneling? I tested it and saw traffic unencripted until i added something like &#039;ike esp tunnel from subnet to sunbet peer 172.16.0.x&#039;.


@Imre
The addresses used in this were for example only.  Transport is used for the two endpoints of the gre tunnel.  The gre tunnel itself (and the routes that are added) takes care of the networks behind the endpoints.  You could do this with IPSec in tunnel mode but I&#039;ve found transport to be more efficient.  For example I run ospf on both endpoints and redistribute numerous routes.  This could result in a large number of ipsec tunnels.  Instead if you simply encrypt the traffic between the gre endpoints you can dynamically add networks behind the endpoints without having the be concerned with updating ipsec.  Hope this helps shed some light on your options and why I made the choices I did.
</description>
		<content:encoded><![CDATA[<p>Hi! I found this article very useful, followed it and managed to get myself working soluton (though actually i used gif interfaces), thanks! But one remark, if routing traffic over ipsec between two private networks, does it really suffice to have &#8216;ike esp transport from 10.0.0.5 to 192.168.0.5&#8242; and not tunneling? I tested it and saw traffic unencripted until i added something like &#8216;ike esp tunnel from subnet to sunbet peer 172.16.0.x&#8217;.</p>
<p>@Imre<br />
The addresses used in this were for example only.  Transport is used for the two endpoints of the gre tunnel.  The gre tunnel itself (and the routes that are added) takes care of the networks behind the endpoints.  You could do this with IPSec in tunnel mode but I&#8217;ve found transport to be more efficient.  For example I run ospf on both endpoints and redistribute numerous routes.  This could result in a large number of ipsec tunnels.  Instead if you simply encrypt the traffic between the gre endpoints you can dynamically add networks behind the endpoints without having the be concerned with updating ipsec.  Hope this helps shed some light on your options and why I made the choices I did.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://bsdsupport.org/2007/05/setting-up-ipsec-over-gre-on-openbsd/comment-page-1/#comment-71</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Sat, 10 Nov 2007 01:35:13 +0000</pubDate>
		<guid isPermaLink="false">http://bsdsupport.org/2007/05/setting-up-ipsec-over-gre-on-openbsd/#comment-71</guid>
		<description>@JMA
If the IPSec tunnel crashes, you should still be safe because your ipsec rules are configured to _require_ encryption for outbound traffic to the gre end-point.  If the encryption is not present the traffic will not flow.</description>
		<content:encoded><![CDATA[<p>@JMA<br />
If the IPSec tunnel crashes, you should still be safe because your ipsec rules are configured to _require_ encryption for outbound traffic to the gre end-point.  If the encryption is not present the traffic will not flow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://bsdsupport.org/2007/05/setting-up-ipsec-over-gre-on-openbsd/comment-page-1/#comment-70</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Sat, 10 Nov 2007 01:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://bsdsupport.org/2007/05/setting-up-ipsec-over-gre-on-openbsd/#comment-70</guid>
		<description>@TriBudi
In order to NAT the private addresses on host B to the public interface on host A, first you&#039;ll need to setup a static route.  For example on host B you&#039;d.

route add -net 10.0.0 192.168.0.1

This allows the GRE tunnel to continue to function when you remove the default route.  Again on host B.

route delete default
route add default 172.16.0.1

Now host A&#039;s gre tunnel interface will be host B&#039;s default route.  Finally you would setup the proper nat statements in host A&#039;s pf.conf as you would for any other network.</description>
		<content:encoded><![CDATA[<p>@TriBudi<br />
In order to NAT the private addresses on host B to the public interface on host A, first you&#8217;ll need to setup a static route.  For example on host B you&#8217;d.</p>
<p>route add -net 10.0.0 192.168.0.1</p>
<p>This allows the GRE tunnel to continue to function when you remove the default route.  Again on host B.</p>
<p>route delete default<br />
route add default 172.16.0.1</p>
<p>Now host A&#8217;s gre tunnel interface will be host B&#8217;s default route.  Finally you would setup the proper nat statements in host A&#8217;s pf.conf as you would for any other network.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

