<?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>Ketan&#039;s Musings &#187; adsl</title>
	<atom:link href="http://ketan.padegaonkar.name/tag/adsl/feed" rel="self" type="application/rss+xml" />
	<link>http://ketan.padegaonkar.name</link>
	<description>Where he blogs about his eclipse musings</description>
	<lastBuildDate>Fri, 23 Jul 2010 16:03:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Port forwarding using IPTables</title>
		<link>http://ketan.padegaonkar.name/2007/11/07/port-forwarding-using-iptables.html</link>
		<comments>http://ketan.padegaonkar.name/2007/11/07/port-forwarding-using-iptables.html#comments</comments>
		<pubDate>Wed, 07 Nov 2007 13:58:50 +0000</pubDate>
		<dc:creator>Ketan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[adsl]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[port-forwarding]]></category>

		<guid isPermaLink="false">http://ketan.padegaonkar.name/2007/11/07/port-forwarding-using-iptables.html</guid>
		<description><![CDATA[I&#8217;ve got a UT300R2U ADSL router that has a really bad web based UI that did not let me setup some basic port-forwarding rules. Thankfully the router was a linux based router with telnet installed on it. I was able to log in using the admin user, and set the following iptable rules: #iptables -I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got a UT300R2U ADSL router that has a really bad web based UI that did not let me setup some basic <a href="http://en.wikipedia.org/wiki/Port_forwarding">port-forwarding</a> rules.</p>
<p>Thankfully the router was a linux based router with telnet installed on it. I was able to log in using the admin user, and set the following iptable rules:</p>
<p><code><br />
#iptables -I PREROUTING -t nat -p tcp --dport 8080 -i ppp_0_35_1 -j DNAT --to 192.168.1.11:8080<br />
#iptables -I FORWARD -p tcp -d 192.168.1.11 --dport 8080 -i ppp_0_35_1 -o br0 -j ACCEPT<br />
#iptables -I FORWARD -p tcp -s 192.168.1.11 --sport 8080 -i br0 -o ppp_0_35_1 -j ACCEPT<br />
</code></p>
<p>the IP address 192.168.1.11 is the webserver that&#8217;s hosting tomcat on port 8080.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://ketan.padegaonkar.name/2007/11/07/port-forwarding-using-iptables.html&amp;title=Port+forwarding+using+IPTables" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://ketan.padegaonkar.name/2007/11/07/port-forwarding-using-iptables.html&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://ketan.padegaonkar.name/2007/11/07/port-forwarding-using-iptables.html&amp;title=Port+forwarding+using+IPTables" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=RT+%40ketanpkr+Port+forwarding+using+IPTables+-+http://bit.ly/bUKyAN&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://ketan.padegaonkar.name/2007/11/07/port-forwarding-using-iptables.html&amp;t=Port+forwarding+using+IPTables" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://ketan.padegaonkar.name/2007/11/07/port-forwarding-using-iptables.html&amp;title=Port+forwarding+using+IPTables&amp;description=I%27ve%20got%20a%20UT300R2U%20ADSL%20router%20that%20has%20a%20really%20bad%20web%20based%20UI%20that%20did%20not%20let%20me%20setup%20some%20basic%20port-forwarding%20rules.%0A%0AThankfully%20the%20router%20was%20a%20linux%20based%20router%20with%20telnet%20installed%20on%20it.%20I%20was%20able%20to%20log%20in%20using%20the%20admin%20user%2C%20and%20set%20the%20following%20iptable%20rules%3A%0A%0A%0A%23iptables%20-I%20P" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://ketan.padegaonkar.name/2007/11/07/port-forwarding-using-iptables.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
