<?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 on: Howto perform UDP tunneling through SSH connection</title>
	<atom:link href="http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html</link>
	<description>Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips</description>
	<lastBuildDate>Mon, 06 Feb 2012 02:01:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jovan Janevski</title>
		<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/comment-page-1#comment-9067</link>
		<dc:creator>Jovan Janevski</dc:creator>
		<pubDate>Wed, 23 Nov 2011 18:41:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html#comment-9067</guid>
		<description>Agreed, after first DNS query has been questioned and answered nc stops listening on udp port 53.
If I try to add -k then nc would show error help menu.
If I add -w 1 and put it in bash with a while loop I get around 1 DNS query per second which is not good enough.</description>
		<content:encoded><![CDATA[<p>Agreed, after first DNS query has been questioned and answered nc stops listening on udp port 53.<br />
If I try to add -k then nc would show error help menu.<br />
If I add -w 1 and put it in bash with a while loop I get around 1 DNS query per second which is not good enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krypton</title>
		<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/comment-page-1#comment-9035</link>
		<dc:creator>Krypton</dc:creator>
		<pubDate>Tue, 08 Nov 2011 14:46:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html#comment-9035</guid>
		<description>Has anybody had any luck getting this working with SNMP? 

This method looks like its could potentially work but the sting: 

nc -l -p 22222  /tmp/fifo

Appears to be too static? Any ideas how to make this address dynamic in such a setup?</description>
		<content:encoded><![CDATA[<p>Has anybody had any luck getting this working with SNMP? </p>
<p>This method looks like its could potentially work but the sting: </p>
<p>nc -l -p 22222  /tmp/fifo</p>
<p>Appears to be too static? Any ideas how to make this address dynamic in such a setup?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iBro</title>
		<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/comment-page-1#comment-8852</link>
		<dc:creator>iBro</dc:creator>
		<pubDate>Sat, 03 Sep 2011 20:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html#comment-8852</guid>
		<description>If you only use it occasionally, you can just pipe it through ssh like this:

&lt;code&gt;sudo nc -l -u -p 53 &lt; dnsfifo &#124; ssh user@server.net &quot;/usr/bin/nc -u dns.server.address 53&quot; &gt; dnsfifo&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>If you only use it occasionally, you can just pipe it through ssh like this:</p>
<p><code>sudo nc -l -u -p 53 &lt; dnsfifo | ssh <a href="mailto:user@server.net">user@server.net</a> "/usr/bin/nc -u dns.server.address 53" &gt; dnsfifo</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iplparm</title>
		<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/comment-page-1#comment-8268</link>
		<dc:creator>iplparm</dc:creator>
		<pubDate>Fri, 11 Mar 2011 20:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html#comment-8268</guid>
		<description>Doesn&#039;t work for me either.</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t work for me either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nima0102</title>
		<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/comment-page-1#comment-8040</link>
		<dc:creator>nima0102</dc:creator>
		<pubDate>Sat, 22 Jan 2011 15:54:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html#comment-8040</guid>
		<description>Hi
First of all thanks for good tricks.
In our scenario I have to forward my traffic on local machine to remote switch for checking snmp object,it&#039;s means forward traffic for port 161.
Only my debian machine has connection to our switches,so I want to check snmp on switches from my local machine.with your scenario I did not have any luck.
My you explain &quot;nc -l -u -p 53 &lt; /tmp/fifo&quot;.what does this command do?

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi<br />
First of all thanks for good tricks.<br />
In our scenario I have to forward my traffic on local machine to remote switch for checking snmp object,it&#8217;s means forward traffic for port 161.<br />
Only my debian machine has connection to our switches,so I want to check snmp on switches from my local machine.with your scenario I did not have any luck.<br />
My you explain &#8220;nc -l -u -p 53 &lt; /tmp/fifo&quot;.what does this command do?</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/comment-page-1#comment-6002</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Thu, 16 Sep 2010 20:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html#comment-6002</guid>
		<description>There is an option to keep listening after the first connection. From the man page:
-k      Forces nc to stay listening for another connection after its current connection is completed.  It is an
             error to use this option without the -l option.</description>
		<content:encoded><![CDATA[<p>There is an option to keep listening after the first connection. From the man page:<br />
-k      Forces nc to stay listening for another connection after its current connection is completed.  It is an<br />
             error to use this option without the -l option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SF</title>
		<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/comment-page-1#comment-5710</link>
		<dc:creator>SF</dc:creator>
		<pubDate>Fri, 27 Aug 2010 12:39:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html#comment-5710</guid>
		<description>I was able to achieve slightly better results with nc.openbsd (although this is not perfect, too).</description>
		<content:encoded><![CDATA[<p>I was able to achieve slightly better results with nc.openbsd (although this is not perfect, too).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SF</title>
		<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/comment-page-1#comment-5709</link>
		<dc:creator>SF</dc:creator>
		<pubDate>Fri, 27 Aug 2010 11:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html#comment-5709</guid>
		<description>Evr, Jan: it looks that nc is able to handle only 1 connection. :-) If you use netstat you should be able to see that after accepting the first connection the UDP socket is not listening anymore. :-)

So I would say that either this howto is for some other (than ours) nc version, or it is a piece of crap. :-(</description>
		<content:encoded><![CDATA[<p>Evr, Jan: it looks that nc is able to handle only 1 connection. <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  If you use netstat you should be able to see that after accepting the first connection the UDP socket is not listening anymore. <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>So I would say that either this howto is for some other (than ours) nc version, or it is a piece of crap. <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/comment-page-1#comment-5006</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Mon, 10 May 2010 13:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html#comment-5006</guid>
		<description>the above didn&#039;t show as it should..

basically I was saying that if I split the first &quot;nc&quot; command shown into 2 commands it works but when you put the whole line in I get a usage error</description>
		<content:encoded><![CDATA[<p>the above didn&#8217;t show as it should..</p>
<p>basically I was saying that if I split the first &#8220;nc&#8221; command shown into 2 commands it works but when you put the whole line in I get a usage error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/comment-page-1#comment-5005</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Mon, 10 May 2010 13:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html#comment-5005</guid>
		<description>This doesn&#039;t work for me :-(

when I enter the line &quot;nc -l -p 22222  /tmp/fifo&quot;

I get &quot;usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port]
          [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version]
          [-x proxy_address[:port]] [hostname] [port[s]]&quot;

However when I enter the commands seperately like
nc -l -p 22222  /tmp/fifo

neither give me the &quot;usage&quot; error that I get when I put them together with a pipe inbetween.</description>
		<content:encoded><![CDATA[<p>This doesn&#8217;t work for me <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>when I enter the line &#8220;nc -l -p 22222  /tmp/fifo&#8221;</p>
<p>I get &#8220;usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port]<br />
          [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version]<br />
          [-x proxy_address[:port]] [hostname] [port[s]]&#8221;</p>
<p>However when I enter the commands seperately like<br />
nc -l -p 22222  /tmp/fifo</p>
<p>neither give me the &#8220;usage&#8221; error that I get when I put them together with a pipe inbetween.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/comment-page-1#comment-3832</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Fri, 16 Oct 2009 13:50:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html#comment-3832</guid>
		<description>I see the same behaviour as describes above by Evr:

I am packing SNMP (UDP) into TCP and unpack on the other side. (I do not use the SSH tunnel, rather I connect directly to the servers port 22222)
The first request is answered correctly, subsequent run into timeouts</description>
		<content:encoded><![CDATA[<p>I see the same behaviour as describes above by Evr:</p>
<p>I am packing SNMP (UDP) into TCP and unpack on the other side. (I do not use the SSH tunnel, rather I connect directly to the servers port 22222)<br />
The first request is answered correctly, subsequent run into timeouts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: croco</title>
		<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/comment-page-1#comment-3469</link>
		<dc:creator>croco</dc:creator>
		<pubDate>Mon, 03 Aug 2009 07:46:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html#comment-3469</guid>
		<description>This howto is simple-minded amazing! I will try to connect an extern teamspeak server with this method. I must check this because i&#039;m behind a great firewall.</description>
		<content:encoded><![CDATA[<p>This howto is simple-minded amazing! I will try to connect an extern teamspeak server with this method. I must check this because i&#8217;m behind a great firewall.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: evr</title>
		<link>http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html/comment-page-1#comment-3278</link>
		<dc:creator>evr</dc:creator>
		<pubDate>Fri, 26 Jun 2009 14:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/howto-perform-udp-tunneling-through-ssh-connection.html#comment-3278</guid>
		<description>This is a quiet smart &amp; simple method, but i have a problem : the first DNS request works, but all the next attempts encounter timeouts.
Have you any idea of the origin of the trouble ?
Thanks,</description>
		<content:encoded><![CDATA[<p>This is a quiet smart &amp; simple method, but i have a problem : the first DNS request works, but all the next attempts encounter timeouts.<br />
Have you any idea of the origin of the trouble ?<br />
Thanks,</p>
]]></content:encoded>
	</item>
</channel>
</rss>

