<?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: Bypassing corporate firewall with reverse ssh port forwarding</title>
	<atom:link href="http://toic.org/2009/01/18/reverse-ssh-port-forwarding/feed/" rel="self" type="application/rss+xml" />
	<link>http://toic.org/2009/01/18/reverse-ssh-port-forwarding/</link>
	<description>Think shell</description>
	<lastBuildDate>Fri, 05 Mar 2010 17:33:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Christian Rishøj</title>
		<link>http://toic.org/2009/01/18/reverse-ssh-port-forwarding/comment-page-1/#comment-597</link>
		<dc:creator>Christian Rishøj</dc:creator>
		<pubDate>Fri, 05 Mar 2010 17:33:35 +0000</pubDate>
		<guid isPermaLink="false">http://toic.org/?p=207#comment-597</guid>
		<description>Excellent post! Thorough, explanatory and extremely useful. You saved the day!</description>
		<content:encoded><![CDATA[<p>Excellent post! Thorough, explanatory and extremely useful. You saved the day!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SSH port forwarding &#124; - [ t o i c . o r g ] -</title>
		<link>http://toic.org/2009/01/18/reverse-ssh-port-forwarding/comment-page-1/#comment-588</link>
		<dc:creator>SSH port forwarding &#124; - [ t o i c . o r g ] -</dc:creator>
		<pubDate>Tue, 16 Feb 2010 13:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://toic.org/?p=207#comment-588</guid>
		<description>[...] one of my previous post I made a tutorial how to bypass corporate firewalls and gain access into your office computer. It work well if you are at your home and you need ssh [...]</description>
		<content:encoded><![CDATA[<p>[...] one of my previous post I made a tutorial how to bypass corporate firewalls and gain access into your office computer. It work well if you are at your home and you need ssh [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reverse ssh port forwarding &#171; Linux notes</title>
		<link>http://toic.org/2009/01/18/reverse-ssh-port-forwarding/comment-page-1/#comment-587</link>
		<dc:creator>Reverse ssh port forwarding &#171; Linux notes</dc:creator>
		<pubDate>Sun, 14 Feb 2010 15:07:11 +0000</pubDate>
		<guid isPermaLink="false">http://toic.org/?p=207#comment-587</guid>
		<description>[...] via Reverse ssh port forwarding &#124; &#8211; [ t o i c . o r g ] -. [...]</description>
		<content:encoded><![CDATA[<p>[...] via Reverse ssh port forwarding | &#8211; [ t o i c . o r g ] -. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Branko</title>
		<link>http://toic.org/2009/01/18/reverse-ssh-port-forwarding/comment-page-1/#comment-583</link>
		<dc:creator>Branko</dc:creator>
		<pubDate>Mon, 25 Jan 2010 07:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://toic.org/?p=207#comment-583</guid>
		<description>As far as I know this setup will not work for you in this way. 

If you reverse proxy the connections trough your home computer than all traffic will go trough that tunnel, and that beats the purpose of what your trying.</description>
		<content:encoded><![CDATA[<p>As far as I know this setup will not work for you in this way. </p>
<p>If you reverse proxy the connections trough your home computer than all traffic will go trough that tunnel, and that beats the purpose of what your trying.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Branko</title>
		<link>http://toic.org/2009/01/18/reverse-ssh-port-forwarding/comment-page-1/#comment-582</link>
		<dc:creator>Branko</dc:creator>
		<pubDate>Mon, 25 Jan 2010 07:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://toic.org/?p=207#comment-582</guid>
		<description>What you need to do is make sure Gatewayports are set to clientspecified in /etc/ssh/sshd_config

On your vps run this command:

ssh -nNT -R 0.0.0.0:2222:localhost:22 username@localhost

Make sure you replace port 2222 with a port that is opened on your university, and replace username with your local vps username. 

After doing so make sure your vps firewall is permitting traffic on the port of your choice (2222 in this example).

Do a quick nestat -ntl on yoiur vps, and it should show something like this:

tcp        0      0 0.0.0.0:2222                0.0.0.0:*                   LISTEN</description>
		<content:encoded><![CDATA[<p>What you need to do is make sure Gatewayports are set to clientspecified in /etc/ssh/sshd_config</p>
<p>On your vps run this command:</p>
<p>ssh -nNT -R 0.0.0.0:2222:localhost:22 username@localhost</p>
<p>Make sure you replace port 2222 with a port that is opened on your university, and replace username with your local vps username. </p>
<p>After doing so make sure your vps firewall is permitting traffic on the port of your choice (2222 in this example).</p>
<p>Do a quick nestat -ntl on yoiur vps, and it should show something like this:</p>
<p>tcp        0      0 0.0.0.0:2222                0.0.0.0:*                   LISTEN</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abuiles</title>
		<link>http://toic.org/2009/01/18/reverse-ssh-port-forwarding/comment-page-1/#comment-581</link>
		<dc:creator>abuiles</dc:creator>
		<pubDate>Mon, 25 Jan 2010 04:37:09 +0000</pubDate>
		<guid isPermaLink="false">http://toic.org/?p=207#comment-581</guid>
		<description>Hi there.

Normally in my university 22 port is blocked, so being there I can&#039;t get connected to my ssh account, ( I have a VPS )

So I tried to do some port forwarding in my server, to send all the incoming request in certain port to port 22, i tried the following command.

ssh -nNT -R somePort:myip:22 myuser@myip.com

it didn&#039;t work, certainly I&#039;m doing wrong, do you know if it is possible to do something like that ?

Any help would be really appreciated.</description>
		<content:encoded><![CDATA[<p>Hi there.</p>
<p>Normally in my university 22 port is blocked, so being there I can&#8217;t get connected to my ssh account, ( I have a VPS )</p>
<p>So I tried to do some port forwarding in my server, to send all the incoming request in certain port to port 22, i tried the following command.</p>
<p>ssh -nNT -R somePort:myip:22 <a href="mailto:myuser@myip.com">myuser@myip.com</a></p>
<p>it didn&#8217;t work, certainly I&#8217;m doing wrong, do you know if it is possible to do something like that ?</p>
<p>Any help would be really appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandeep</title>
		<link>http://toic.org/2009/01/18/reverse-ssh-port-forwarding/comment-page-1/#comment-580</link>
		<dc:creator>sandeep</dc:creator>
		<pubDate>Wed, 13 Jan 2010 19:23:32 +0000</pubDate>
		<guid isPermaLink="false">http://toic.org/?p=207#comment-580</guid>
		<description>haii,
    i am studying in college...at college computer i can&#039;t use bit-TORRENT .because i suppose that it is blocked by college firewall.........
  pls tell me how i download torrent file on college computer....

pls help............</description>
		<content:encoded><![CDATA[<p>haii,<br />
    i am studying in college&#8230;at college computer i can&#8217;t use bit-TORRENT .because i suppose that it is blocked by college firewall&#8230;&#8230;&#8230;<br />
  pls tell me how i download torrent file on college computer&#8230;.</p>
<p>pls help&#8230;&#8230;&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Branko</title>
		<link>http://toic.org/2009/01/18/reverse-ssh-port-forwarding/comment-page-1/#comment-579</link>
		<dc:creator>Branko</dc:creator>
		<pubDate>Fri, 08 Jan 2010 10:17:20 +0000</pubDate>
		<guid isPermaLink="false">http://toic.org/?p=207#comment-579</guid>
		<description>Can you specify what command you are using to establish a reverese tunnel from office Computer?</description>
		<content:encoded><![CDATA[<p>Can you specify what command you are using to establish a reverese tunnel from office Computer?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://toic.org/2009/01/18/reverse-ssh-port-forwarding/comment-page-1/#comment-578</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Sat, 02 Jan 2010 19:46:42 +0000</pubDate>
		<guid isPermaLink="false">http://toic.org/?p=207#comment-578</guid>
		<description>I am having a few issues with this setup.
I CAN establish a reverse tunnel from officeComputer to remoteServer However I am unable to connect to officeComputer THRU remoteServer using the ssh -p 2210 remoteServer example.


However if I ssh in to the remoteServer i can ssh -p officeComputerPORT localhost

I changed the GatewayPorts on remoteServer and restarted with no change. 

when my officeComputer connects to remoteServer and I do a netstat -tnl it still shows only the l27.0.0.1 as the listening port. 

Any suggestions?</description>
		<content:encoded><![CDATA[<p>I am having a few issues with this setup.<br />
I CAN establish a reverse tunnel from officeComputer to remoteServer However I am unable to connect to officeComputer THRU remoteServer using the ssh -p 2210 remoteServer example.</p>
<p>However if I ssh in to the remoteServer i can ssh -p officeComputerPORT localhost</p>
<p>I changed the GatewayPorts on remoteServer and restarted with no change. </p>
<p>when my officeComputer connects to remoteServer and I do a netstat -tnl it still shows only the l27.0.0.1 as the listening port. </p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike C</title>
		<link>http://toic.org/2009/01/18/reverse-ssh-port-forwarding/comment-page-1/#comment-574</link>
		<dc:creator>Mike C</dc:creator>
		<pubDate>Thu, 17 Dec 2009 16:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://toic.org/?p=207#comment-574</guid>
		<description>You Rock!  Awesome site.  

FWIW, I was reverse tunneling and could only connect via localhost (connections to the remote nic kept failing). 

mike@go:/etc/ssh$ telnet localhost 4007
Trying 127.0.0.1...
Connected to localhost.
Escape character is &#039;^]&#039;.
^]

telnet&gt; close
Connection closed.
mike@go:/etc/ssh$ telnet myDomainName.com 4007
Trying 72.14.188.90...
telnet: Unable to connect to remote host: Connection refused

I discovered the GatewayPorts option in ssh_config (client!) and put it in my client config.  Of course this didn&#039;t work.  Then I put it in the sshd_config per your instruction with the clientspecified value.  After an sshd restart, everything is good! 

Thank you!</description>
		<content:encoded><![CDATA[<p>You Rock!  Awesome site.  </p>
<p>FWIW, I was reverse tunneling and could only connect via localhost (connections to the remote nic kept failing). </p>
<p>mike@go:/etc/ssh$ telnet localhost 4007<br />
Trying 127.0.0.1&#8230;<br />
Connected to localhost.<br />
Escape character is &#8216;^]&#8217;.<br />
^]</p>
<p>telnet&gt; close<br />
Connection closed.<br />
mike@go:/etc/ssh$ telnet myDomainName.com 4007<br />
Trying 72.14.188.90&#8230;<br />
telnet: Unable to connect to remote host: Connection refused</p>
<p>I discovered the GatewayPorts option in ssh_config (client!) and put it in my client config.  Of course this didn&#8217;t work.  Then I put it in the sshd_config per your instruction with the clientspecified value.  After an sshd restart, everything is good! </p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
