Problem with ssh tunnel

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
bairam
DD-WRT Novice


Joined: 11 Nov 2014
Posts: 38

PostPosted: Mon Nov 16, 2015 7:37    Post subject: Problem with ssh tunnel Reply with quote
I have some problem with ssh.
I've read many-many articles about SSH tunneling.
I'm using Bitvise SSH Client 6.44 to use my home router for web browsing from my office. Since in office blocked some of the sites.

There are frequent errors while surfing on the internet through the tunnel:
The ssh2 session has terminated whith error. Reason: Error class: LocalSshDisconn, code: ConnetionLost, message: FlowSshTransport: received EOF.

I also used the tunnel to PUTTY. Also sometimes there are errors while surfing:
Server unexpectedly closed network connection

Firmware version on the router: DD-WRT v3.0-r28139 std (11/13/15)
When I use the firmware r27506, then no such problems.

Any ideas?
Sponsor
KrypteX
DD-WRT Guru


Joined: 18 Jan 2014
Posts: 2411

PostPosted: Mon Nov 16, 2015 7:42    Post subject: Reply with quote
Maybe related to this same bug in Dropbear SSH http://www.dd-wrt.com/phpBB2/viewtopic.php?p=992153#992153
_________________
THERE ARE NO STRANGERS HERE; ONLY FRIENDS YOU HAVEN'T YET MET.
________________________________________________________________________________________________________
DD-WRT CHANGELOG | DEVICES | DD-WRT BUILDS | KONG BUILDS | UNOFFICIAL BUILDS | DD-WRT in VIRTUALBOX
bairam
DD-WRT Novice


Joined: 11 Nov 2014
Posts: 38

PostPosted: Mon Nov 16, 2015 8:13    Post subject: Reply with quote
KrypteX wrote:
Maybe related to this same bug in Dropbear SSH http://www.dd-wrt.com/phpBB2/viewtopic.php?p=992153#992153


It's very similar.
Wait a fix?
bairam
DD-WRT Novice


Joined: 11 Nov 2014
Posts: 38

PostPosted: Thu Nov 19, 2015 5:06    Post subject: Reply with quote
I changed in Secure Shell->Port "443", Remote Access->SSH Managment "Disable" and add
in Administration->Commands and save in Firewall:
Code:
iptables -I INPUT 2 -p tcp -s 0/0 --dport 443  -j ACCEPT

Following these changes, disconnections are very very much rarer.
Aigolf
DD-WRT Novice


Joined: 27 Feb 2010
Posts: 1

PostPosted: Tue Nov 24, 2015 7:56    Post subject: Reply with quote
Hi, i have the same problem as bairam and i tried your workaround which didn't work for me.
Any special reason for using port 443?

Reverted back to 27506 because it works with this version.
Hoping this gets fixed in near future...

Cheers

Aigolf
ilovetechno
DD-WRT Novice


Joined: 27 Oct 2015
Posts: 6

PostPosted: Tue Nov 24, 2015 8:59    Post subject: Reply with quote
Same here Sad
I have latest DDWRT version. I will try it with an earlier version.

Is it enough to use the earlier build 27506 "tplink_tl-wr1043nd-v2.bin" file for downgrade?

Thx Smile
KrypteX
DD-WRT Guru


Joined: 18 Jan 2014
Posts: 2411

PostPosted: Tue Nov 24, 2015 9:31    Post subject: Reply with quote
Yes.
_________________
THERE ARE NO STRANGERS HERE; ONLY FRIENDS YOU HAVEN'T YET MET.
________________________________________________________________________________________________________
DD-WRT CHANGELOG | DEVICES | DD-WRT BUILDS | KONG BUILDS | UNOFFICIAL BUILDS | DD-WRT in VIRTUALBOX
bairam
DD-WRT Novice


Joined: 11 Nov 2014
Posts: 38

PostPosted: Thu Nov 26, 2015 16:01    Post subject: Reply with quote
Quote:
Dropbear SSH 2015.69 - 25 November 2015

- Fix crash when forwarded TCP connections fail to connect (bug introduced in 2015.68 )

- Avoid hang on session close when multiple sessions are started, affects Qt Creator
Patch from Andrzej Szombierski

- Reduce per-channel memory consumption in common case, increase default
channel limit from 100 to 1000 which should improve SOCKS forwarding for modern
webpages

- Handle multiple command line arguments in a single flag, thanks to Guilhem Moulin

- Manpage improvements from Guilhem Moulin

- Build fixes for Android from Mike Frysinger

- Don't display the MOTD when an explicit command is run from Guilhem Moulin

- Check curve25519 shared secret isn't zero


Will wait update!
KrypteX
DD-WRT Guru


Joined: 18 Jan 2014
Posts: 2411

PostPosted: Thu Nov 26, 2015 16:19    Post subject: Reply with quote
Oh yes, and another update just today:

Quote:
2015.70 - 26 November 2015
- Fix server password authentication on Linux, broke in 2015.69

Dropbear SSH 2015.69/70 should fix port forwarding, this is what Kong said about it: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=992153#992153
If applied, it should fix these tickets:
http://svn.dd-wrt.com/ticket/4816
http://svn.dd-wrt.com/ticket/4868

Let's hope it gets updated soon: http://svn.dd-wrt.com/ticket/3675#comment:2

_________________
THERE ARE NO STRANGERS HERE; ONLY FRIENDS YOU HAVEN'T YET MET.
________________________________________________________________________________________________________
DD-WRT CHANGELOG | DEVICES | DD-WRT BUILDS | KONG BUILDS | UNOFFICIAL BUILDS | DD-WRT in VIRTUALBOX
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum