<?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>VPN &#8211; Uroš Vovk</title>
	<atom:link href="https://www.urosvovk.com/tag/vpn/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.urosvovk.com</link>
	<description>Uroš Vovk home page</description>
	<lastBuildDate>Mon, 09 Mar 2015 17:25:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>Step by Step: How to configure a PPTP VPN Client on Mikrotik RouterOS</title>
		<link>https://www.urosvovk.com/step-by-step-how-to-configure-a-pptp-vpn-client-on-mikrotik-routeros/</link>
					<comments>https://www.urosvovk.com/step-by-step-how-to-configure-a-pptp-vpn-client-on-mikrotik-routeros/#comments</comments>
		
		<dc:creator><![CDATA[Uroš]]></dc:creator>
		<pubDate>Tue, 16 Sep 2014 16:30:11 +0000</pubDate>
				<category><![CDATA[Network Stuff]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[PPTP]]></category>
		<category><![CDATA[RouterOS]]></category>
		<category><![CDATA[step by step]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[VPN Client]]></category>
		<guid isPermaLink="false">http://www.urosvovk.com/?p=698</guid>

					<description><![CDATA[Intro Last time I wrote how to configure a PPTP VPN Server on Mikrotik RouterOS Today I will show you how to configure a PPTP VPN Client on Mikrotik RouterOS. Before we start I will try to explain what I want to do&#8230; My home network: 192.168.1.0/24 - Private 192.168.2.0/24 - Public Remote location: 192.168.3.0/24 &#8230; <a href="https://www.urosvovk.com/step-by-step-how-to-configure-a-pptp-vpn-client-on-mikrotik-routeros/" class="more-link">Continue reading <span class="screen-reader-text">Step by Step: How to configure a PPTP VPN Client on Mikrotik RouterOS</span></a>]]></description>
										<content:encoded><![CDATA[<h3>Intro</h3>
<p>Last time I wrote <a title="Step by Step: How to configure a PPTP VPN Server on Mikrotik RouterOS" href="http://www.urosvovk.com/step-by-step-how-to-configure-a-pptp-vpn-server-on-mikrotik-routeros/" target="_blank">how to configure a PPTP VPN Server on Mikrotik RouterOS</a></p>
<p>Today I will show you how to configure a PPTP VPN Client on Mikrotik RouterOS.</p>
<p>Before we start I will try to explain what I want to do&#8230;</p>
<p><strong>My home network:</strong></p>
<pre>192.168.1.0/24 - Private
192.168.2.0/24 - Public</pre>
<p><strong>Remote location:</strong></p>
<pre>192.168.3.0/24</pre>
<p>I would like to establish a VPN connection to the remote location on my Mikrotik router and allow computers (only!) from my private subnet to access computers on the remote location.</p>
<p>This tutorial will explain you how I did this. Here is a simple step by step tutorial with images and all information that you need to get PPTP VPN Client working&#8230;</p>
<h3>Step 1: Create PPTP Client</h3>
<p>Noting special on this step, so I think that the image is enough :)</p>
<p><a href="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-1.png"><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-703" src="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-1.png" alt="slika 1" width="969" height="518" srcset="https://www.urosvovk.com/wp-content/uploads/2014/09/slika-1.png 969w, https://www.urosvovk.com/wp-content/uploads/2014/09/slika-1-300x160.png 300w" sizes="(max-width: 969px) 100vw, 969px" /></a></p>
<h3>Step 2: Configure PPTP Client</h3>
<p>After you created the PPTP Client you will need to enter some basic information:</p>
<ol>
<li>VPN server hostname or IP</li>
<li>VPN username and password</li>
</ol>
<p><a href="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-2.png"><img decoding="async" class="aligncenter size-full wp-image-704" src="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-2.png" alt="slika 2" width="509" height="442" srcset="https://www.urosvovk.com/wp-content/uploads/2014/09/slika-2.png 509w, https://www.urosvovk.com/wp-content/uploads/2014/09/slika-2-300x260.png 300w" sizes="(max-width: 509px) 100vw, 509px" /></a></p>
<p>then you need a name for the client&#8230;</p>
<p><a href="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-3.png"><img decoding="async" class="aligncenter size-full wp-image-705" src="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-3.png" alt="slika 3" width="500" height="438" srcset="https://www.urosvovk.com/wp-content/uploads/2014/09/slika-3.png 500w, https://www.urosvovk.com/wp-content/uploads/2014/09/slika-3-300x262.png 300w" sizes="(max-width: 500px) 100vw, 500px" /></a></p>
<p>If you enter the correct information you are already connected to the VPN server</p>
<p>You can now double-click on pptp-client and see the status</p>
<p><a href="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-4.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-706" src="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-4.png" alt="slika 4" width="816" height="635" srcset="https://www.urosvovk.com/wp-content/uploads/2014/09/slika-4.png 816w, https://www.urosvovk.com/wp-content/uploads/2014/09/slika-4-300x233.png 300w" sizes="auto, (max-width: 816px) 100vw, 816px" /></a></p>
<h3>Note</h3>
<p>With the current configuration I can ping a remote computer from my Mikrotik:</p>
<pre>[admin@MikroTik] &gt; ping address=192.168.3.2 src-address=192.168.3.101 count=3 
HOST                                     SIZE TTL TIME  STATUS                                  
192.168.3.2                                56 127 42ms 
192.168.3.2                                56 127 44ms 
192.168.3.2                                56 127 41ms 
    sent=3 received=3 packet-loss=0% min-rtt=41ms avg-rtt=42ms max-rtt=44ms</pre>
<p>but I can&#8217;t ping the same computer from any other location (other computers connected to my Mikrotik&#8230;</p>
<pre>C:\Users\User&gt;ping 192.168.3.2

Pinging 192.168.3.2 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.3.2:
    Packets: Sent = 3, Received = 0, Lost = 3 (100% loss)</pre>
<p>to resolve this we need to add a <span style="text-decoration: underline;">NAT rule</span> and one more <span style="text-decoration: underline;">route</span></p>
<h3>Step 3: NAT configuration</h3>
<pre>[admin@MikroTik] &gt; /ip firewall nat print
...

 1    ;;; pptp-client masquerade
      chain=srcnat action=masquerade src-address=192.168.1.2-192.168.1.254 
      out-interface=pptp-client log=no log-prefix="" 

...</pre>
<p><a href="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-5.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-707" src="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-5.png" alt="slika 5" width="650" height="752" srcset="https://www.urosvovk.com/wp-content/uploads/2014/09/slika-5.png 650w, https://www.urosvovk.com/wp-content/uploads/2014/09/slika-5-259x300.png 259w" sizes="auto, (max-width: 650px) 100vw, 650px" /></a></p>
<p><span style="text-decoration: underline;">src-address</span> is used to allow only computers from my private subnet</p>
<p><a href="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-6.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-708" src="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-6.png" alt="slika 6" width="612" height="648" srcset="https://www.urosvovk.com/wp-content/uploads/2014/09/slika-6.png 612w, https://www.urosvovk.com/wp-content/uploads/2014/09/slika-6-283x300.png 283w" sizes="auto, (max-width: 612px) 100vw, 612px" /></a></p>
<p>In simple words&#8230; With this we allowed other computers to use VPN client interface.</p>
<h3>Step 4: Add new route</h3>
<p>route #4 is automatically added with pptp-client.<br />
We need to add route #3&#8230;<br />
Again&#8230; in simple words&#8230; With this route we route all request from<strong> 192.168.1.1</strong> (router IP for private subnet) to remote subnet</p>
<pre>[admin@MikroTik] &gt; /ip route print 
 #      DST-ADDRESS        PREF-SRC        GATEWAY            DISTANCE
 ...
 3 A S  192.168.3.0/24     192.168.1.1     pptp-client               1
 4 ADC  192.168.3.100/32   192.168.3.101   pptp-client               0
 ...</pre>
<p><a href="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-7.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-709" src="http://www.urosvovk.com/wp-content/uploads/2014/09/slika-7.png" alt="slika 7" width="1296" height="667" srcset="https://www.urosvovk.com/wp-content/uploads/2014/09/slika-7.png 1296w, https://www.urosvovk.com/wp-content/uploads/2014/09/slika-7-300x154.png 300w, https://www.urosvovk.com/wp-content/uploads/2014/09/slika-7-1024x527.png 1024w" sizes="auto, (max-width: 1296px) 100vw, 1296px" /></a></p>
<h3>Step 5: Finish</h3>
<p>If you did all right, you now have access to the remote subnet from your private subnet.</p>
<p>A quick test&#8230;</p>
<pre>C:\Users\User&gt;ping 192.168.3.2
Pinging 192.168.3.2 with 32 bytes of data:
Reply from 192.168.3.2: bytes=32 time=41ms TTL=126
Reply from 192.168.3.2: bytes=32 time=41ms TTL=126
Reply from 192.168.3.2: bytes=32 time=86ms TTL=126

Ping statistics for 192.168.3.2:
Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 41ms, Maximum = 86ms, Average = 56ms</pre>
<p>If you need any help or I did something wrong, leave a comment and I will try to do my best to help you.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.urosvovk.com/step-by-step-how-to-configure-a-pptp-vpn-client-on-mikrotik-routeros/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>Cisco VPN client on Windows 8</title>
		<link>https://www.urosvovk.com/cisco-vpn-client-on-windows-8/</link>
		
		<dc:creator><![CDATA[Uroš]]></dc:creator>
		<pubDate>Tue, 28 Jan 2014 12:10:16 +0000</pubDate>
				<category><![CDATA[Windows Stuff]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Cisco Systems VPN Adapter]]></category>
		<category><![CDATA[Error 442]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[Windows 8]]></category>
		<guid isPermaLink="false">http://www.urosvovk.com/?p=665</guid>

					<description><![CDATA[I recently installed Cisco VPN client on Windows 8. Everything was OK until I tried to connect, than I was getting  this: Error 442: Failed to Enable Virtual Adapter To fix this you need to do this : Open Registry editor (Win + R, type &#8220;regedit&#8221;, return or run) Browse to the Registry Key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\CVirtA &#8230; <a href="https://www.urosvovk.com/cisco-vpn-client-on-windows-8/" class="more-link">Continue reading <span class="screen-reader-text">Cisco VPN client on Windows 8</span></a>]]></description>
										<content:encoded><![CDATA[<p>I recently installed Cisco VPN client on Windows 8. Everything was OK until I tried to connect, than I was getting  this:</p>
<blockquote><p>Error 442: Failed to Enable Virtual Adapter</p></blockquote>
<p>To fix this you need to do this :</p>
<ol>
<li>Open Registry editor (Win + R, type &#8220;regedit&#8221;, return or run)</li>
<li>Browse to the Registry Key <span style="text-decoration: underline;"><em><strong><span style="color: #000000; text-decoration: underline;">HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\CVirtA</span></strong></em></span></li>
<li>Select the <strong>DisplayName</strong> to modify</li>
<li><span style="line-height: 1.5em;">Remove the leading characters from the value data upto </span><strong style="line-height: 1.5em;">&#8220;%;&#8221;</strong>
<ul>
<li><span style="line-height: 1.5em;">For x86 something like </span><strong style="line-height: 1.5em;">&#8220;<span style="color: #ff0000;"><del>@oem8.inf,%CVirtA_Desc%;</del></span>Cisco Systems VPN Adapter&#8221;</strong></li>
<li><span style="line-height: 1.5em;">For x64 something like <strong>&#8220;</strong></span><strong style="line-height: 1.5em;"><span style="color: #ff0000;"><del>@oem8.inf,%CVirtA_Desc%;</del></span>Cisco Systems VPN Adapter for 64-bit Windows&#8221;</strong></li>
</ul>
</li>
<li>Try connecting again</li>
</ol>
<p>I found the solution <a title="Windows 8 installation of VPN Client Software ..." href="https://supportforums.cisco.com/thread/2206150" target="_blank">here</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
