<?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>Nirlog.com &#187; Windows</title>
	<atom:link href="http://nirlog.com/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://nirlog.com</link>
	<description>Technology, Life and other stuff that come along...</description>
	<lastBuildDate>Sat, 14 Jan 2012 15:42:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To Install Windows7 in Mac with Vmware Fusion</title>
		<link>http://nirlog.com/2009/02/01/how-to-install-windows7-in-mac-with-vmware-fusion/</link>
		<comments>http://nirlog.com/2009/02/01/how-to-install-windows7-in-mac-with-vmware-fusion/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 23:16:31 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2009/02/01/how-to-install-windows7-in-mac-with-vmware-fusion/</guid>
		<description><![CDATA[I downloaded Windows7 beta on the first day of it&#8217;s public release, but didn&#8217;t get around trying it. Finally I got a chance to install it today. The installation was smooth and straight forward. This is how I installed Windows 7 beta on my Mac with Vmware Fusion. Download The 2.44 GB ISO file can [...]]]></description>
			<content:encoded><![CDATA[<p>I downloaded Windows7 beta on the first day of it&#8217;s public release, but didn&#8217;t get around trying it. Finally I got a chance to install it today. The installation was smooth and straight forward.</p>
<p>This is how I installed Windows 7 beta on my Mac with Vmware Fusion.</p>
<p><strong>Download<br />
</strong><br />
The 2.44 GB ISO file can be downloaded from <a href="http://www.microsoft.com/windows/windows-7/beta-download.aspx">Windows7 beta download page</a>. It took me around 2 hours to download it using my 8MB home broadband. You&#8217;ll also be given a Windows 7 Beta Product Key together with the download to activate windows 7.</p>
<p><strong>Create New Virtual Machine<br />
</strong><br />
Create a new virtual machine by launching the Vmware Fusion and going to <strong>FIle&#8211;&gt;New</p>
<p></strong>Click on <strong>Continue without disk</strong>, because we&#8217;ll be using the ISO image to install Windows 7.<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/new-vm.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/002-new-vm.jpg" height="318" width="420" border="1" hspace="4" vspace="4" alt="002-New-Vm" /></a></p>
<p>Then, click on <strong>Use operating system installation disk image file</strong> and select the Windows 7 ISO file downloaded earlier.<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/install-media.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/003-install-media.jpg" height="318" width="420" border="1" hspace="4" vspace="4" alt="003-Install-Media" /></a></p>
<p>Choose the Operating System. I had downloaded the 64 bit version so, I chose Windows Vista x64 Edition.<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/choose-os.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/004-choose-os.jpg" height="318" width="420" border="1" hspace="4" vspace="4" alt="004-Choose-Os" /></a></p>
<p>Enter the <strong>Account Name, Password</strong> and the <strong>Windows Product Key</strong><br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/win-product-key.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/005-win-product-key.jpg" height="318" width="420" border="1" hspace="4" vspace="4" alt="005-Win-Product-Key" /></a></p>
<p>I don&#8217;t need file sharing at the moment so, I disabled the windows sharing by choosing <strong>None</strong>.<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/win-share.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/006-win-share.jpg" height="318" width="420" border="1" hspace="4" vspace="4" alt="006-Win-Share" /></a></p>
<p>Default config of the new virtual machine. I wanted to give more RAM to the new vm so, clicked on <strong>Customize Settings</strong><br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/default-config.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/007-default-config.jpg" height="318" width="420" border="1" hspace="4" vspace="4" alt="007-Default-Config" /></a></p>
<p>This is where you can customize the hardware settings for your virtual machine. Click on <strong>Processors &#38; RAM</strong> to increase the RAM size.<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/custom-setting.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/008-custom-setting.jpg" height="255" width="420" border="1" hspace="4" vspace="4" alt="008-Custom-Setting" /></a></p>
<p>Increase the RAM to 2048MB (2GB)<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/2GB-RAM.png" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/009-2GB-RAM.jpg" height="263" width="420" border="1" hspace="4" vspace="4" alt="009-2Gb-Ram" /></a></p>
<p>Click on the play button to begin installation<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/start-guest.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/010-start-guest.jpg" height="240" width="420" border="1" hspace="4" vspace="4" alt="010-Start-Guest" /></a></p>
<p>The installation starts&#8230;<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/start-install.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/011-start-install.jpg" height="370" width="420" border="1" hspace="4" vspace="4" alt="011-Start-Install" /></a></p>
<p>After couple of reboots and an approximately half an hour later it&#8217;s done.<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/installed.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/019-installed.jpg" height="360" width="420" border="1" hspace="4" vspace="4" alt="019-Installed" /></a></p>
<p>The installation was seamless and I&#8217;m planning to use Window 7 for some time next week to see how good it is. The immediate next thing is an anti-virus. Complimentary McAfee anti-virus provided by vmware fusion is not compatible with Windows 7 yet, and a quick google showed Kaspersky, so I might install that.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2009/02/01/how-to-install-windows7-in-mac-with-vmware-fusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GFI LANguard Network Security Scanner 8</title>
		<link>http://nirlog.com/2008/01/21/gfi-languard-network-security-scanner-8/</link>
		<comments>http://nirlog.com/2008/01/21/gfi-languard-network-security-scanner-8/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 16:39:22 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2008/01/21/gfi-languard-network-security-scanner-8/</guid>
		<description><![CDATA[GFI LANguard Network Security Scanner is a very easy to use yet powerful commercial Network vulnerability scanning, patch management and auditing tool. If you have a small network with few computers then it&#8217;s easy to keep track of the softwares installed and do the patching manually, but for larger networks it would be a nightmare [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gfi.com/lannetscan/">GFI LANguard Network Security Scanner</a> is a very easy to use yet powerful commercial Network vulnerability scanning, patch management and auditing tool. If you have a small network with few computers then it&#8217;s easy to keep track of the softwares installed and do the patching manually, but for larger networks it would be a nightmare to do everything manually. This is where tools like GFI LANguard NSS come in to help network/system admins. GFI LANguard NSS makes use of the vulnerability check databases based on <a href="http://oval.mitre.org/repository/index.html">OVAL</a> and <a href="http://www.sans.org/top20/">SANS Top 20</a>, providing over 15,000 vulnerability assessments when your network is scanned. It is one of the best commercial network security scanner and patch management tool available.</p>
<p>I&#8217;ve installed and tested it in my WinXP SP2 running on my MacBook Pro Vmware Fusion, and this is what I found.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2008/01/gfi-nss.jpg" height="211" width="319" border="1" hspace="4" vspace="4" alt="Gfi-Nss" /></p>
<p><span id="more-277"></span><br />
<strong>Installation and usage</strong><br />
The installation is easy and straightforward. You just need to follow the on screen instruction. You&#8217;ll require: a domain administrator account, a smtp server address to send alerts via email and have to choose either Microsoft Access or MS SQL Server for the back-end database.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2008/01/nss-install.jpg" height="291" width="379" border="1" hspace="4" vspace="4" alt="Nss-Install" /></p>
<p><strong>Scanning, Reporting and Patching</strong><br />
The user interface is intuitive and easy to use. After the scanning is completed, it gives a nice report of the scan (you can choose to scan a single computer, group or the whole network). In the first scan it let me know that my Office and Windows need some critical patches. If you expand each vulnerabilities then it&#8217;ll give the Microsoft ID, download link and the patch release date. You can apply the patch or choose to ignore it by right clicking on it.  There&#8217;s a handy feature to mass deploy the Microsoft updates on selected computers or all computers in the network. Other notable features in patch deployment are:</p>
<p>- Custom Software deployment<br />
- Uninstallation of Microsoft updates<br />
- Detailed Patch Deployment log</p>
<p>Besides the vulnerabilities the scan reports on open tcp/udp ports, open shares, installed applications, password policies, groups and users (with their privilege, last logon and password age).</p>
<p>You can buy an extra ReportPack to create vulnerabilities scanning reports and system information reports for your managers and bosses. I think it would have been great to have this reporting built in to NSS.</p>
<p><a href="http://nirlog.com/wp-content/uploads/2008/01/nss-main-big.png" rel="lightbox"><img src="http://nirlog.com/wp-content/uploads/2008/01/nss-main-small.png" height="140" width="420" border="1" hspace="4" vspace="4" alt="Nss-Main-Small" /></a><br />
<strong><br />
Useful Tools</strong><br />
GFI LANguard NSS comes with very handy tools that a network/security admin uses every day</p>
<p><img src="http://nirlog.com/wp-content/uploads/2008/01/nss-tools.png" height="354" width="252" border="1" hspace="4" vspace="4" alt="Nss-Tools" /></p>
<p><strong>Conclusion</strong><br />
I&#8217;ve tried the GFI LANguard N.S.S 8 for few days and think that it is a very useful tool for network and security administrators. I liked the fact that it has all three useful tools i.e. network vulnerability scanning, patch management and auditing integrated into one. It&#8217;s also easy to use and manage. The lack of built-in ReportPack is the only down side of it. Here, I&#8217;ve just scratched few features of the product, if you&#8217;re interested you can try it for free with <a href="http://www.gfi.com/downloads/downloads.aspx?pid=lanss&amp;lid=EN">30 days evaluation version</a> before buying it.</p>
<p><strong>Update:</strong> GFI have now included the ReportPack for free with GFI LANguard N.S.S. and all other ReportPack-powered software titles on top of the <a href="http://www.gfi.com/news/en/newpricing.htm">45% price cut</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2008/01/21/gfi-languard-network-security-scanner-8/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Table Computer &#8212; Microsoft Surface</title>
		<link>http://nirlog.com/2007/05/30/table-computer-microsoft-surface/</link>
		<comments>http://nirlog.com/2007/05/30/table-computer-microsoft-surface/#comments</comments>
		<pubDate>Wed, 30 May 2007 10:03:06 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2007/05/30/table-computer-microsoft-surface/</guid>
		<description><![CDATA[Microsoft has released a table shaped, multi-touch sensitive computer called the Surface. It looks cool and more than one person can interact with the content through touch and gesture, without the use of a mouse or keyboard. This 30-inch table computer costs around $10,000 and is targeted towards big hotels, casinos, phone stores, restaurants and [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft has released a table shaped, multi-touch sensitive computer called the <a href="http://www.microsoft.com/surface/">Surface</a>. It looks cool and more than one person can interact with the content through touch and gesture, without the use of a mouse or keyboard. This 30-inch table computer costs around $10,000 and is targeted towards big hotels, casinos, phone stores, restaurants and public entertainment venues. The Surface runs on Windows Vista and has Ethernet, Wireless and Bluetooth connectivity. Here&#8217;s a <a href="http://on10.net/Blogs/larry/first-look-microsoft-surfacing-computing/">video of first look at Surface</a>.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2007/05/surface.jpg" height="282" width="420" border="1" hspace="4" vspace="4" alt="Surface" /></p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2007/05/30/table-computer-microsoft-surface/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Gates vs Jobs</title>
		<link>http://nirlog.com/2007/02/15/gates-vs-jobs/</link>
		<comments>http://nirlog.com/2007/02/15/gates-vs-jobs/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 08:35:15 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2007/02/15/gates-vs-jobs/</guid>
		<description><![CDATA[It&#8217;s an iWorld&#8230; and this is iHouse, without Windows!]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/qHO8l-Bd1O4"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/qHO8l-Bd1O4" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object><br />
It&#8217;s an iWorld&#8230; and this is iHouse, without Windows!</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2007/02/15/gates-vs-jobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Going mobile</title>
		<link>http://nirlog.com/2006/12/15/going-mobile/</link>
		<comments>http://nirlog.com/2006/12/15/going-mobile/#comments</comments>
		<pubDate>Fri, 15 Dec 2006 07:29:12 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/12/15/going-mobile/</guid>
		<description><![CDATA[I switched from Microsoft to Apple on desktop, but on mobile I&#8217;m jumping (trying) from Palm to Microsoft. I&#8217;ve bought a Dopod 720w, which runs windows mobile 5 smartphone edition. It&#8217;s gorgeous and slim, with bright screen, Wi-Fi, Edge, Gprs, push e-mail, excellent call quality and long talk time battery life. You can listen to [...]]]></description>
			<content:encoded><![CDATA[<p>I switched from Microsoft to Apple on desktop, but on mobile I&#8217;m jumping (trying) from Palm to Microsoft. I&#8217;ve bought a <a href="http://asia.cnet.com/reviews/mobilephones/0,39051199,39272180p,00.htm">Dopod 720w</a>, which runs windows mobile 5 smartphone edition. It&#8217;s gorgeous and slim, with bright screen, Wi-Fi, Edge, Gprs, push e-mail, excellent call quality and long talk time battery life. You can listen to the music or watch videos with it&#8217;s windows media player 10 mobile (supports AAC, MP3, WAV, WMA, MPEG-4 , and WMV files). I&#8217;ve been mobile surfing web for a while and discovered that my blog is not so mobile friendly. I found a neat script, with step-by-step instruction that <a href="http://www.mikeindustries.com/blog/archive/2005/07/make-your-site-mobile-friendly">converts your blog or web site mobile friendly in just 2 minutes</a>.</p>
<p>So, here is my mobile friendly blog &#8212; <a href="http://mobile.nirlog.com">http://mobile.nirlog.com</a>, created in 2 minutes.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2006/12/dopod1.jpg" height="450" width="276" border="1" hspace="4" vspace="4" alt="Dopod1" /><br />
Browsing with my dopod</p>
<p><span id="more-211"></span><br />
<img src="http://nirlog.com/wp-content/uploads/2006/12/psp-1.jpg" height="219" width="480" border="1" hspace="4" vspace="4" alt="Psp-1" /><br />
With wider screen, it looks even better at my sons PSP</p>
<p><img src="http://nirlog.com/wp-content/uploads/2006/12/mac-psp-dopod-1.jpg" height="360" width="479" border="1" hspace="4" vspace="4" alt="Mac-Psp-Dopod-1" /><br />
Desktop and mobile browsing</p>
<p>For the mobile email currently I&#8217;m using <a href="http://www.4smartphone.net/Affiliates.aspx?go=referral&amp;ref=NK28789">4smartphone.net</a>, they provide hosted push email service. I synchronize email, calendar and contacts with Dopod. So, my emails, calander and contacts are in sync with my mobile, desktop (outlook/entourage) and web (outlook web). This is an amazing convenience and control. Push email is cheaper and easier to implement than Blackberry.<br />
<img src="http://nirlog.com/wp-content/uploads/2006/12/outlook-mobile.jpg" height="360" width="479" border="1" hspace="4" vspace="4" alt="Outlook-Mobile" /><br />
push email from 4smartphone.net in my pocket outlook</p>
<p>If you&#8217;re looking for a free mobile email service, then <a href="http://gmail.com/app">Gmail Mobile</a> is an excellent choice. You need to download a small java application to your mobile device once, after that you can access your Gmail on your phone with few clicks. I&#8217;ve tried the Gmail Mobile and can say that it simply rocks.<br />
<img src="http://nirlog.com/wp-content/uploads/2006/12/gmail-mobile.jpg" height="360" width="479" border="1" hspace="4" vspace="4" alt="Gmail-Mobile" /><br />
Receiving email with Gmail Mobile</p>
<p>And finally here is an <a href="http://blogs.msdn.com/windowsmobile/articles/216788.aspx">extensive list</a> of popular mobile friendly web sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/12/15/going-mobile/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>OpenVPN Implementation</title>
		<link>http://nirlog.com/2006/11/09/openvpn-implementation/</link>
		<comments>http://nirlog.com/2006/11/09/openvpn-implementation/#comments</comments>
		<pubDate>Thu, 09 Nov 2006 07:35:46 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/11/09/openvpn-implementation/</guid>
		<description><![CDATA[This guide describes how to install and configure the OpenVPN Server in Linux and clients in Windows XP and Mac OSX. There are many advanced features in OpenVPN and if you&#8217;re interested in those advanced stuff, there&#8217;s a more detailed HowTo for you. This guide was created from my successful installation, so it works for [...]]]></description>
			<content:encoded><![CDATA[<p>This guide describes how to install and configure the OpenVPN Server in Linux and clients in Windows XP and Mac OSX. There are many advanced features in OpenVPN and if you&#8217;re interested in those advanced stuff, there&#8217;s a more <a href="http://openvpn.net/howto.html">detailed HowTo</a> for you. This guide was created from my successful installation, so it works for me. If you find any problems or have suggestions please leave a comment. I&#8217;ll try my best to help. I&#8217;m sure, you know that you&#8217;re using this at your own risk <img src='http://nirlog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>In our scenario, a small office network is protected by Linux firewall and we&#8217;ll implement the secure OpenVPN to access the internal office network (File Server, Database Server and Desktop PCs) securely from anywhere in the Internet.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2006/11/openvpn.jpg" height="560" width="480" border="1" hspace="4" vspace="4" alt="openvpn" title="openvpn" /></p>
<p><span id="more-204"></span><br />
<strong>OpenVPN Server Installation<br />
</strong>Download the <a href="http://dag.wieers.com/packages/openvpn/">OpenVPN</a> and <a href="http://dag.wieers.com/packages/lzo/">LZO</a> packages, these are packaged RPMs for Fedora/Redhat, which also works for CentOS and Whiteboxlinux.</p>
<p><strong>Install the packages:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/rpm-install.jpg" height="183" width="477" border="1" hspace="4" vspace="4" alt="rpm-install" title="rpm-install" /></p>
<p><strong>Enable packet forwarding between 2 interfaces in OpenVPN Server:</strong></p>
<blockquote><p>#echo 1 &gt; /proc/sys/net/ipv4/ip_forward</p></blockquote>
<p><strong>Master Certificate Authority (CA) Certificate and Key:</strong><br />
A set of scripts bundled with OpenVPN make the PKI management easier. We&#8217;ll use these scripts to generate a master CA certificate/key, a server certificate/key and 2 keys/certificates for separate clients.</p>
<p>Change your directory to <strong>easy-rsa</strong> subdirectory in your OpenVPN installation:</p>
<blockquote><p># cd /usr/share/doc/openvpn-2.0.7/easy-rsa</p></blockquote>
<p>Edit the<strong> vars</strong> file and set the <strong>KEY_COUNTRY, KEY_PROVINCE, KEY_CITY, KEY_ORG, and KEY_EMAIL</strong> parameters. My vars parameters are as following, you need to setup your own:</p>
<blockquote><p>export KEY_COUNTRY=HK<br />
export KEY_PROVINCE=KLN<br />
export KEY_CITY=Hong Kong<br />
export KEY_ORG=&#8221;OpenVPN-TEST&#8221;<br />
export KEY_EMAIL=&#8221;niranjan.kunwar@gmail.com&#8221;</p></blockquote>
<p><strong>Initialize the PKI:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/build-ca.jpg" height="335" width="480" border="1" hspace="4" vspace="4" alt="build-ca" title="build-ca" /></p>
<p><strong>Generate Certificate and Key for the Server:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/build-key-server.jpg" height="518" width="480" border="1" hspace="4" vspace="4" alt="build-key-server" title="build-key-server" /></p>
<p><strong>Generate Certificates and Keys for 2 clients:</strong></p>
<blockquote><p>#sh build-key client-win<br />
#sh build-key client-osx</p></blockquote>
<p><img src="http://nirlog.com/wp-content/uploads/2006/11/build-key-client.jpg" height="588" width="480" border="1" hspace="4" vspace="4" alt="build-key-client" title="build-key-client" /></p>
<p><strong>Generate Diffie Hellman parameters</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/build-dh.jpg" height="181" width="480" border="1" hspace="4" vspace="4" alt="build-dh" title="build-dh" /></p>
<p><strong>Copy the keys and certificate to /etc/openvpn</strong></p>
<blockquote><p>#cp dh1024.pem server.crt server.key ca.crt /etc/openvpn/</p></blockquote>
<p><strong>Server Configuration file<br />
</strong>A sample configuration file <strong>server.conf </strong>can be found in <strong>/usr/share/doc/openvpn-2.0.7/sample-config-files, </strong>copy it to<strong> /etc/openvpn </strong>and customize it according to your needs<strong>. </strong>There are many possible customizations that you can do to the configuration file. In our case the VPN Server will be listening to <strong>UDP port 1194</strong>, which is the official OpenVPN port number. We&#8217;ll offer the virtual address <strong>192.168.0.0/24</strong> to the vpn clients and push the <strong>route 192.168.1.0</strong>, which is our Office LAN subnet. Following is the contents of our configuration file <strong>server.conf:</strong></p>
<blockquote><p>port 1194<br />
proto udp<br />
dev tun<br />
ca ca.crt<br />
cert server.crt<br />
key server.key  # This file should be kept secret<br />
dh dh1024.pem<br />
server 192.168.0.0 255.255.255.0<br />
ifconfig-pool-persist ipp.txt<br />
push &#8220;route 192.168.1.0 255.255.255.0&#8243;<br />
client-to-client<br />
keepalive 10 120<br />
comp-lzo<br />
user nobody<br />
group nobody<br />
persist-key<br />
persist-tun<br />
status openvpn-status.log<br />
verb 3</p></blockquote>
<p><strong>Start the OpenVpn Server:</strong></p>
<blockquote><p># service openvpn start</p></blockquote>
<p><strong>Windows Client Installation and Configuration<br />
</strong>Download the <a href="http://openvpn.se/download.html">OpenVPN GUI for Windows</a> and install it.<br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/win-install.jpg" height="295" width="377" border="1" hspace="4" vspace="4" alt="Win-Install" /></p>
<p>Copy the <strong>ca.crt, client-win.crt </strong>and<strong> client-win.key</strong> files from OpenVPN Server to the windows pc at <strong>C:\Program Files\OpenVPN\config.</strong> A Sample client configuration file <strong>client.ovpn</strong> can be found in <strong>C:\Program Files\OpenVPN\sample-config</strong> directory, also copy it to <strong>C:\Program Files\OpenVPN\config </strong>and customize it according to your needs. Following is the contents of our client configuration file <strong>client.ovpn</strong>:</p>
<blockquote><p>client<br />
dev tun<br />
proto udp<br />
remote vpn.nirlog.com 1194<br />
resolv-retry infinite<br />
nobind<br />
persist-key<br />
persist-tun<br />
ca ca.crt<br />
cert client-win.crt<br />
key client-win.key<br />
ns-cert-type server<br />
comp-lzo<br />
verb 3</p></blockquote>
<p><strong>Connect:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/win-connect-1.jpg" height="282" width="434" border="1" hspace="4" vspace="4" alt="win-connect" title="win-connect" /></p>
<p><strong>Ping test:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/win-test.jpg" height="220" width="433" border="1" hspace="4" vspace="4" alt="win-test" title="win-test" /><br />
Successful ping to 192.168.0.1 shows that you can reach the server via vpn tunnel. You should be able to ping the Desktops and Servers (192.168.1.x) in the office network too.</p>
<p><strong>OS X Client Installation and Configuration:</strong><br />
Download <a href="http://www.tunnelblick.net/">Tunnelblick </a>and install it by unzipping and dragging the Tunnelblick.app to Applications folder.</p>
<p>Copy the <strong>ca.crt, client-osx.crt </strong>and<strong> client-osx.key</strong> files from OpenVPN Server to the Mac at <strong>/Users/&lt;yourname&gt;/Library/openvpn. </strong> The client configuration file <strong>openvpn.conf</strong> can be found in <strong>/Users/&lt;yourname&gt;/Library/openvpn</strong> directory, customize it according to your needs. Following is the contents of our client configuration file <strong>openvpn.conf</strong>:</p>
<blockquote><p>client<br />
dev tun<br />
proto udp<br />
remote vpn.nirlog.com 1194<br />
resolv-retry infinite<br />
nobind<br />
user nobody<br />
group nobody<br />
persist-key<br />
persist-tun<br />
ca ca.crt<br />
cert client-osx.crt<br />
key client-osx.key<br />
ns-cert-type server<br />
comp-lzo<br />
verb 3</p></blockquote>
<p><strong>Connect:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/tunnelblick-connect.jpg" height="350" width="480" border="1" hspace="4" vspace="4" alt="tunnelblick-connect" title="tunnelblick-connect" /></p>
<p><strong>Ping test:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/mac-test.jpg" height="182" width="478" border="1" hspace="4" vspace="4" alt="mac-test" title="mac-test" /><br />
Successful ping to 192.168.0.1 shows that you can reach the server via vpn tunnel. You should be able to ping the Desktops and Servers (192.168.1.xxx) in the office network too.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/11/09/openvpn-implementation/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Sharing a single mouse and keyboard between multiple computers</title>
		<link>http://nirlog.com/2006/08/04/sharing-single-mouse-and-keyboard-between-multiple-computers/</link>
		<comments>http://nirlog.com/2006/08/04/sharing-single-mouse-and-keyboard-between-multiple-computers/#comments</comments>
		<pubDate>Fri, 04 Aug 2006 10:45:13 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/08/04/sharing-single-mouse-and-keyboard-between-multiple-computers/</guid>
		<description><![CDATA[I&#8217;m using Synergy to share a single keyboard and mouse between my Mac, Windows and Linux machines. It&#8217;s a very useful software I&#8217;ve been using for quite some time. There&#8217;s a very detailed HOWTO at Engadget, if you want to set it up for yourself. This is my desk &#8212; powered by Synergy]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using <a href="http://synergy2.sourceforge.net/">Synergy</a> to share a single keyboard and mouse between my Mac, Windows and Linux machines. It&#8217;s a very useful software I&#8217;ve been using for quite some time. There&#8217;s a very detailed <a href="http://www.engadget.com/2005/08/09/how-to-share-your-keyboard-and-mouse-in-realtime-with-synergy/">HOWTO at Engadget</a>, if you want to set it up for yourself.</p>
<p>This is my desk &#8212; powered by Synergy <img src='http://nirlog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img height="360" border="" width="479" style="margin: 5px" class="" alt="" src="http://nirlog.com/wp-content/uploads/2006/08/mydesk.jpg" title="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/08/04/sharing-single-mouse-and-keyboard-between-multiple-computers/feed/</wfw:commentRss>
		<slash:comments>-26</slash:comments>
		</item>
		<item>
		<title>Bill Gates on Letterman Show and Jon Stewart on Net Neutrality</title>
		<link>http://nirlog.com/2006/07/30/bill-gates-on-letterman-show-and-jon-stewart-on-net-neutrality/</link>
		<comments>http://nirlog.com/2006/07/30/bill-gates-on-letterman-show-and-jon-stewart-on-net-neutrality/#comments</comments>
		<pubDate>Sun, 30 Jul 2006 15:33:50 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/07/30/bill-gates-on-letterman-show-and-jon-stewart-on-net-neutrality/</guid>
		<description><![CDATA[You have to watch them, both are classic stuff&#8230;]]></description>
			<content:encoded><![CDATA[<p>You have to watch them, both are classic stuff&#8230;</p>
<p> <object height="350" width="425"><param name="movie" value="http://www.youtube.com/v/V_o9isZY5h0" /><embed src="http://www.youtube.com/v/V_o9isZY5h0" type="application/x-shockwave-flash" width="425" height="350" /></object></p>
<p> <object height="350" width="425"><param name="movie" value="http://www.youtube.com/v/DClkE64nFDY" /><embed src="http://www.youtube.com/v/DClkE64nFDY" type="application/x-shockwave-flash" width="425" height="350" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/07/30/bill-gates-on-letterman-show-and-jon-stewart-on-net-neutrality/feed/</wfw:commentRss>
		<slash:comments>-22</slash:comments>
		</item>
		<item>
		<title>Dual Boot Vista and Ubuntu</title>
		<link>http://nirlog.com/2006/07/20/dual-boot-vista-and-ubuntu/</link>
		<comments>http://nirlog.com/2006/07/20/dual-boot-vista-and-ubuntu/#comments</comments>
		<pubDate>Thu, 20 Jul 2006 09:17:58 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/07/20/dual-boot-vista-and-ubuntu/</guid>
		<description><![CDATA[After switching to Mac, my Samsung notebook with Windows Xp has been free, so I decided to test dual booting Windows Vista and Ubuntu Linux in this laptop. The downloading, burning cd/dvd and installation was easy and straight forward. Only special thing I had to do was to modify the menu.lst file in Ubuntu. This [...]]]></description>
			<content:encoded><![CDATA[<p><img height="61" border="" width="140" style="margin: 5px; float: right" class="" alt="" src="http://nirlog.com/wp-content/uploads/2006/07/vista-ubuntu.png" title="" />After <a href="http://nirlog.com/2006/07/07/ive-switched-to-a-mac/">switching to Mac</a>, my Samsung notebook with Windows Xp has been free, so I decided to test dual booting Windows Vista and Ubuntu Linux in this laptop. The downloading, burning cd/dvd and installation was easy and straight forward. Only special thing I had to do was to modify the <strong>menu.lst</strong> file in Ubuntu. This is how I did it:<br />
<span id="more-174"></span></p>
<p>1. Downloaded <a href="http://www.microsoft.com/windowsvista/getready/preview.mspx">Windows Vista Beta 2</a> from the Customer Preview Program that Microsoft had some time ago (this program is already closed now) and burned it to DVD.</p>
<p>2. Made 2 partitions out of single 60GB hard disk. 40GB for Vista and 20GB for Ubuntu.</p>
<p>3. Installed Windows Vista Beta 2 to the first 40GB, NTFS partition.</p>
<p>4. Downloaded, burned cd and Installed Desktop <a href="http://www.ubuntu.com/">Ubuntu</a> 6.06 (Dapper Drake) on the second 20GB, Ext3 partition. After this GRUB will manage the MBR.</p>
<p>5.  Let the system reboot to Ubuntu after installation. Then, you have to edit <strong>/boot/grub/menu.lst</strong> to configure the GRUB. I added following lines to the file:</p>
<blockquote>
<p>title                 Windows Vista (Beta 2)<br />root                 (hd0,0)<br />makeactive<br />chainloader     +1</p>
</blockquote>
<p>Also changed the <strong>timeout</strong> to 15 seconds, by default this value is 3 seconds.</p>
<p>6. Reboot the system and while you see the <strong>GRUB Loading Stage1.5.</strong> on the screen, press <strong>ESC</strong> key, which will lead you to the following boot menu.</p>
<p><img height="360" border="" width="479" style="margin: 5px" class="" alt="" src="http://nirlog.com/wp-content/uploads/2006/07/grub.jpg" title="" /></p>
<p>7. Now you can boot Windows Vista</p>
<p><img height="360" border="" width="479" style="margin: 5px" class="" alt="" src="http://nirlog.com/wp-content/uploads/2006/07/vista.jpg" title="" /></p>
<p>8. Or boot Ubuntu Linux</p>
<p><img height="360" border="" width="479" style="margin: 5px" class="" alt="" src="http://nirlog.com/wp-content/uploads/2006/07/ubuntu.jpg" title="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/07/20/dual-boot-vista-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;ve switched to a Mac</title>
		<link>http://nirlog.com/2006/07/07/ive-switched-to-a-mac/</link>
		<comments>http://nirlog.com/2006/07/07/ive-switched-to-a-mac/#comments</comments>
		<pubDate>Fri, 07 Jul 2006 13:50:11 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/07/07/ive-switched-to-a-mac/</guid>
		<description><![CDATA[I&#8217;ve been using PowerBook G4 as my production laptop for about a month. There had been some odd moments but overall it&#8217;s been a wonderful experience and definitely there&#8217;s no looking back. I&#8217;m glad that I&#8217;ve switched. Now my laptop boots faster, everything looks more beautiful, I can do everything I&#8217;d been doing and I [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://nirlog.com/wp-content/uploads/2006/07/powerbook.jpg" height="360" width="479" border="1" hspace="4" vspace="4" alt="Powerbook" /><br />
I&#8217;ve been using PowerBook G4 as my production laptop for about a month. There had been some odd moments but overall it&#8217;s been a wonderful experience and definitely there&#8217;s no looking back. I&#8217;m glad that I&#8217;ve switched. Now my laptop boots faster, everything looks more beautiful, I can do everything I&#8217;d been doing and I know for sure it&#8217;s much more secure. </p>
<p>One of the leading security firm Sophos has released a <a href="http://www.sophos.com/pressoffice/news/articles/2006/07/securityreportmid2006.html">Security Report</a>, where it finds Trojans have dominated the first half of 2006. This is what they had to say:</p>
<blockquote><p>Most interestingly, new Trojans now outweigh viruses and worms by 4:1, compared to 2:1 in the first half of 2005. In addition, the continued dominance of Windows-based threats has prompted Sophos to suggest that many home users should consider switching to Apple Macs, to shield themselves from the malware onslaught.</p></blockquote>
<p>BBC has a story about the same report and switch advice, <a href="http://news.bbc.co.uk/2/hi/technology/5150508.stm">Threat prompt Mac switch advice</a>, which brought a lot of attention in <a href="http://it.slashdot.org/article.pl?sid=06/07/05/1318243&amp;tid=172">slashdot</a> and <a href="http://backslash.slashdot.org/article.pl?sid=06/07/06/1821235&amp;from=rss">backslash</a>. I totally agree with Sophos. Specially for the home users who don&#8217;t know much about <a href="http://nirlog.com/2005/12/31/is-your-pc-secure/">the threats that Windows PCs are exposed to</a>. Macs are sleek, they work out of the box, they can do everything a home user needs to do and most importantly they&#8217;re much more secure than Windows. So if you&#8217;re planning to buy a new computer, you should seriously consider buying a Mac. After all if you find that OS X really sucks, which I can guarantee will not. You can still install windows in intel Macs.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/07/07/ive-switched-to-a-mac/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

