<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Rodrigo Sieiro</title>
	<atom:link href="http://rodrigo.sharpcube.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://rodrigo.sharpcube.com</link>
	<description>Rodrigo Sieiro&#039;s Personal Blog</description>
	<lastBuildDate>Fri, 17 Feb 2012 01:48:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Using (and sharing) a VPN connection on your Mac by Radiator</title>
		<link>http://rodrigo.sharpcube.com/2010/06/20/using-and-sharing-a-vpn-connection-on-your-mac/#comment-3896</link>
		<dc:creator>Radiator</dc:creator>
		<pubDate>Fri, 17 Feb 2012 01:48:35 +0000</pubDate>
		<guid isPermaLink="false">http://rodrigo.sharpcube.com/?p=127#comment-3896</guid>
		<description>Just got back to China. As I write this, I am watching George Carlin on Netflix on the Kindle Fire sitting in China - Full out Streaming, while browsing Facebook on my iPhone. 

To Start, I have a wireless router connected to the local broadband service. I can connect my MacBook Pro direct to the router or connect via Wifi (either way, the procedure is the same and seems to work). 

So I want to use my MacBook Pro VPN connection for all my devices, including a Kindle Fire, iPhones, iPad. And the procedure below gets me there. 

The only thing remaining is that I believe I do not have a fixed IP address to my internet provider, so my computer might be assigned another IP in the future, which would mean I would need to change my router (gateway) settings on my iOS or Kindle Fire. Maybe there is a post here that will solve this, but I am not aware of it yet. (Any guidance appreciated!). 

I would also like to see if I can use the Internet Sharing Functions on the MacBook. This would allow me to just have the MacBook at a hotel or other location, and not have to go through their routing system. Still playing around with this.

Read on. 
*****************************************

*** THE GOAL IS TO CONNECT YOUR DEVICES THROUGH THE WIRELESS ROUTER and USE THE MacBook PRO VPN connection ***
Section 1 - Connect your Internet to the wireless network.
Section 2 - Share your VPN connection with other devices on Wireless Network.
Section 3 - Connect Your IOS DEVICES to VPN via Wireless Router.
Section 4 - Connect your Kindle Fire to VPN via Wireless Router. 

*** SECTION 1 ***
SET YOUR COMPUTER UP TO USE A WIRELESS ROUTER IN YOUR APARTMENT ***
These steps are just typical stuff to get your wireless router working. If it is working already you can go to the next section 
1) Get your internet connection in China at your apartment. 
2) Get a wireless router in your apartment hooked up to the China internet service provider. 
3) Get your VPN set up on the Macbook. I have had MANY problems with L2TP, PPTP , etc. connection. so just get tunnelblick on the MacBook Pro and get OpenVPN services (like strongvpn.com- 10 box a month). Their Open VPN service is rock solid, no guessing if I will connect. 

*** SECTION 2 *** 
SHARE YOUR VPN CONNECTION
1) Share Use Rodrigo&#039;s process to Share your VPN as listed in this post (here is the link again  http://goo.gl/rHi0n ) (I use Tunnelblick). 
2) Find out your computer&#039;s IP address- Go to your MacBook Pro&#039;s System Preferences &gt;&gt; Network and highlight the &quot;Connected&quot; connection. Note the IP Address and write it own. This will serve as the Router Address you will want to point your wireless devices at to use the VPN connection. (I&#039;ll call this &quot;New Router IP Address&quot;)

*** SECTION 3 ***
CONNECT YOUR IOS DEVICES TO VPN VIA THE WIRELESS ROUTER.
1) Do your typical connection to your wireless router (no VPN).
2) Go to Settings &gt;&gt; WiFi &gt;&gt;  .. there you see the checkmark next to you wireless connection, go all the way to the right of that line and click the blue arrow. 
3) DHCP will likely be selected. WRITE DOWN your IP address, Subnet Mask, Router, and DNS.  
4) You now need to change the Router entry and the only way to do that is by making the entry STATIC. To do this, Press &quot;Static&quot; and enter the IP address, Subnet Mask… 
 - CHANGE the Router to &quot;New Router IP Address&quot;.
 - CHANGE the DNS to 8.8.8.8 (this is Google&#039;s DNS server and it seems to work just fine). 
5) Back out of the menus. 

Now when you connect the iPhone, you should be able to get to the internet but you will be routed through the VPN that was set up on the MacBook Pro. 

*** SECTION 4 *** 
CONNECT YOUR KINDLE FIRE TO THE VPN VIA THE WIRELESS ROUTER.
On the Kindle Fire… click the cog icon at the top to get to your settings.
You will see the Menu Selections like &quot;Locked / Volume / Brightness / Wi-Fi / Sync / More… 
- Select Wifi
- Scroll to the bottom of the listing of WiFi connections until you see Advanced Settings. 
- Select Advanced Settings. 
- Select IP Settings
- Type in the SAME information as your iOS device (list) but with some exceptions noted as follows:  
… IP Address (Make it the same except just increment  the number (e.g., if the iOS device IP Address was 192.168.1.101, then make the Kindle Fire 192.168.1.102 - basically you are &quot;FIXING&quot; the IP address for each of the devices. So every device you connect needs its own address. 
… Router = the New Router IP Address (basically your computer&#039;s IP address *** If your MacBook&#039;s IP address changes, you will need to change this to the new MacBook IP address).
… Subnet Mask will be 255.255.255.0
… DNS 1 - this can be 8.8.8.8 
… DNS 2 - I left this blank for now. 
Once these settings are set, you should be able to connect to your wireless router and use the VPN connection.
 
###</description>
		<content:encoded><![CDATA[<p>Just got back to China. As I write this, I am watching George Carlin on Netflix on the Kindle Fire sitting in China &#8211; Full out Streaming, while browsing Facebook on my iPhone. </p>
<p>To Start, I have a wireless router connected to the local broadband service. I can connect my MacBook Pro direct to the router or connect via Wifi (either way, the procedure is the same and seems to work). </p>
<p>So I want to use my MacBook Pro VPN connection for all my devices, including a Kindle Fire, iPhones, iPad. And the procedure below gets me there. </p>
<p>The only thing remaining is that I believe I do not have a fixed IP address to my internet provider, so my computer might be assigned another IP in the future, which would mean I would need to change my router (gateway) settings on my iOS or Kindle Fire. Maybe there is a post here that will solve this, but I am not aware of it yet. (Any guidance appreciated!). </p>
<p>I would also like to see if I can use the Internet Sharing Functions on the MacBook. This would allow me to just have the MacBook at a hotel or other location, and not have to go through their routing system. Still playing around with this.</p>
<p>Read on.<br />
*****************************************</p>
<p>*** THE GOAL IS TO CONNECT YOUR DEVICES THROUGH THE WIRELESS ROUTER and USE THE MacBook PRO VPN connection ***<br />
Section 1 &#8211; Connect your Internet to the wireless network.<br />
Section 2 &#8211; Share your VPN connection with other devices on Wireless Network.<br />
Section 3 &#8211; Connect Your IOS DEVICES to VPN via Wireless Router.<br />
Section 4 &#8211; Connect your Kindle Fire to VPN via Wireless Router. </p>
<p>*** SECTION 1 ***<br />
SET YOUR COMPUTER UP TO USE A WIRELESS ROUTER IN YOUR APARTMENT ***<br />
These steps are just typical stuff to get your wireless router working. If it is working already you can go to the next section<br />
1) Get your internet connection in China at your apartment.<br />
2) Get a wireless router in your apartment hooked up to the China internet service provider.<br />
3) Get your VPN set up on the Macbook. I have had MANY problems with L2TP, PPTP , etc. connection. so just get tunnelblick on the MacBook Pro and get OpenVPN services (like strongvpn.com- 10 box a month). Their Open VPN service is rock solid, no guessing if I will connect. </p>
<p>*** SECTION 2 ***<br />
SHARE YOUR VPN CONNECTION<br />
1) Share Use Rodrigo&#8217;s process to Share your VPN as listed in this post (here is the link again  <a href="http://goo.gl/rHi0n" rel="nofollow">http://goo.gl/rHi0n</a> ) (I use Tunnelblick).<br />
2) Find out your computer&#8217;s IP address- Go to your MacBook Pro&#8217;s System Preferences &gt;&gt; Network and highlight the &#8220;Connected&#8221; connection. Note the IP Address and write it own. This will serve as the Router Address you will want to point your wireless devices at to use the VPN connection. (I&#8217;ll call this &#8220;New Router IP Address&#8221;)</p>
<p>*** SECTION 3 ***<br />
CONNECT YOUR IOS DEVICES TO VPN VIA THE WIRELESS ROUTER.<br />
1) Do your typical connection to your wireless router (no VPN).<br />
2) Go to Settings &gt;&gt; WiFi &gt;&gt;  .. there you see the checkmark next to you wireless connection, go all the way to the right of that line and click the blue arrow.<br />
3) DHCP will likely be selected. WRITE DOWN your IP address, Subnet Mask, Router, and DNS.<br />
4) You now need to change the Router entry and the only way to do that is by making the entry STATIC. To do this, Press &#8220;Static&#8221; and enter the IP address, Subnet Mask…<br />
 &#8211; CHANGE the Router to &#8220;New Router IP Address&#8221;.<br />
 &#8211; CHANGE the DNS to 8.8.8.8 (this is Google&#8217;s DNS server and it seems to work just fine).<br />
