I am trying to setup SSH tunneling on AC-RT68U router. The purpose is to route all internet traffic through SSH tunnel to my router so I can browse freely when I visit China. What I did is:
1. In Administrator--System--Service, I changed the following settings:
Enable SSH: LAN+WAN
Allow SSH port Forwarding: NO --- Edit: Should be Yes
SSH port: 22
Allow password login: yes
Enable SSH Brute Force Protection: NO. --- Edit: I changed to "Yes" for security reason
No authorized keys
2. In WAN-Virtual server/Port Forwarding, I forward external port 443 to internal port 22 for both TCP/UDP, and internal ip address set to the router LAN address 192.168.10.1
3. Then I follow the link https://wiki.dd-wrt.com/wiki/index.php/Easy_SSH_tunnels to configure remote SSH client and configure socks to use SSH tunneling.
Remote SSH client putty works fine, I am able to login to my router. However once I enable socks, I have no internet access at all.
The only different between Merlin firmware and DDWRT is the SSHD configuration in the router, DDWRT has remote SSH port setting(suppose to be 443 in my case). In Merlin firmware I cannot find the remote SSH port setting so I use port forward 443 to 22.
Any advice? No OpenVPN/PPTP suggestion because I already configured and they only work sometimes and I just want to have 3rd method.
Thank you!
1. In Administrator--System--Service, I changed the following settings:
Enable SSH: LAN+WAN
Allow SSH port Forwarding: NO --- Edit: Should be Yes
SSH port: 22
Allow password login: yes
Enable SSH Brute Force Protection: NO. --- Edit: I changed to "Yes" for security reason
No authorized keys
2. In WAN-Virtual server/Port Forwarding, I forward external port 443 to internal port 22 for both TCP/UDP, and internal ip address set to the router LAN address 192.168.10.1
3. Then I follow the link https://wiki.dd-wrt.com/wiki/index.php/Easy_SSH_tunnels to configure remote SSH client and configure socks to use SSH tunneling.
Remote SSH client putty works fine, I am able to login to my router. However once I enable socks, I have no internet access at all.
The only different between Merlin firmware and DDWRT is the SSHD configuration in the router, DDWRT has remote SSH port setting(suppose to be 443 in my case). In Merlin firmware I cannot find the remote SSH port setting so I use port forward 443 to 22.
Any advice? No OpenVPN/PPTP suggestion because I already configured and they only work sometimes and I just want to have 3rd method.
Thank you!
Last edited: