<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ItsyourIP.com &#187; vpn</title>
	<atom:link href="http://www.itsyourip.com/category/vpn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itsyourip.com</link>
	<description>Your gateway to Internet</description>
	<lastBuildDate>Sat, 24 Jan 2009 16:48:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<image>
<link>http://www.itsyourip.com</link>
<url>http://www.itsyourip.com/wp-content/mbp-favicon/Internet-Alt.ico</url>
<title>ItsyourIP.com</title>
</image>
		<item>
		<title>How to configure Site-Site IPSec VPN in Cisco Routers (IOS)</title>
		<link>http://www.itsyourip.com/cisco/how-to-configure-site-site-ipsec-vpn-in-cisco-routers-ios/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-configure-site-site-ipsec-vpn-in-cisco-routers-ios</link>
		<comments>http://www.itsyourip.com/cisco/how-to-configure-site-site-ipsec-vpn-in-cisco-routers-ios/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 20:32:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[3DES]]></category>
		<category><![CDATA[AES]]></category>
		<category><![CDATA[ah]]></category>
		<category><![CDATA[authentication-header]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[esp]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[ipsec]]></category>
		<category><![CDATA[SHA]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/cisco/how-to-configure-site-site-ipsec-vpn-in-cisco-routers-ios/</guid>
		<description><![CDATA[Virtual Private Network (VPN) is a network which uses a shared network infrastructure (Internet) which allows a secure access between two networks or securely connects a remote user to his corporate network. Let&#39;s check out here how to configure a Site to Site VPN using a Pre-shared Key in Cisco Routers running Cisco IOS Let&#39;s [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>Virtual Private Network (VPN) is a network which uses a shared network infrastructure (Internet) which allows a secure access between two networks or securely connects a remote user to his corporate network.</p>
<p>Let&#39;s check out here how to configure a Site to Site VPN using a Pre-shared Key in Cisco Routers running Cisco IOS</p>
<p><span id="more-160"></span></p>
<p>Let&#39;s use a HQ-Branch office network setup with the following:</p>
<blockquote><p><em>Authentication Method: Pre-Shared Key</em></p>
<p><em>Encryption Algorithm: 3DES</em></p>
<p><em>Hash Algorithm: SHA</em></p>
<p><em>HQ Router External IP : 172.10.10.100</em></p>
<p><em>(Peer IP for Branch Network)</em></p>
<p><em>HQ Internal Network: 172.11.1.0/24</em></p>
<p><em>Branch&nbsp;Router&nbsp;External IP : 10.1.1.100</em></p>
<p><em>(Peer IP for&nbsp;HQ Network)</em></p>
<p><em>Branch&nbsp;Internal Network: 10.11.2.0/24</em></p>
</blockquote>
<p><strong><u>Configuring IKE Policies</u></strong></p>
<p><strong>Create an IKE Policy</strong></p>
<p>From the global configuration mode, create a new IKE Policy.</p>
<blockquote><p><strong>VPN-HQ(config)# crypto isakmp policy 1</strong></p>
</blockquote>
<p><strong>Set the Keep-Alive &amp; Retry intervals</strong></p>
<p>The default Keep-Alive time os 10 seconds and retry when the keep-alive fails is 2 seconds. If you prefer changing this value then do the following else can be ignored</p>
<blockquote><p><strong>VPN-HQ(config-isakmp)# crypto isakmp keepalive 15 retry 3</strong></p>
</blockquote>
<p><strong>Specify the Encryption Algorithm</strong></p>
<p>I&#39;m using 3DES encryption method here</p>
<blockquote><p><strong>VPN-HQ(config-isakmp)# encryption 3des</strong></p>
</blockquote>
<p><strong>Specify the HASH Algorithm</strong></p>
<p>I&#39;m using sha hashing algorithm here</p>
<blockquote><p><strong>VPN-HQ(config-isakmp)# hash sha</strong></p>
</blockquote>
<p><strong>Set the Authentication Method</strong></p>
<p>We are using Pre-shared key here for Authentication</p>
<blockquote><p><strong>VPN-HQ(config-isakmp)# authentication pre-share</strong></p>
</blockquote>
<p> <strong>Set the Diffe-Hellman Group Identifier</strong></p>
<p>We are using DH Group-2 (1024)</p>
<blockquote><p><strong>VPN-HQ(config-isakmp)# group 2</strong></p>
</blockquote>
<p><strong>Specify SA&#39;s lifetime (seconds)</strong></p>
<p>Set the lifetime of the Security Associations in seconds. I&#39;ll set it for 24hrs (86400 seconds) here</p>
<blockquote><p><strong>VPN-HQ(config-isakmp)# lifetime 86400</strong></p>
</blockquote>
<p><strong>Set Pre-shared Key</strong></p>
<p>The Authentication method we use here is the Pre-Shared key. We should now set this previously agreed shared key (don&#39;t exchange on emails. Use your phone,letters or faxes) from the global configuration mode.I&#39;ll use a simple pre-shared key &quot;0urVpN&quot; but use more complex key when configuring a production system.</p>
<blockquote><p><strong>VPN-HQ(config)# crypto isakmp key 0urVpN address 10.1.1.100</strong></p>
</blockquote>
<p>where 10.1.1.100 is the Peer routers IP Address and &quot;0urVpN&quot; is the pre-shared key.</p>
<p><strong>Define Transformation Set</strong></p>
<p>We set the transformation of ESP-3DES transform and ESP-SHA-HMAC transform to Transformation set 3DES-SHA-HMAC</p>
<blockquote><p><strong>VPN-HQ(config)# crypto ipsec transform-set 3DES-SHA-HMAC esp-3des esp-sha-hmac</strong></p>
<p><strong>VPN-HQ(cfg-crypto-trans)# exit</strong></p>
</blockquote>
<p><strong>Setup a Crypto ACL</strong></p>
<p>This ACL defines the protected traffic that passes through the VPN tunnel. Customize the ACL as per your organisation needs.</p>
<blockquote><p><strong>VPN-HQ(config)# ip access-list 101 permit ip 172.11.1.0 0.0.0.0 10.11.2.0 0.0.0.0</strong></p>
</blockquote>
<p><strong>Create an IPSec Map</strong></p>
<p>Create an IPSec Crypto Map and assign it a Sequence number</p>
<blockquote><p><strong>VPN-HQ(config)# crypto map HQ-BR1-MAP 2 ipsec-isakmp</strong></p>
</blockquote>
<p>where 2 is the sequence number and HQ-BR1-MAP is the nameof the map.</p>
<p><strong>Set the Network traffic to be protected</strong></p>
<p>Here use the extended ACl created earlier to define the traffic that is protected and passed through the tunnel.</p>
<blockquote><p><strong>VPN-HQ(config-crypto-map)# match address 101</strong></p>
</blockquote>
<p>where 101 is the Extended ACL</p>
<p><strong>Set the Peer Address</strong></p>
<blockquote><p><strong>VPN-HQ(config-crypto-map)# set peer 10.1.1.100</strong></p>
</blockquote>
<p><strong>Set Transform Set</strong></p>
<blockquote><p><strong>VPN-HQ(config-crypto-map)# set 3DES-SHA-HMAC</strong></p>
</blockquote>
<p><strong>Set Perfect Forwarding Secret</strong></p>
<blockquote><p><strong>VPN-HQ(config-crypto-map)# set pfs group 2</strong></p>
</blockquote>
<p><strong>Apply Crypto Map to the external Interface</strong></p>
<blockquote><p><strong>VPN-HQ(config)# int fa0/0</strong></p>
<p><strong>VPN-HQ(config-if)# crypto map HQ-BR1-MAP</strong></p>
</blockquote>
<p>Allow inbound IPSec traffic from the Peer on the external interface</p>
<blockquote><p><strong>VPN-HQ(config)# ip access-list 102 permit udp host 10.1.1.100 any eq isakmp</strong></p>
<p><strong>VPN-HQ(config)# ip access-list 102 permit esp host 10.1.1.100 any</strong></p>
</blockquote>
<p>That completes the configuration on the Cisco Router at the HQ. Repeat the procedure with only changing</p>
<p>1. The Peer IP in the steps for setting the Pre-shared Key &amp; setting Peer.</p>
<p>2. Modify the ACLs for the protected networks</p>
<p>3. Inbound ACL to allow incoming traffic from peer</p>
<p>To verify the configs, use the following show commands:</p>
<p><strong>Display Crypto IKE Policy</strong></p>
<blockquote><p><strong>VPN-HQ# show crypto isakmp policy</strong></p>
</blockquote>
<p><strong>Display Crypto Transform Set</strong></p>
<blockquote><p><strong>VPN-HQ# show crypto ipsec transform-set</strong></p>
</blockquote>
<p><strong>Display Crypto Map entries</strong></p>
<blockquote><p><strong>VPN-HQ# show crypto map</strong></p>
</blockquote>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2Fcisco%2Fhow-to-configure-site-site-ipsec-vpn-in-cisco-routers-ios%2F';
  addthis_title  = 'How+to+configure+Site-Site+IPSec+VPN+in+Cisco+Routers+%28IOS%29';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/cisco/how-to-configure-site-site-ipsec-vpn-in-cisco-routers-ios/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to fix Exchange &amp; Outlook connection issues over IPSec VPN</title>
		<link>http://www.itsyourip.com/Windows/how-to-fix-exchange-outlook-connection-issues-over-ipsec-vpn/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-fix-exchange-outlook-connection-issues-over-ipsec-vpn</link>
		<comments>http://www.itsyourip.com/Windows/how-to-fix-exchange-outlook-connection-issues-over-ipsec-vpn/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 13:01:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[juniper]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[fragmentation]]></category>
		<category><![CDATA[ipsec]]></category>
		<category><![CDATA[MSS]]></category>
		<category><![CDATA[mtu]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[screenos]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/Windows/how-to-fix-exchange-outlook-connection-issues-over-ipsec-vpn/</guid>
		<description><![CDATA[Recently we had this problem with this problem with an Exchange 2003 server in the HQ and Outlook Clients in a particular branch office. The Branch office connects into the HQ through a site to site IPSec VPN using Juniper Netscreen SSG20 firewalls on either end of tunnels. The Problem The Outlook clients would connect [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>Recently we had this problem with this problem with an Exchange 2003 server in the HQ and Outlook Clients in a particular branch office. The Branch office connects into the HQ through a site to site IPSec VPN using Juniper Netscreen SSG20 firewalls on either end of tunnels.</p>
<p> <u><strong>The Problem</strong></u><br /> The Outlook clients would connect OK but suddenly loose connection to the Exchange server and never connect back. The Outlook Client status will say &quot;Disconnected&quot;. The client PCs will however be able to ping the server and network connections look OK. This happened in random times and sometimes when sending large emails.</p>
<p><span id="more-159"></span> </p>
<p><u><strong>Investigation</strong></u></p>
<p>A deeper investigation revealed that every time the client(s) failed to make a connection there is an error event on the Exchange server with the error &quot;MaxObjExceeded&quot;. This started pointing us in the right direction. Yes, a google did show a lot similar issues all pointing to connections over VPN.</p>
<p><u><strong>Cause</strong></u></p>
<p>The exchange server sends large packets with the DF bit set (Don&#39;t Fragment). This when added with the IPSec headers goes beyond the MTU of the Firewalls. The Juniper firewalls by default ignore the DF bits and fragments the packets and forwards it onto the VPN tunnel. Although, these are re-assembled at the client side, this caused problems with the Outlook Clients and they keep re-initiating connections until they run out of connection objects on the Exchange server. That&#39;s when they can no longer connect to the Exchange server and the server reports Error events with <em><strong>&quot;MaxObjExceeded&quot;</strong></em> message. Also, from Junipers Knowledge Base, most of the Microsoft applications which heavily rely on <em><strong>&quot;NetBIOS over TCP/IP&quot;</strong></em> are bound to have this problem as these send large packets with DF bit set.</p>
<p><u><strong>Resolution</strong></u></p>
<p>So where do we go from here?? Yes, the only possible resolution was to tune and tweak the <em><strong>Maximum Segment Size (MSS)</strong></em> of all the packets that traverses through the VPN Tunnel. We were to set the MSS on all the TCP packets to 1350. This is sufficiently low enough (as well good enough not to degrade too much of performance) to ensure that the packets never exceeds the MTU of the firewall which is 1500 bytes even after the Encryption overheads.</p>
<p><font color="#0000ff"><strong>NOTE: All the following changes should be done on VPN firewalls on both ends</strong></font></p>
<p>To do this on Juniper Firewalls</p>
<blockquote><p><strong>vpn-firewall&gt; set flow tcp-mss 1350</strong></p>
</blockquote>
<p>This simply replaces the MSS value on all TCP packets for the VPN with the value 1350</p>
<p>To set for all TCP packets</p>
<blockquote><p><strong>vpn-firewall&gt; set flow all-tcp-mss 1350</strong></p>
</blockquote>
<p>However, the previous command for VPN overrides this (for TCP packets destined to the VPN).</p>
<p>Also, added the <em><strong>Path MTU Discovery</strong></em> support on the Juniper Firewalls. This when set makes the firewall to drop any packet set which is more than its MTU (1500 bytes) with DF bit and send an <em><strong>ICMP error messages &quot;Destination not recheable. Packet too big&quot; (ICMP Type3 Code 4)</strong></em> message back to the source along with its MTU value. The source then adjusts its assumed <em><strong>Path MTU</strong></em> so the packet size is less than the MTU and hence there is no fragmentation necessary.</p>
<p>To do this on a Juniper</p>
<blockquote><p><strong>vpn-firewall&gt; set flow path-mtu</strong></p>
</blockquote>
<p>Another option setting that you can try would be to set the Maximum Fragment Size on the firewalls for the generated Fragment size if it is more than the MTU.</p>
<p>To do this on a Juniper</p>
<p><u><strong>Screen OS 5.4</strong></u></p>
<blockquote><p><strong>vpn-firewall&gt; set flow max-frag-pkt-size</strong></p>
</blockquote>
<p><u><strong>Previous versions of Screen OS </strong></u></p>
<blockquote><p><strong>vpn-firewall&gt; set flow max</strong></p>
</blockquote>
<p>Also, you can disable the TCP SYN check before the session is created for the tunneled packets.</p>
<p>To do this on a Juniper</p>
<blockquote><p><strong>vpn-firewall&gt; unset flow tcp-syn-check-in-tunnel</strong> </p>
</blockquote>
<p>To check TCP syn before creating any TCP session</p>
<blockquote><p><strong>vpn-firewall&gt; unset flow tcp-syn-check</strong> </p></blockquote>
<p> Save the configuration</p>
<blockquote><p><strong>vpn-firewall&gt; save</strong> </p></blockquote>
<p> This resolved the problem for us and should resolve the Outlook &amp; Exchange connectivity issues over VPN even if it is a different VPN device like Cisco ASAs but ofcourse use appropriate commands for those device.</p>
<p> If you have any more thoughts on this or any comments and more pointers, please take a moment to add a comment so should help other users who face similar issue.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2FWindows%2Fhow-to-fix-exchange-outlook-connection-issues-over-ipsec-vpn%2F';
  addthis_title  = 'How+to+fix+Exchange+%26%23038%3B+Outlook+connection+issues+over+IPSec+VPN';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/Windows/how-to-fix-exchange-outlook-connection-issues-over-ipsec-vpn/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to enable Path MTU Discovery in Juniper Netscreen Firewalls (ScreenOS)</title>
		<link>http://www.itsyourip.com/Security/how-to-enable-path-mtu-discovery-in-juniper-netscreen-firewalls-screenos/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-enable-path-mtu-discovery-in-juniper-netscreen-firewalls-screenos</link>
		<comments>http://www.itsyourip.com/Security/how-to-enable-path-mtu-discovery-in-juniper-netscreen-firewalls-screenos/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 23:08:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[juniper]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[Discovery]]></category>
		<category><![CDATA[encapsulation]]></category>
		<category><![CDATA[ipsec]]></category>
		<category><![CDATA[mtu]]></category>
		<category><![CDATA[netscreen]]></category>
		<category><![CDATA[Path MTU]]></category>
		<category><![CDATA[screenos]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/Security/how-to-enable-path-mtu-discovery-in-juniper-netscreen-firewalls-screenos/</guid>
		<description><![CDATA[If you have site to site IPSec VPNs configured between two network with your Juniper Netscreen or SSG firewalls and clients from one network access servers or services from the other network then it is advisable to enable Path MTU Discovery support on the Juniper firewalls. Juniper Netscreen or SSG firewalls running Screen OS by [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>If you have site to site IPSec VPNs configured between two network with your Juniper Netscreen or SSG firewalls and clients from one network access servers or services from the other network then it is advisable to enable Path MTU Discovery support on the Juniper firewalls.</p>
<p>Juniper Netscreen or SSG firewalls running Screen OS by default disable the Path MTU Discovery support. This means, when an IP Packet with DF bit set (&quot;1&quot;) in the ip Header and its size after IPSec Encapsulation is more the MTU of the Juniper VPN Firewall arrives at the VPN Firewall, the firewall will ignore the &quot;DF&quot; bit and simply fragments the packets and forwards it to the appropriate tunnel interface. This can cause serious problems with some applications. A classic example is the Microsoft Applications that rely on NetBIOS over TCP/IP which wouldn&#39;t prefer the packets being fragmented (and hence DF set).</p>
<p><span id="more-158"></span></p>
<p>It is advisable that the Path MTU Discovery support is enabled on the Juniper VPN Firewalls. When enabled in the above scenario, the Firewall will drop the packet instead and send an &quot;ICMP Destination Unreachable (Datagram Too Big)&quot; message (ICMP Type 3 Code 4 message) back to the host with its MTU value. The source host then adjusts its assumed Path MTU value appropriately and sends the packet accordingly so the packet size is well within the MTU of the firewall and hence the packet is not fragmented and is forwarded as such.</p>
<p>To enable Path MTU Discovery in Juniper firewalls running Screen OS logon as an admin user and run the following commands:</p>
<p><strong><u>Set Path MTU</u></strong></p>
<blockquote><p><strong>SSG20&gt; set flow path-mtu</strong></p>
<p><strong>SSG20&gt; save</strong></p>
</blockquote>
<p>To verify the change</p>
<blockquote><p><strong>SSG20&gt; get config | incl path</strong></p>
</blockquote>
<p>Remember, this needs to be enabled on the other VPN Peer as well.</p>
<p>This change should make users on either side a happy bunny!!!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2FSecurity%2Fhow-to-enable-path-mtu-discovery-in-juniper-netscreen-firewalls-screenos%2F';
  addthis_title  = 'How+to+enable+Path+MTU+Discovery+in+Juniper+Netscreen+Firewalls+%28ScreenOS%29';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/Security/how-to-enable-path-mtu-discovery-in-juniper-netscreen-firewalls-screenos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