5) Back out of the menus. </p>
<p>Now when you connect the iPhone, you should be able to get to the internet but you will be routed through the VPN that was set up on the MacBook Pro. </p>
<p>*** SECTION 4 ***<br />
CONNECT YOUR KINDLE FIRE TO THE VPN VIA THE WIRELESS ROUTER.<br />
On the Kindle Fire… click the cog icon at the top to get to your settings.<br />
You will see the Menu Selections like &#8220;Locked / Volume / Brightness / Wi-Fi / Sync / More…<br />
- Select Wifi<br />
- Scroll to the bottom of the listing of WiFi connections until you see Advanced Settings.<br />
- Select Advanced Settings.<br />
- Select IP Settings<br />
- Type in the SAME information as your iOS device (list) but with some exceptions noted as follows:<br />
… IP Address (Make it the same except just increment  the number (e.g., if the iOS device IP Address was 192.168.1.101, then make the Kindle Fire 192.168.1.102 &#8211; basically you are &#8220;FIXING&#8221; the IP address for each of the devices. So every device you connect needs its own address.<br />
… Router = the New Router IP Address (basically your computer&#8217;s IP address *** If your MacBook&#8217;s IP address changes, you will need to change this to the new MacBook IP address).<br />
… Subnet Mask will be 255.255.255.0<br />
… DNS 1 &#8211; this can be 8.8.8.8<br />
… DNS 2 &#8211; I left this blank for now.<br />
Once these settings are set, you should be able to connect to your wireless router and use the VPN connection.</p>
<p>###</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Day My Video Card Exploded by Matthew</title>
		<link>http://rodrigo.sharpcube.com/2010/04/29/the-day-my-video-card-exploded/#comment-3875</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Wed, 15 Feb 2012 11:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://rodrigo.sharpcube.com/?p=125#comment-3875</guid>
		<description>It&#039;s sad how many perfectly good electronic devices are junked when only a small replaceable part in them (fuses/capacitors) have shorted or blown... Like right now I&#039;m throwing away a perfectly usable original iPhone charger cos I think something inside went, but cos it&#039;s sealed I cant open it to try and see what it is!</description>
		<content:encoded><![CDATA[<p>It&#8217;s sad how many perfectly good electronic devices are junked when only a small replaceable part in them (fuses/capacitors) have shorted or blown&#8230; Like right now I&#8217;m throwing away a perfectly usable original iPhone charger cos I think something inside went, but cos it&#8217;s sealed I cant open it to try and see what it is!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using OAuth with Twitter in Cocoa/Objective-C by phantom</title>
		<link>http://rodrigo.sharpcube.com/2010/06/29/using-oauth-with-twitter-in-cocoa-objective-c/#comment-3858</link>
		<dc:creator>phantom</dc:creator>
		<pubDate>Tue, 14 Feb 2012 14:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://rodrigo.sharpcube.com/?p=134#comment-3858</guid>
		<description>Yes this code still work on iOS. Thanks very much! this is great tutorial.  But is still necessary follow the rules of memory management!</description>
		<content:encoded><![CDATA[<p>Yes this code still work on iOS. Thanks very much! this is great tutorial.  But is still necessary follow the rules of memory management!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using (and sharing) a VPN connection on your Mac by Rodrigo Sieiro</title>
		<link>http://rodrigo.sharpcube.com/2010/06/20/using-and-sharing-a-vpn-connection-on-your-mac/#comment-3825</link>
		<dc:creator>Rodrigo Sieiro</dc:creator>
		<pubDate>Sat, 11 Feb 2012 14:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://rodrigo.sharpcube.com/?p=127#comment-3825</guid>
		<description>Sorry Maxi, no idea. I don&#039;t know much about natd besides how to make it share my connection.</description>
		<content:encoded><![CDATA[<p>Sorry Maxi, no idea. I don&#8217;t know much about natd besides how to make it share my connection.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using (and sharing) a VPN connection on your Mac by Maxi</title>
		<link>http://rodrigo.sharpcube.com/2010/06/20/using-and-sharing-a-vpn-connection-on-your-mac/#comment-3812</link>
		<dc:creator>Maxi</dc:creator>
		<pubDate>Fri, 10 Feb 2012 11:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://rodrigo.sharpcube.com/?p=127#comment-3812</guid>
		<description>It is weird because the internet browser is working just fine on he ps3. It might be a case of NAT ports... I remember when I tested the connection, internet was running but for the NAT, it said something about NAT3 and voice or communiction in play might not work.

Here is the NATd error I am getting:

2/9/12 6:41:38 PM	natd[16608]	failed to write packet back (Can&#039;t assign requested address) 

Does it give you any clues?
Thanks Rodrigo.</description>
		<content:encoded><![CDATA[<p>It is weird because the internet browser is working just fine on he ps3. It might be a case of NAT ports&#8230; I remember when I tested the connection, internet was running but for the NAT, it said something about NAT3 and voice or communiction in play might not work.</p>
<p>Here is the NATd error I am getting:</p>
<p>2/9/12 6:41:38 PM	natd[16608]	failed to write packet back (Can&#8217;t assign requested address) </p>
<p>Does it give you any clues?<br />
Thanks Rodrigo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using (and sharing) a VPN connection on your Mac by Rodrigo Sieiro</title>
		<link>http://rodrigo.sharpcube.com/2010/06/20/using-and-sharing-a-vpn-connection-on-your-mac/#comment-3805</link>
		<dc:creator>Rodrigo Sieiro</dc:creator>
		<pubDate>Fri, 10 Feb 2012 02:16:28 +0000</pubDate>
		<guid isPermaLink="false">http://rodrigo.sharpcube.com/?p=127#comment-3805</guid>
		<description>Hi Maxi,

Unfortunately, I don&#039;t know what could be happening. I don&#039;t have a PS3 so I don&#039;t know how the PSN works (if it has any kind of special port or something).

The only idea that comes to mind is that you can try to set natd to log all traffic on your Mac (there should be a way) and then you can look at the log to see what&#039;s happening in more detail.</description>
		<content:encoded><![CDATA[<p>Hi Maxi,</p>
<p>Unfortunately, I don&#8217;t know what could be happening. I don&#8217;t have a PS3 so I don&#8217;t know how the PSN works (if it has any kind of special port or something).</p>
<p>The only idea that comes to mind is that you can try to set natd to log all traffic on your Mac (there should be a way) and then you can look at the log to see what&#8217;s happening in more detail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using (and sharing) a VPN connection on your Mac by Maxi</title>
		<link>http://rodrigo.sharpcube.com/2010/06/20/using-and-sharing-a-vpn-connection-on-your-mac/#comment-3804</link>
		<dc:creator>Maxi</dc:creator>
		<pubDate>Fri, 10 Feb 2012 02:07:16 +0000</pubDate>
		<guid isPermaLink="false">http://rodrigo.sharpcube.com/?p=127#comment-3804</guid>
		<description>Same way Gael, you just put the router address as the address of ur Mac...</description>
		<content:encoded><![CDATA[<p>Same way Gael, you just put the router address as the address of ur Mac&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using (and sharing) a VPN connection on your Mac by Maxi</title>
		<link>http://rodrigo.sharpcube.com/2010/06/20/using-and-sharing-a-vpn-connection-on-your-mac/#comment-3803</link>
		<dc:creator>Maxi</dc:creator>
		<pubDate>Fri, 10 Feb 2012 02:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://rodrigo.sharpcube.com/?p=127#comment-3803</guid>
		<description>Great tutorial Rodrigo!
Thanks a lot...my problem is that on the ps3 I can connect to the Internet perfectly and can even browse on the web browser. Yet I can never seem to connect to the psn network.. It simply times out every time... Any ideas? I am using tunnelbear as a VPN service..
Thanks again Rodrigo.</description>
		<content:encoded><![CDATA[<p>Great tutorial Rodrigo!<br />
Thanks a lot&#8230;my problem is that on the ps3 I can connect to the Internet perfectly and can even browse on the web browser. Yet I can never seem to connect to the psn network.. It simply times out every time&#8230; Any ideas? I am using tunnelbear as a VPN service..<br />
Thanks again Rodrigo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using (and sharing) a VPN connection on your Mac by Gláucio</title>
		<link>http://rodrigo.sharpcube.com/2010/06/20/using-and-sharing-a-vpn-connection-on-your-mac/#comment-3777</link>
		<dc:creator>Gláucio</dc:creator>
		<pubDate>Tue, 07 Feb 2012 22:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://rodrigo.sharpcube.com/?p=127#comment-3777</guid>
		<description>Thank you Rodrigo!

This line do the trick:

sudo natd -interface tun0 -redirect_port udp 192.168.1.102:88 88 -redirect_port udp 192.168.1.102:3074 3074 -redirect_port tcp 192.168.1.102:3074 3074

My XBOX IP: 192.168.1.102

It solved my issue! Good job!</description>
		<content:encoded><![CDATA[<p>Thank you Rodrigo!</p>
<p>This line do the trick:</p>
<p>sudo natd -interface tun0 -redirect_port udp 192.168.1.102:88 88 -redirect_port udp 192.168.1.102:3074 3074 -redirect_port tcp 192.168.1.102:3074 3074</p>
<p>My XBOX IP: 192.168.1.102</p>
<p>It solved my issue! Good job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using (and sharing) a VPN connection on your Mac by Rodrigo Sieiro</title>
		<link>http://rodrigo.sharpcube.com/2010/06/20/using-and-sharing-a-vpn-connection-on-your-mac/#comment-3774</link>
		<dc:creator>Rodrigo Sieiro</dc:creator>
		<pubDate>Tue, 07 Feb 2012 15:28:57 +0000</pubDate>
		<guid isPermaLink="false">http://rodrigo.sharpcube.com/?p=127#comment-3774</guid>
		<description>Gláucio,

I believe you can redirect specific ports by using the option “-redirect_port” in natd. Instead of just running “natd -interface tun0? (first line of the script), you can do something like “natd -interface tun0 -redirect_port :88 88? for port 88.

I never tried that but I&#039;m assuming it would work since I researched it in the past and this is the solution that I found.

You can find more info about natd here: http://freebsd.rogness.net/redirect.cgi?basic/nat.html</description>
		<content:encoded><![CDATA[<p>Gláucio,</p>
<p>I believe you can redirect specific ports by using the option “-redirect_port” in natd. Instead of just running “natd -interface tun0? (first line of the script), you can do something like “natd -interface tun0 -redirect_port :88 88? for port 88.</p>
<p>I never tried that but I&#8217;m assuming it would work since I researched it in the past and this is the solution that I found.</p>
<p>You can find more info about natd here: <a href="http://freebsd.rogness.net/redirect.cgi?basic/nat.html" rel="nofollow">http://freebsd.rogness.net/redirect.cgi?basic/nat.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

