Reverse SSH tunnel on TL-MR3420 and not working .ipup script

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


Joined: 07 May 2008
Posts: 33

PostPosted: Mon Sep 10, 2012 7:46    Post subject: Reverse SSH tunnel on TL-MR3420 and not working .ipup script Reply with quote
Hi,

I'm using 3G router TL-MR3420 with dd-wrt.
Almost everything works like a charm (no usb_storage support from dd-wrt but it's ok maybe in future...).

My router connects with Internet via 3G (HSPA+) network, my provider automatically disconnects clients after one hour of connection.
Router with dd-wrt reconnects in very short time - what is very cool.

Unfortunately, my 3G connection is also NATed so I had to make reverse SSH tunnel to have opportunity to make any remote management.
Reverse tunnel connects with my other router, which have public IP.
Everything works ok, till the first provider's disconnection.
After reconnection I get zombie SSH tunnel -
on netstat I have ESTABLISHED status - but it's not true, also dbclient says that SSH connection is UP, but it works again only if I manually restart tunnel.

Is there any possibility to make Scripting way (.sh) to monitor SSH reverse tunnel on client side?

Is there any way to make dbclient's restart with WAN/3G reconnection? .ipup script placed in /tmp/etc/config seems to not working at all

_________________
TL-WR1043ND v1.8 (OpenWRT AA 12.09 + OpenVPN) AP
TL-WA730RE (svn20675) offline
TL-WA730RE (svn20675) offline
TL-WR1043ND v1.8 (OpenWRT AA 12.09 + OpenVPN) AP
TL-MR3420 v1.2 (OpenWRT AA 12.09, OpenVPN client, samba3.6-srv, usb, 3g) + Huawei E3131s-2 (HSPA+)
Sponsor
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