jianlinwei / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

Port Forwading Broken When Accessing Secured Userid/Passord Local Webserver #479

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set up dd-wrt on a router so that its web configuration page on port 80 is 
only accessible from the LAN. Also setup up dd-wrt so that ssh port 22 is 
accessible from both the Internet as well as the LAN. 
2. Set Connectbot to port forward port 6060 to localhost:80
3. Using Connectbot ssh to the router from the Internet using port 22. 
4. With Connetbot still running, using Firefox to access http://127.0.0.1:6060
5. Fill out the userid and password dialog box and click OK. 
6. Watch the browser hang indefinitely. 
7. Note that the same process using putty on Windows 7 works flawlessly. 

What is the expected output? What do you see instead?

Expect to see the dd-wrt web configuration page. Instead, it just hangs after 
filling out the userid/password dialog box. 

What version of the product are you using (you can see this by using Menu
-> About in the Host List)? 1.7.1 (v1.7.1 2010.10.08)

What type of system are you trying to connect to? DD-WRT v24-sp2 (04/11/11) big 
- build 16773M NEWD-2 K2.6 Eko on an Asus RT-N16. 

If you are able to connect, what is the output of "echo $TERM", "uname -a",
and any other relevant information on the host? not able to connect

Please provide any additional information below.

I have also tried this on my Apache web server only accesible on the LAN 
running on Fedora 13 with a userid/password login options. First setup the 
relevant port forwards on Connectbot, ssh directly onto the Fedora server, then 
try to access the web server using a browser url of http://localhost:80. Same 
problem. The userid/password dialog box hangs indefinitely. 

Any ideas?

-- Mache Creeger

Original issue reported on code.google.com by MacheCre...@gmail.com on 29 Jul 2011 at 6:03

GoogleCodeExporter commented 9 years ago
# echo $TERM
screen
# uname -a
Linux DD-WRT 2.6.24.111 #2972 Mon Apr 11 16:31:57 CEST 2011 mips GNU/Linux
#

-- Mache Creeger

Original comment by MacheCre...@gmail.com on 30 Jul 2011 at 4:30

GoogleCodeExporter commented 9 years ago
Anyone out there?

-- Mache Creeger

Original comment by MacheCre...@gmail.com on 2 Aug 2011 at 6:44