<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>4sysops &#187; vpn</title>
	<atom:link href="http://4sysops.com/archives/tag/vpn/feed/" rel="self" type="application/rss+xml" />
	<link>http://4sysops.com</link>
	<description>For Windows Administrators</description>
	<lastBuildDate>Thu, 24 May 2012 23:49:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<image>
    <title>4sysops</title>
    <url>http://4sysops.com/4sysops-rss.png</url>
    <link>http://4sysops.com</link>
    <width>143</width>
    <height>49</height>
    <description>4sysops.com</description>
    </image>		<item>
		<title>OpenVPN 2.1 &#8211; First impressions of the free VPN software</title>
		<link>http://4sysops.com/archives/openvpn-21-first-impressions-of-the-free-vpn-software/</link>
		<comments>http://4sysops.com/archives/openvpn-21-first-impressions-of-the-free-vpn-software/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 00:08:06 +0000</pubDate>
		<dc:creator>Michael Pietroforte</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://4sysops.com/?p=2388</guid>
		<description><![CDATA[<p><a href="http://4sysops.com/wp-content/uploads/2009/02/openvpnlogo.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2009/02/openvpnlogo.png','',event,300,75)"><img style="border-right: 0px; border-top: 0px; display: inline; margin: 0px; border-left: 0px; border-bottom: 0px" title="OpenVPN-logo" src="http://4sysops.com/wp-content/uploads/2009/02/openvpnlogo-thumb.png" border="0" alt="OpenVPN-logo" width="273" height="67" align="right" /></a><a href="http://openvpn.net/">OpenVPN</a> is a very powerful free VPN solution that is supported on Solaris, Linux, OpenBSD, FreeBSD, NetBSD, Mac OS X, and Windows 2000/XP/Vista. I tried the Open Source SSL/TSL-based VPN software on Windows Vista x64 and SuSE Linux 10.1. I think the fact that OpenVPN is available for so many different platforms alone makes it an interesting alternative to commercial products. Can you believe that Cisco’s VPN solution, one of the most popular VPN products, doesn’t run on Windows Vista x64? They don’t even plan to release a 64-bit version. Well, OpenVPN does, albeit only the latest version 2.1, which is still a release candidate.</p>
<p>I tried to install the OpenVPN 2.0.9 client on Vista x64, but I wasn’t able to get it running. The installation procedure already complained that there are compatibility issues with the TAP driver (bridged tunneling). I also had a few issues on Vista x86, not with the driver, but with routing commands. Because I <a href="http://www.personalvpn.org/openvpn_vista.htm">read</a>&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://4sysops.com/wp-content/uploads/2009/02/openvpnlogo.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2009/02/openvpnlogo.png','',event,300,75)"><img style="border-right: 0px; border-top: 0px; display: inline; margin: 0px; border-left: 0px; border-bottom: 0px" title="OpenVPN-logo" src="http://4sysops.com/wp-content/uploads/2009/02/openvpnlogo-thumb.png" border="0" alt="OpenVPN-logo" width="273" height="67" align="right" /></a><a href="http://openvpn.net/">OpenVPN</a> is a very powerful free VPN solution that is supported on Solaris, Linux, OpenBSD, FreeBSD, NetBSD, Mac OS X, and Windows 2000/XP/Vista. I tried the Open Source SSL/TSL-based VPN software on Windows Vista x64 and SuSE Linux 10.1. I think the fact that OpenVPN is available for so many different platforms alone makes it an interesting alternative to commercial products. Can you believe that Cisco’s VPN solution, one of the most popular VPN products, doesn’t run on Windows Vista x64? They don’t even plan to release a 64-bit version. Well, OpenVPN does, albeit only the latest version 2.1, which is still a release candidate.</p>
<p>I tried to install the OpenVPN 2.0.9 client on Vista x64, but I wasn’t able to get it running. The installation procedure already complained that there are compatibility issues with the TAP driver (bridged tunneling). I also had a few issues on Vista x86, not with the driver, but with routing commands. Because I <a href="http://www.personalvpn.org/openvpn_vista.htm">read</a> that OpenVPN 2.1 has better Vista support, in particular for 64-bit, I didn’t bother with those problems for too long, but installed OpenVPN 2.1_rc15 instead.</p>
<p><a href="http://4sysops.com/wp-content/uploads/2009/02/openvpnrunadministrator.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2009/02/openvpnrunadministrator.png','',event,300,75)"><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 0px 0px 4px; border-right-width: 0px" title="OpenVPN-Run-administrator" src="http://4sysops.com/wp-content/uploads/2009/02/openvpnrunadministrator-thumb.png" border="0" alt="OpenVPN-Run-administrator" width="160" height="268" align="right" /></a> I recommend you turn off digital driver signing on Vista x64 before you install OpenVPN. For this you have to press F8 when Vista boots up and then select the corresponding option. I also disabled UAC during installation, just to make sure that the setup always has administrator privileges. It appears that OpenVPN doesn’t like UAC. You can’t really blame OpenVPN for that because it has to change Vista’s routing table, for which it needs administrator privileges. To automatically start the OpenVPN client always with administrator rights, you can just configure its shortcut accordingly (see screenshot). If the UAC prompt whenever you launch OpenVPN gets on your nerves, I recommend using <a href="http://4sysops.com/archives/free-symantec-nuac-a-uac-extension-for-windows-vista/">Symantec UAC</a>.</p>
<p>On the server side, I installed OpenVPN on SuSE Linux 10.1. With the help of yast, it was easier than installing the client on Windows. To configure OpenVPN one has to create the file named net.conf under /etc/openvpn. I had a very simple setting for my test environment. This is what my configuration file looks like:</p>
<p>dev tun
ifconfig 10.1.0.1 10.1.0.2
secret net.static.key</p>
<p>The “dev tun” command tells OpenVPN to encapsulate IPv4 or IPv6; i.e., it will establish a routed VPN. OpenVPN also supports bridged VPNs, which means that you don’t have to bother with routing configurations, but Ethernet bridging costs performance.</p>
<p>“10.1.0.1” in the ifconfig command is the end point IP of my server, and “10.1.0.2” is the end point IP of my client. The secret command refers to the secret key that I created with “openvpn —genkey net.static.key” on the server. This key has to be copied to the config folder of OpenVPN on the Windows client. OpenVPn also supports Public Key Infrastructure (PKI) for authentication purposes, but that would have been overkill for my purpose.</p>
<p>The configuration file (net.ovpn in the config folder) on the Windows client is quite simple too:</p>
<p>remote <em>host</em>
dev tun
secret net.static.key
ifconfig 10.1.0.2 10.1.0.1
dhcp-option DNS 10.1.0.1
redirect-gateway def1</p>
<p>“host” has to be replaced with the public IP of the VPN server. You know “dev tun” and “secret” commands already. The ifconfig command has swapped IP addresses, because the local end point is now on the client and the remote endpoint is on the server.</p>
<p>I used the dhcp-option DNS command because I wanted my client to use the DNS server on my VPN server. This DNS server tells my Vista client to use the private IP of the server instead of the public IP for certain Internet domains. This makes sure that this communication is encrypted, too. The redirect-gateway def1 command changes the routing table on the client to redirect all Internet traffic through the VPN server.</p>
<p>OpenVPN has no NATing capabilities, which means that you have to use the server OS for this. On my Linux box I used iptables:</p>
<p>iptables -A FORWARD -i tun0 -o eth0 -s 10.1.0.0/24 -m state —state NEW -j ACCEPT
iptables -A FORWARD -m state —state ESTABLISHED,RELATED -j ACCEPT
iptables -A POSTROUTING -t nat -j MASQUERADE</p>
<p>You can also easily <a href="http://www.windowsnetworking.com/articles_tutorials/Configuring-Windows-Server-2003-act-NAT-router.html">configure Windows Server to act as a NAT router</a>.</p>
<p><a href="http://4sysops.com/wp-content/uploads/2009/02/openvpnsystray.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2009/02/openvpnsystray.png','',event,300,75)"><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin: 0px; border-right-width: 0px" title="OpenVPN-systray" src="http://4sysops.com/wp-content/uploads/2009/02/openvpnsystray-thumb.png" border="0" alt="OpenVPN-systray" width="148" height="129" align="right" /></a> Once everything is configured you can start the OpenVPN gui and double click on its systray icon to establish the connection. I have been using OpenVPN 2.1 RC for several days and didn’t experience any problems.</p>
<p>My article is not a review of OpenVPN, which is a very complex VPN solution. I just wanted to give you a first idea about this great VPN solution. I have read before about OpenVPN, but I must admit that when I first tried it I was quite surprised at how powerful it is. You should have a look at its command <a href="http://openvpn.net/index.php/documentation/manuals/openvpn-21.html">documentation</a> to get an idea about its capabilities. I also found the <a href="http://openvpn.net/index.php/documentation/howto.html">Howtos</a> quite useful.</p>
Author: Michael Pietroforte
<br />
<small>Copyright &#169; 2006-2012, 4sysops, Digital fingerprint: 3db371642e7c3f4fe3ee9d5cf7666eb0</small><br />
	<br /><strong>Related</strong>
	<ul class="st-related-posts">
	<li><a href="http://4sysops.com/archives/windows-7-directaccess-experiences/" title="Windows 7 DirectAccess &#8211; Experiences (February 3, 2009)">Windows 7 DirectAccess &#8211; Experiences</a> (19)</li>
	<li><a href="http://4sysops.com/archives/windows-7-directaccess-features/" title="Windows 7 DirectAccess &#8211; Features (February 2, 2009)">Windows 7 DirectAccess &#8211; Features</a> (20)</li>
	<li><a href="http://4sysops.com/archives/intelligent-application-gateway-2007-service-pack-2-available/" title="Intelligent Application Gateway 2007 Service Pack 2 available (December 22, 2008)">Intelligent Application Gateway 2007 Service Pack 2 available</a> (0)</li>
	<li><a href="http://4sysops.com/archives/poptop-linux-vpn-server-for-windows-clients-using-pptp/" title="Poptop: Linux VPN server for Windows clients using PPTP (August 8, 2006)">Poptop: Linux VPN server for Windows clients using PPTP</a> (10)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://4sysops.com/archives/openvpn-21-first-impressions-of-the-free-vpn-software/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Windows 7 DirectAccess &#8211; Experiences</title>
		<link>http://4sysops.com/archives/windows-7-directaccess-experiences/</link>
		<comments>http://4sysops.com/archives/windows-7-directaccess-experiences/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 00:23:25 +0000</pubDate>
		<dc:creator>Michael Pietroforte</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://4sysops.com/?p=2338</guid>
		<description><![CDATA[<p>In my last article I listed all important <a href="http://4sysops.com/archives/windows-7-directaccess-features/">features of DirectAccess</a>. Today I will share some experiences I made when I placed a little with it.</p>
<p>DirectAccess has to be installed as a feature on Windows Server 2008 R2. I wonder why it is a feature and not a role, considering that it is recommended to use DirectAcess on a server that has no other function. I must admit, I still don&#8217;t understand the difference between server roles and features.</p>
<p><a href="http://4sysops.com/wp-content/uploads/2009/02/directaccess.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2009/02/directaccess.png','',event,300,75)"><img style="display: inline; margin: 0px 0px 0px 4px; border-width: 0px;" title="DirectAccess" src="http://4sysops.com/wp-content/uploads/2009/02/directaccess-thumb.png" border="0" alt="DirectAccess" width="254" height="157" align="right" /></a>It is interesting to note that <strong>two network interfaces</strong> are required, which indicates that DirectAccess has firewall functionality. One network card is usually enough for VPN. DirectAccess also complained that I have no Public Key Infrastructure. After I installed the Certificate Server role on the same machine, the DirectAccess setup was satisfied. The setup wizard then let me configure the user groups that are allowed to use DirectAccess.</p>
<p>Next, I had to configure the external and the internal network &#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>In my last article I listed all important <a href="http://4sysops.com/archives/windows-7-directaccess-features/">features of DirectAccess</a>. Today I will share some experiences I made when I placed a little with it.</p>
<p>DirectAccess has to be installed as a feature on Windows Server 2008 R2. I wonder why it is a feature and not a role, considering that it is recommended to use DirectAcess on a server that has no other function. I must admit, I still don&#8217;t understand the difference between server roles and features.</p>
<p><a href="http://4sysops.com/wp-content/uploads/2009/02/directaccess.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2009/02/directaccess.png','',event,300,75)"><img style="display: inline; margin: 0px 0px 0px 4px; border-width: 0px;" title="DirectAccess" src="http://4sysops.com/wp-content/uploads/2009/02/directaccess-thumb.png" border="0" alt="DirectAccess" width="254" height="157" align="right" /></a>It is interesting to note that <strong>two network interfaces</strong> are required, which indicates that DirectAccess has firewall functionality. One network card is usually enough for VPN. DirectAccess also complained that I have no Public Key Infrastructure. After I installed the Certificate Server role on the same machine, the DirectAccess setup was satisfied. The setup wizard then let me configure the user groups that are allowed to use DirectAccess.</p>
<p>Next, I had to configure the external and the internal network interface. The external interface needs a public IP address. The setup program was smart enough to recognize that I was using a private IP. It surprised me a little that DirectAccess bothered about the <strong>IPv4 settings</strong>, anyway. DirectAccess requires IPv6, which probably is the main reason why it will take a while until corporations embrace this new feature. In the last two steps, one has to identify the infrastructure servers (DNS, domain controller) and the applications servers.</p>
<p><a href="http://4sysops.com/wp-content/uploads/2009/02/directaccesssetup.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2009/02/directaccesssetup.png','',event,300,75)"><img style="display: inline; margin: 0px 0px 0px 4px; border-width: 0px;" title="DirectAccess-setup" src="http://4sysops.com/wp-content/uploads/2009/02/directaccesssetup-thumb.png" border="0" alt="DirectAccess-setup" width="254" height="157" align="right" /></a> I then tried to figure out what has to be configured on the <strong>client side</strong>. I am not sure if the Windows 7 Beta1 already supports DirectAccess, because I didn&#8217;t find a corresponding feature or service. I also skimmed over the Group Policy settings but I didn&#8217;t find any hints there. Unfortunately, the links to the help files on my Windows Server 2008 R2 didn&#8217;t work and I also wasn&#8217;t able to find any technical manual about it on the web. Please let me know if you were able to get further with your testing of DirectAccess. I will probably try it again as soon as Windows 7 RC is out.</p>
<p>All in all, I think DirectAccess is a very <strong>interesting new feature</strong>. It might even replace VPN in the long run. I believe such technologies are directly aimed at Google Apps &amp; Co. The biggest advantage of cloud apps is that they are location-independent. Considering that network bandwidth for mobile users is rapidly improving these days, it won&#8217;t take long until it doesn&#8217;t make a difference anymore if users work in the corporate intranet or in a home office. Admins can manage remote machines as if they were in the office next door or on a virtual desktop in the datacenter. A desktop will be just a desktop no matter where it is located, whether it is virtualized or not. With private cloud technologies and features such as DirectAcces, we can enjoy the advantages of scalability, fat clients, and mobility.</p>
Author: Michael Pietroforte
<br />
<small>Copyright &#169; 2006-2012, 4sysops, Digital fingerprint: 3db371642e7c3f4fe3ee9d5cf7666eb0</small><br />
	<br /><strong>Related</strong>
	<ul class="st-related-posts">
	<li><a href="http://4sysops.com/archives/free-phonefactor-mobile-phone-based-two-factor-authentication/" title="FREE: PhoneFactor &#8211; Mobile phone based two-factor authentication (January 16, 2012)">FREE: PhoneFactor &#8211; Mobile phone based two-factor authentication</a> (1)</li>
	<li><a href="http://4sysops.com/archives/how-to-disable-usb-drive-use-in-an-active-directory-domain/" title="How to disable USB drive use in an Active Directory domain (January 2, 2012)">How to disable USB drive use in an Active Directory domain</a> (2)</li>
	<li><a href="http://4sysops.com/archives/service-account-best-practices-part-2-least-privilege-implementation/" title="Service Account best practices &#8211; Part 2: Least Privilege implementation (December 30, 2011)">Service Account best practices &#8211; Part 2: Least Privilege implementation</a> (0)</li>
	<li><a href="http://4sysops.com/archives/four-fast-ways-to-improve-security-in-sql-server-2008-r2/" title="Four fast ways to improve security in SQL Server 2008 R2 (November 22, 2011)">Four fast ways to improve security in SQL Server 2008 R2</a> (12)</li>
	<li><a href="http://4sysops.com/archives/managed-service-accounts-in-windows-server-2008-r2/" title="Managed Service Accounts in Windows Server 2008 R2 (November 18, 2011)">Managed Service Accounts in Windows Server 2008 R2</a> (7)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://4sysops.com/archives/windows-7-directaccess-experiences/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Windows 7 DirectAccess &#8211; Features</title>
		<link>http://4sysops.com/archives/windows-7-directaccess-features/</link>
		<comments>http://4sysops.com/archives/windows-7-directaccess-features/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 23:43:43 +0000</pubDate>
		<dc:creator>Michael Pietroforte</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://4sysops.com/?p=2332</guid>
		<description><![CDATA[<p>DirectAccess is a new feature of Windows 7 and Windows Server 2008 R2. It has the same purpose as VPN, i.e., it allows users to connect securely to the corporate network through the Internet. The main difference is that the connection is established in the background without requiring user interaction. This article is mostly a summary of Microsoft&#8217;s white paper <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=D8EB248B-8BF7-4798-A1D1-04D37F2E013C&#38;displaylang=en">Technical Overview of DirectAccess in Windows 7 and Windows Server 2008 R2</a>. I also installed DirectAccess on Windows Server 2008 R2, but since there is no technical documentation yet, I had to postpone more detailed tests until Microsoft provides more information. In my next post I will share some <a href="http://4sysops.com/archives/windows-7-directaccess-experiences/">practical experiences</a>.
<a href="http://4sysops.com/wp-content/uploads/2009/02/directaccessinternettrafficrouting.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2009/02/directaccessinternettrafficrouting.png','',event,300,75)"><img style="display: inline; margin: 0px 0px 0px 4px; border-width: 0px;" title="DirectAccess-Internet-traffic-routing" src="http://4sysops.com/wp-content/uploads/2009/02/directaccessinternettrafficrouting-thumb.png" border="0" alt="DirectAccess-Internet-traffic-routing" width="355" height="210" align="right" /></a></p>
<h2>Requirements</h2>
<ul>
<li>DirectAccess server must run on Windows Server 2008 R2</li>
<li>DirectAccess client must run on Windows 7</li>
<li>DirectAccess Server requires two network cards</li>
<li>Active Directory</li>
<li>IPv6</li>
<li>PKI (Public Key Infrastructure)</li>
</ul>
<h2>Advantages of Direct Access</h2>
<ul>
<li>User doesn&#8217;t have to establish the connection</li>
<li>User doesn&#8217;t have to reconnect if </li>&#8230;</ul>]]></description>
			<content:encoded><![CDATA[<p>DirectAccess is a new feature of Windows 7 and Windows Server 2008 R2. It has the same purpose as VPN, i.e., it allows users to connect securely to the corporate network through the Internet. The main difference is that the connection is established in the background without requiring user interaction. This article is mostly a summary of Microsoft&#8217;s white paper <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=D8EB248B-8BF7-4798-A1D1-04D37F2E013C&amp;displaylang=en">Technical Overview of DirectAccess in Windows 7 and Windows Server 2008 R2</a>. I also installed DirectAccess on Windows Server 2008 R2, but since there is no technical documentation yet, I had to postpone more detailed tests until Microsoft provides more information. In my next post I will share some <a href="http://4sysops.com/archives/windows-7-directaccess-experiences/">practical experiences</a>.
<a href="http://4sysops.com/wp-content/uploads/2009/02/directaccessinternettrafficrouting.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2009/02/directaccessinternettrafficrouting.png','',event,300,75)"><img style="display: inline; margin: 0px 0px 0px 4px; border-width: 0px;" title="DirectAccess-Internet-traffic-routing" src="http://4sysops.com/wp-content/uploads/2009/02/directaccessinternettrafficrouting-thumb.png" border="0" alt="DirectAccess-Internet-traffic-routing" width="355" height="210" align="right" /></a></p>
<h2>Requirements</h2>
<ul>
<li>DirectAccess server must run on Windows Server 2008 R2</li>
<li>DirectAccess client must run on Windows 7</li>
<li>DirectAccess Server requires two network cards</li>
<li>Active Directory</li>
<li>IPv6</li>
<li>PKI (Public Key Infrastructure)</li>
</ul>
<h2>Advantages of Direct Access</h2>
<ul>
<li>User doesn&#8217;t have to establish the connection</li>
<li>User doesn&#8217;t have to reconnect if the Internet connection breaks</li>
<li>Group Policy settings get active before user logs on</li>
<li>Users can log on to Active Directory, just like in the intranet</li>
<li>Works together with <a href="http://4sysops.com/archives/windows-server-2008-network-access-protection-nap-essentials/">NAP (Network Access Protection)</a> and NAC (Network Access Control) solutions</li>
<li>Communication to the corporate network is encrypted with IPsec</li>
</ul>
<h2>Two IPsec tunnels (and authentication methods)</h2>
<ul>
<li><strong>Only the machine certificate is used for authentication:</strong> The remote computer can only connect to the corporate DNS server, Group Policy, and to Active Directory in order to be able to log on</li>
<li><strong>The machine certificate and user credentials are used for authentication:</strong> Only then will DirectAccess grant access to other internal resources</li>
</ul>
<h2>Two connection methods</h2>
<ul><a href="http://4sysops.com/wp-content/uploads/2009/02/directaccessselectedserveraccess1.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2009/02/directaccessselectedserveraccess1.png','',event,300,75)"><img style="display: inline; margin: 0px; border-width: 0px;" title="DirectAccess-Selected-Server-Access" src="http://4sysops.com/wp-content/uploads/2009/02/directaccessselectedserveraccess-thumb1.png" border="0" alt="DirectAccess-Selected-Server-Access" width="104" height="51" align="right" /></a></p>
<li><strong>Selected Server Access:</strong> IPsec connection through DirectAccess server to each application server; application servers have to run Windows Server 2008 R2 or Windows Server 2008 and must support IPv6 and IPsec <a href="http://4sysops.com/wp-content/uploads/2009/02/directaccessfullenterprisenetworkaccess1.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2009/02/directaccessfullenterprisenetworkaccess1.png','',event,300,75)"><img style="display: inline; margin: 0px; border-width: 0px;" title="DirectAccess-Full-Enterprise-Network-Access" src="http://4sysops.com/wp-content/uploads/2009/02/directaccessfullenterprisenetworkaccess-thumb1.png" border="0" alt="DirectAccess-Full-Enterprise-Network-Access" width="104" height="51" align="right" /></a></li>
<li><strong>Full Enterprise Network Access:</strong> IPsec connection to an IPsec gateway (can be the DirectAccess server); IPsec gateway forwards traffic to IPv4 application servers</li>
</ul>
<h2>Connection through the Internet</h2>
<ul>
<li>If a native IPv6 network isn&#8217;t available, the client has to establish an IPv6 over IPv4 tunnel</li>
<li>Tunnel protocols supported: <a href="http://en.wikipedia.org/wiki/Teredo_tunneling">Teredo</a>, <a href="http://en.wikipedia.org/wiki/6to4">6to4</a> or <a href="http://en.wikipedia.org/wiki/ISATAP">Intra-Site Automatic Tunnel Addressing Protocol (ISATAP)</a>, <a href="http://msdn.microsoft.com/en-us/library/dd358571(PROT.10).aspx">IP-HTTPS</a> (firewall friendly)</li>
<li>By default, Internet traffic is not routed through DirectAccess server</li>
<li>Administrators can configure Windows Firewall to route traffic for specific applications or subnets through the DirectAccess server</li>
</ul>
<p>Also check out my article about the <a href="http://4sysops.com/archives/windows-7-directaccess-experiences/">experiences I made with DirectAccess</a>.</p>
Author: Michael Pietroforte
<br />
<small>Copyright &#169; 2006-2012, 4sysops, Digital fingerprint: 3db371642e7c3f4fe3ee9d5cf7666eb0</small><br />
	<br /><strong>Related</strong>
	<ul class="st-related-posts">
	<li><a href="http://4sysops.com/archives/free-phonefactor-mobile-phone-based-two-factor-authentication/" title="FREE: PhoneFactor &#8211; Mobile phone based two-factor authentication (January 16, 2012)">FREE: PhoneFactor &#8211; Mobile phone based two-factor authentication</a> (1)</li>
	<li><a href="http://4sysops.com/archives/how-to-disable-usb-drive-use-in-an-active-directory-domain/" title="How to disable USB drive use in an Active Directory domain (January 2, 2012)">How to disable USB drive use in an Active Directory domain</a> (2)</li>
	<li><a href="http://4sysops.com/archives/service-account-best-practices-part-2-least-privilege-implementation/" title="Service Account best practices &#8211; Part 2: Least Privilege implementation (December 30, 2011)">Service Account best practices &#8211; Part 2: Least Privilege implementation</a> (0)</li>
	<li><a href="http://4sysops.com/archives/four-fast-ways-to-improve-security-in-sql-server-2008-r2/" title="Four fast ways to improve security in SQL Server 2008 R2 (November 22, 2011)">Four fast ways to improve security in SQL Server 2008 R2</a> (12)</li>
	<li><a href="http://4sysops.com/archives/managed-service-accounts-in-windows-server-2008-r2/" title="Managed Service Accounts in Windows Server 2008 R2 (November 18, 2011)">Managed Service Accounts in Windows Server 2008 R2</a> (7)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://4sysops.com/archives/windows-7-directaccess-features/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Intelligent Application Gateway 2007 Service Pack 2 available</title>
		<link>http://4sysops.com/archives/intelligent-application-gateway-2007-service-pack-2-available/</link>
		<comments>http://4sysops.com/archives/intelligent-application-gateway-2007-service-pack-2-available/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 16:12:28 +0000</pubDate>
		<dc:creator>Michael Pietroforte</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[firewalls]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://4sysops.com/?p=1976</guid>
		<description><![CDATA[<p>Microsoft acquired Whale Communications in 2006. Its SLL-based VPN appliance became Intelligent Application Gateway (IAG) 2007. <a href="http://en.wikipedia.org/wiki/Microsoft_Intelligent_Application_Gateway">Wikipedia</a> gives a good overview of this product. Basically, it is a Web application firewall and endpoint security management solution offering more sophisticated features than the ISA Server. According to Microsoft, the new features of IAG 2007 SP2 are simplified deployment, interoperability for environments not running Windows, enhanced application support, improved user experience, and improved performance. You can <a href="http://www.microsoft.com/downloads/details.aspx?familyid=e69dfd1d-d333-4c27-9246-279ada224317&#38;displaylang=en&#38;tm">download IAG 2007 SP2</a> or <a href="http://www.microsoft.com/downloads/details.aspx?familyid=558b262b-f953-435c-a255-53e9d450527d&#38;displaylang=en&#38;tm">try it in a virtual machine</a>.</p>
Author: Michael Pietroforte
<br />
<small>Copyright &#169; 2006-2012, 4sysops, Digital fingerprint: 3db371642e7c3f4fe3ee9d5cf7666eb0</small><br />
	<br /><strong>Related</strong>
	<ul class="st-related-posts">
	<li><a href="http://4sysops.com/archives/how-to-configure-tmg-for-ssl-client-certificate-authentication/" title="How to configure TMG for SSL Client Certificate Authentication (July 29, 2011)">How to configure TMG for SSL Client Certificate Authentication</a> (0)</li>
	<li><a href="http://4sysops.com/archives/using-tmg-one-time-passwords-and-kerberos-constrained-delegation/" title="Using TMG, one-time passwords and Kerberos Constrained Delegation (July 22, 2011)">Using TMG, one-time passwords and Kerberos Constrained Delegation</a> (2)</li>
	<li><a href="http://4sysops.com/archives/how-to-use-kerberos-constrained-delegation-with-forefront-tmg/" title="How to use Kerberos Constrained Delegation with Forefront TMG (July 13, 2011)">How to use Kerberos Constrained Delegation with Forefront TMG</a> (0)</li>
	<li><a href="http://4sysops.com/archives/secure-your-exchange-2010-server-with-forefront-tmg-part-2/" title="Secure your Exchange 2010 Server with Forefront TMG &#8211; Part 2 (March 16, 2011)">Secure your Exchange 2010 Server with Forefront TMG &#8211; Part 2</a> (0)</li>
	<li><a href="http://4sysops.com/archives/secure-your-exchange-2010-server-with-forefront-tmg-part-1/" title="Secure your Exchange 2010 Server with Forefront TMG &#8211; Part 1 (March 15, 2011)">Secure your Exchange 2010 Server with Forefront TMG &#8211; Part 1</a> (0)</li>
&#8230;</ul>]]></description>
			<content:encoded><![CDATA[<p>Microsoft acquired Whale Communications in 2006. Its SLL-based VPN appliance became Intelligent Application Gateway (IAG) 2007. <a href="http://en.wikipedia.org/wiki/Microsoft_Intelligent_Application_Gateway">Wikipedia</a> gives a good overview of this product. Basically, it is a Web application firewall and endpoint security management solution offering more sophisticated features than the ISA Server. According to Microsoft, the new features of IAG 2007 SP2 are simplified deployment, interoperability for environments not running Windows, enhanced application support, improved user experience, and improved performance. You can <a href="http://www.microsoft.com/downloads/details.aspx?familyid=e69dfd1d-d333-4c27-9246-279ada224317&amp;displaylang=en&amp;tm">download IAG 2007 SP2</a> or <a href="http://www.microsoft.com/downloads/details.aspx?familyid=558b262b-f953-435c-a255-53e9d450527d&amp;displaylang=en&amp;tm">try it in a virtual machine</a>.</p>
Author: Michael Pietroforte
<br />
<small>Copyright &#169; 2006-2012, 4sysops, Digital fingerprint: 3db371642e7c3f4fe3ee9d5cf7666eb0</small><br />
	<br /><strong>Related</strong>
	<ul class="st-related-posts">
	<li><a href="http://4sysops.com/archives/how-to-configure-tmg-for-ssl-client-certificate-authentication/" title="How to configure TMG for SSL Client Certificate Authentication (July 29, 2011)">How to configure TMG for SSL Client Certificate Authentication</a> (0)</li>
	<li><a href="http://4sysops.com/archives/using-tmg-one-time-passwords-and-kerberos-constrained-delegation/" title="Using TMG, one-time passwords and Kerberos Constrained Delegation (July 22, 2011)">Using TMG, one-time passwords and Kerberos Constrained Delegation</a> (2)</li>
	<li><a href="http://4sysops.com/archives/how-to-use-kerberos-constrained-delegation-with-forefront-tmg/" title="How to use Kerberos Constrained Delegation with Forefront TMG (July 13, 2011)">How to use Kerberos Constrained Delegation with Forefront TMG</a> (0)</li>
	<li><a href="http://4sysops.com/archives/secure-your-exchange-2010-server-with-forefront-tmg-part-2/" title="Secure your Exchange 2010 Server with Forefront TMG &#8211; Part 2 (March 16, 2011)">Secure your Exchange 2010 Server with Forefront TMG &#8211; Part 2</a> (0)</li>
	<li><a href="http://4sysops.com/archives/secure-your-exchange-2010-server-with-forefront-tmg-part-1/" title="Secure your Exchange 2010 Server with Forefront TMG &#8211; Part 1 (March 15, 2011)">Secure your Exchange 2010 Server with Forefront TMG &#8211; Part 1</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://4sysops.com/archives/intelligent-application-gateway-2007-service-pack-2-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Poptop: Linux VPN server for Windows clients using PPTP</title>
		<link>http://4sysops.com/archives/poptop-linux-vpn-server-for-windows-clients-using-pptp/</link>
		<comments>http://4sysops.com/archives/poptop-linux-vpn-server-for-windows-clients-using-pptp/#comments</comments>
		<pubDate>Tue, 08 Aug 2006 18:23:24 +0000</pubDate>
		<dc:creator>Michael Pietroforte</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://4sysops.com/archives/poptop-linux-vpn-server-for-windows-clients-using-pptp/</guid>
		<description><![CDATA[<p><a href="http://www.poptop.org/">Poptop</a> is an open source <strong>VPN</strong> server supporting Microsoft&#8217;s <strong>PPTP</strong> (Point-to-Point Tunneling Protocol). It allows you to use a <strong>Linux</strong> Server as a VPN Server for <strong>Windows</strong> machines. This way you can encrypt any communication between the Linux server and your Windows workstation easily. You can use <strong>NAT</strong> (Network Address Translation) to hide your workstation&#8217;s IP address when you access the internet thru the <strong>VPN</strong> Server. <strong>Windows</strong> comes with a built-in and easy-to-configure VPN client. Nothing has to be installed on the Windows machine. In this post, I would like to share my recent experience installing <strong>Poptop</strong>.</p>
<p>But let me say a word about security first. <strong>PPTP</strong> has many <a href="http://poptop.sourceforge.net/dox/protocol-security.phtml">critics</a>. Crypto experts have shown that it is possible to crack this protocol under certain circumstances, especially <a href="http://en.wikipedia.org/wiki/MS-CHAP">MSCHAPv2</a> which is used for authentication, has its weaknesses. <strong>MPPE</strong> (Microsoft Point-to-Point Encryption) &#8220;only&#8221; uses a 128-bit-key. However, I think for most scenarios <strong>PPTP</strong> is secure enough. If you want to hide &#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.poptop.org/">Poptop</a> is an open source <strong>VPN</strong> server supporting Microsoft&#8217;s <strong>PPTP</strong> (Point-to-Point Tunneling Protocol). It allows you to use a <strong>Linux</strong> Server as a VPN Server for <strong>Windows</strong> machines. This way you can encrypt any communication between the Linux server and your Windows workstation easily. You can use <strong>NAT</strong> (Network Address Translation) to hide your workstation&#8217;s IP address when you access the internet thru the <strong>VPN</strong> Server. <strong>Windows</strong> comes with a built-in and easy-to-configure VPN client. Nothing has to be installed on the Windows machine. In this post, I would like to share my recent experience installing <strong>Poptop</strong>.</p>
<p>But let me say a word about security first. <strong>PPTP</strong> has many <a href="http://poptop.sourceforge.net/dox/protocol-security.phtml">critics</a>. Crypto experts have shown that it is possible to crack this protocol under certain circumstances, especially <a href="http://en.wikipedia.org/wiki/MS-CHAP">MSCHAPv2</a> which is used for authentication, has its weaknesses. <strong>MPPE</strong> (Microsoft Point-to-Point Encryption) &#8220;only&#8221; uses a 128-bit-key. However, I think for most scenarios <strong>PPTP</strong> is secure enough. If you want to hide your communication from curious system administrators, <strong>PPTP</strong> will do the job quite well, but if you think that the NSA or Mr. Super Hacker will be interested in your data, better use a more secure <strong>VPN</strong> protocol like <a href="http://www.securityfocus.com/infocus/1519">IPSec</a>. The disadvantage is that things will usually become more complicated.</p>
<p>Installing <strong>Poptop</strong> is not difficult, if you are a Linux admin. The documentation is a bit poor, though. I think most Linux distributions already come with the necessary packages. I installed it with YaST on a SuSE 9.0 machine. The name of the package is &#8220;pptpd&#8221;. If some other packages are missing, YaST will tell you which ones. I had a problem getting the pptpd service running in the beginning. After a while it turned out that my 2.4.29 kernel didn&#8217;t like <strong>Poptop,</strong> somehow. I tried several other kernel versions, and it always worked fine with them.</p>
<p>These are four configuration files:</p>
<ul>
<li><a href="http://poptop.sourceforge.net/dox/modules.conf.txt">/etc/modules.conf</a></li>
<li><a href="http://poptop.sourceforge.net/dox/pptpd.conf.txt">/etc/pptpd.conf</a></li>
<li><a href="http://poptop.sourceforge.net/dox/options.pptpd.txt">/etc/ppp/options.pptpd</a></li>
<li><a href="http://poptop.sourceforge.net/dox/chap-secrets.txt">/etc/ppp/chap-secrets</a></li>
</ul>
<p>If you have an older Linux distribution, check your <strong>modules.conf</strong> for these entries:</p>
<p>alias char-major-108 ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-18 ppp_mppe
alias ppp-comress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate</p>
<p>In <strong>pptpd.conf,</strong> I only uncommented the <strong>localip</strong> and the <strong>remoteip</strong> variables. I used private IPs for both variables. In <strong>options.pptpd,</strong> I enabled <strong>mppe-128</strong>. Most important is chap-secrets. Here you set the user name and the password. You can reduce the weakness of <strong>MSCHAPv2 </strong>by<strong> </strong>setting a strong password here. Use a random password, with a mixed of small and capital letters. Ten characters should be the minimum length. <strong>Don&#8217;t use a password which you can remember easily.</strong> It is safer to let your VPN client store a <strong>strong password</strong>, instead of entering a <strong>weak and an easy-to-remember password</strong> whenever you connect to the VPN Server.</p>
<p>Then I configured the firewall to allow the PPTP protocol. With <strong>iptables,</strong> it looks like this:</p>
<p>iptables -A INPUT -p tcp &#8211;dport 1723 -j ACCEPT
iptables -A INPUT -p 47 -j ACCEPT
iptables -A OUTPUT -p tcp &#8211;sport 1723 -j ACCEPT
iptables -A OUTPUT -p 47 -j ACCEPT</p>
<p>If you want to work with <strong>NAT</strong> (Network Address Translation), you have to add these lines to your <strong>iptables</strong> shell script:</p>
<p>iptables -A FORWARD -i ppp0 -o eth0 -s 192.168.10.0/24 -m state &#8211;state NEW -j ACCEPT</p>
<p>iptables -A FORWARD -m state &#8211;state ESTABLISHED,RELATED -j ACCEPT</p>
<p>iptables -A POSTROUTING -t nat -j MASQUERADE</p>
<p>The IP range here is the one you configured in <strong>pptpd.conf</strong>. You also have to enable <strong>IP forwarding</strong> which is disabled by default. On a SuSE box the easiest way to do this is by using <strong>YaST</strong>. You&#8217;ll find it under network services/routing. If you don&#8217;t use SuSE please check out Marius&#8217; post about <a href="http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/">IP Forwarding</a>.</p>
<p>Then you have to setup the <strong>VPN</strong> client on your Windows machine. Please go to <a href="http://www.windowsnetworking.com/j_helmig/xpvpnclt.htm">this site</a> for more information. The default <strong>PPTP</strong> setting of Windows should work.</p>
<p>With this configuration, you can already access the internet thru your Linux server using <strong>NAT</strong>. To make sure that you always use the <strong>VPN</strong> connection to access applications on the server, you can change C:\WINDOWS\system32\drivers\etc\hosts. Add the IP address to <strong>hosts</strong> which you set before for <strong>localip</strong> in <strong>pptpd.conf</strong> for the domain names that you are hosting on your Linux server. You have to reboot after changing the hosts file.</p>
<p>This way, your communication with the <strong>Linux</strong> host will always be encrypted regardless what application you use to access it. If you ever forget to establish the <strong>VPN</strong> connection first, you even won&#8217;t be able to access the Linux machine.</p>
Author: Michael Pietroforte
<br />
<small>Copyright &#169; 2006-2012, 4sysops, Digital fingerprint: 3db371642e7c3f4fe3ee9d5cf7666eb0</small><br />
	<br /><strong>Related</strong>
	<ul class="st-related-posts">
	<li><a href="http://4sysops.com/archives/kiwi-cattools-back-up-and-manage-network-configs/" title="Kiwi CatTools &#8211; Back up and manage network configs (March 21, 2012)">Kiwi CatTools &#8211; Back up and manage network configs</a> (0)</li>
	<li><a href="http://4sysops.com/archives/zenmap-windows-gui-for-nmap/" title="FREE: Zenmap: Windows GUI for nmap (January 3, 2012)">FREE: Zenmap: Windows GUI for nmap</a> (0)</li>
	<li><a href="http://4sysops.com/archives/free-solarwinds-real-time-bandwidth-monitor/" title="FREE: SolarWinds Real-Time Bandwidth Monitor (December 1, 2011)">FREE: SolarWinds Real-Time Bandwidth Monitor</a> (0)</li>
	<li><a href="http://4sysops.com/archives/set-up-a-802-1x-in-a-active-directory-domain-part-2/" title="Set up a 802.1x in a Active Directory domain &#8211; Part 2 (August 29, 2011)">Set up a 802.1x in a Active Directory domain &#8211; Part 2</a> (5)</li>
	<li><a href="http://4sysops.com/archives/set-up-an-802-1x-wi-fi-network-in-a-windows-active-directory-domain-part-1/" title="Set up an 802.1x Wi-Fi network in a Windows Active Directory domain &#8211; Part 1 (August 22, 2011)">Set up an 802.1x Wi-Fi network in a Windows Active Directory domain &#8211; Part 1</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://4sysops.com/archives/poptop-linux-vpn-server-for-windows-clients-using-pptp/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

