Jump to content
Not connected, Your IP: 18.221.59.121
Sign in to follow this  
urbanconcrete

DD-WRT using SSH Tunnel - Port 22

Recommended Posts

I will also like to know the answer to this question.. much appreciated..

 

 

A340

Share this post


Link to post

If you can get something like optware installed then you should be able to run it.

 

I have optware installed on my asus ac68 with merlin firmware onto a USB memory stick.  I had to install bash and openssh with ipkg.  Bash runs the script, openssh is called therein.

 

So far no problems connecting and with stability, but speeds are much slower than "naked" openvpn run with the same router.  Not slower because of CPU usage but because it's a TCP connection I surmise.

 

If the staff are watching, is TCP required for ssh tunnel setup?  sorry if a dumb question.

Share this post


Link to post

If the staff are watching, is TCP required for ssh tunnel setup?  sorry if a dumb question. :)

 

Hello!

 

Yes, it is mandatory, no UDP support by SSH as you can imagine. So you have overhead by additional SSH tunnel and on top of that OpenVPN forced to work in TCP mode (which, for how OpenVPN works, will be slower and less efficient than UDP). You should never use this mode unless you absolutely need it for some reason (for example to bypass OpenVPN disruption or extreme shaping).

 

Kind regards

Share this post


Link to post

 

If the staff are watching, is TCP required for ssh tunnel setup?  sorry if a dumb question.

 

Hello!

 

Yes, it is mandatory, no UDP support by SSH as you can imagine. So you have overhead by additional SSH tunnel and on top of that OpenVPN forced to work in TCP mode (which, for how OpenVPN works, will be slower and less efficient than UDP). You should never use this mode unless you absolutely need it for some reason (for example to bypass OpenVPN disruption or extreme shaping).

 

Kind regards

 

LOL, so it was a dumb question.  But, I'm no expert....

 

Here in Thailand they have apparently made VPN usage illegal because they want to monitor heavily.  Thus my attempt to hide my use of openvpn by ssh tunnel.

 

if my routing to the singapore servers was proper I think the ssh tunnel would work just fine because the latency would be low.  But, the lowest latency server to me is 240ms and up and depends on the time of day.  TCP just doesn't work well at those latencies.

Share this post


Link to post

Here in Thailand they have apparently made VPN usage illegal because they want to monitor heavily.  Thus my attempt to hide my use of openvpn by ssh tunnel.

 

 

Hello!

 

That's the right decision then.

 

Try OpenVPN over SSL as well. It might work better than over SSH, because from other reports from Thailand it is possible that SSH is shaped much more than SSL to port 443. Also try the Hong Kong server, just in case.

 

Kind regards

Share this post


Link to post

 

yes, with optware and installing stunnel.

Links are sometimes helpful...

 

https://www.datenzone.de/blog/2012/01/installing-stunnel-on-openwrt/

 

Do you only have to install stunnel and download the ssh-vpn file?

 

for stunnel it's the ssl configuration.  it's pretty simple and ipkg should install any dependencies (for stunnel) that aren't already installed.  you just have to use the proper ovpn config for openvpn in conjunction.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...