<?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>phirebird &#187; port redirection</title>
	<atom:link href="http://www.phirebird.net/tag/port-redirection/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phirebird.net</link>
	<description>Yet Another IT &#039;How-To&#039; Site</description>
	<lastBuildDate>Wed, 29 Dec 2010 11:37:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Configure a server behind a Cisco Router (port redirection)</title>
		<link>http://www.phirebird.net/2009/06/configure-a-server-behind-a-cisco-router-port-redirection/</link>
		<comments>http://www.phirebird.net/2009/06/configure-a-server-behind-a-cisco-router-port-redirection/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 22:08:29 +0000</pubDate>
		<dc:creator>shands</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[port redirection]]></category>

		<guid isPermaLink="false">http://www.phirebird.net/?p=62</guid>
		<description><![CDATA[This &#8216;how to&#8217; isn&#8217;t going to go into the hows or why NAT / PAT works on the Cisco router &#8211; or in general for that matter. If you&#8217;re looking for that &#8211; Wikipedia has a good enough write up located here: http://en.wikipedia.org/wiki/Network_address_translation  What I am going to go into is how to configure them on [...]]]></description>
			<content:encoded><![CDATA[<p>This &#8216;how to&#8217; isn&#8217;t going to go into the hows or why NAT / PAT works on the Cisco router &#8211; or in general for that matter. If you&#8217;re looking for that &#8211; Wikipedia has a good enough write up located here:</p>
<blockquote><p><a href="http://en.wikipedia.org/wiki/Network_address_translation">http://en.wikipedia.org/wiki/Network_address_translation</a> </p></blockquote>
<p>What I am going to go into is how to configure them on your router. What we&#8217;re trying to achieve here is that you&#8217;ve got a functioning router and want to direct any incoming requests (SMTP, POP, HTTP &#8211; pick one!) to an internal server.</p>
<p>First identify which interface sits on the outside. Then enter global config mode, and issue:</p>
<blockquote><p>ip nat inside source static tcp <em>&lt;internal ip&gt; &lt;internal port&gt;</em> interface <em>&lt;outside interface&gt; &lt;outside port&gt;</em></p></blockquote>
<p>So, for example, if you&#8217;re outside interface is FastEthernet1/0, and you wanted to redirect any HTTP requests to your internal web server on 192.168.0.10, you would issue:</p>
<blockquote><p>phbrouter(config)# ip nat inside source static tcp 192.168.0.10 80 interface FastEthernet1/0 80</p></blockquote>
<p>What if you&#8217;ve got multiple public IP&#8217;s? Simply use this instead:</p>
<blockquote><p>phbrouter(config)# ip nat inside source static tcp 192.168.0.10 80 <em>123.123.123.123</em> 80</p></blockquote>
<p>Easy, yet effective!<br />
</p>
<p>Are you looking to learn more about Cisco equipment? Well, here&#8217;s a selection of a few books that I&#8217;ve found useful over the years:</p>
<table width="100%">
<tr>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0072263830?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51a9cEpt97L._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
Cisco: A Beginner&#8217;s Guide</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0470110082?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51hoZmqfLKL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
CCNA &#8211; Cisco Certified Network Associate Study Guide</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/076451668X?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51yzvygWW8L._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
Cisco Networking for Dummies</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0596527225?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51tMNtlYIeL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
Cisco IOS in a Nutshell &#8211; O&#8217;Reilly</a></td>
</tr>
</table>
<p>&nbsp;</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.phirebird.net/2009/06/configure-a-server-behind-a-cisco-router-port-redirection/&amp;n=Configure+a+server+behind+a+Cisco+Router+%28port+redirection%29&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.phirebird.net/2009/06/configure-a-server-behind-a-cisco-router-port-redirection/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.phirebird.net/2009/06/configure-a-server-behind-a-cisco-router-port-redirection/&amp;title=Configure+a+server+behind+a+Cisco+Router+%28port+redirection%29" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.phirebird.net/2009/06/configure-a-server-behind-a-cisco-router-port-redirection/&amp;title=Configure+a+server+behind+a+Cisco+Router+%28port+redirection%29" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.phirebird.net/2009/06/configure-a-server-behind-a-cisco-router-port-redirection/&amp;t=Configure+a+server+behind+a+Cisco+Router+%28port+redirection%29" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.phirebird.net/2009/06/configure-a-server-behind-a-cisco-router-port-redirection/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.phirebird.net/2009/06/configure-a-server-behind-a-cisco-router-port-redirection/&amp;title=Configure+a+server+behind+a+Cisco+Router+%28port+redirection%29" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.phirebird.net/2009/06/configure-a-server-behind-a-cisco-router-port-redirection/&amp;title=Configure+a+server+behind+a+Cisco+Router+%28port+redirection%29" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.phirebird.net/2009/06/configure-a-server-behind-a-cisco-router-port-redirection/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Configure+a+server+behind+a+Cisco+Router+%28port+redirection%29+-+http://www.phirebird.net/2009/06/configure-a-server-behind-a-cisco-router-port-redirection/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.phirebird.net/2009/06/configure-a-server-behind-a-cisco-router-port-redirection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

