CPE610 How to setup remote management through SSH

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

CPE610 How to setup remote management through SSH

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
CPE610 How to setup remote management through SSH
CPE610 How to setup remote management through SSH
2019-08-16 08:29:23 - last edited 2019-08-18 14:38:07
Model: CPE610  
Hardware Version: V1
Firmware Version: 2.1.12 Build 20180202 Rel. 58819 (4555)

Hi TP Link,

 

I have a question about SSH, I'm not sure what the limits of SSH on the TP Link devices are, but I would like to do the following:

 

I need to change the Remote Management settings on the CPE610 and dont have access to the property. I can ping the device and I can also login through SSH.

Can I change the Remote Management Settings through SSH?

 

Thanks You.

  0      
  0      
#1
Options
1 Accepted Solution
Re:Re: CPE610 How to setup remote management through SSH-Solution
2019-08-17 10:16:04 - last edited 2019-08-18 14:38:07

R1D2 wrote

PolarAIR wrote

Can I change the Remote Management Settings through SSH?

 

I would be interested in using ssh for remote management too, but couldn't find out how to change settings from command line if connected to a CPE through SSH.

 

Alternative methods to remotely connect to the Pharos web UI are:

 

  • Forwarding of CPE's port 80 on the router (requires public IP on the router's WAN side),
  • SSH tunneling/forwarding of CPE's port 80 (-L with public IP on the router's WAN side),
  • SSH tunneling/forwarding of CPE's port 80 (-R if no public IP available, requires start of ssh tunnel on the router),
  • VPN between local and remote networks,
  • using Pharos Control running on-site (if more than one CPE should be remotely manageable) and port forwarding for Pharos Control.

 

I use a combination of -L/-R over two SSH tunnels currently: our routers deploy a reverse tunnel to the remote mgmt server on demand, I then use a forwarding tunnel from my workstation to the remote mgmt server to reach the CPE's web UI.

 

Thanks R1D2 !

 

I used the "-R"  option and it worked great.

I connected to the CPE through SSH and used Putty with the tuneling feature, then I just setup my browser to use the localhost as the proxy. And there I connected to the CPE Web UI remotely.

 

Recommended Solution
  0  
  0  
#3
Options
7 Reply
Re: CPE610 How to setup remote management through SSH
2019-08-17 02:21:41 - last edited 2019-08-17 02:25:22

PolarAIR wrote

Can I change the Remote Management Settings through SSH?

 

I would be interested in using ssh for remote management too, but couldn't find out how to change settings from command line if connected to a CPE through SSH.

 

Alternative methods to remotely connect to the Pharos web UI are:

 

  • Forwarding of CPE's port 80 on the router (requires public IP on the router's WAN side),
  • SSH tunneling/forwarding of CPE's port 80 (-L with public IP on the router's WAN side),
  • SSH tunneling/forwarding of CPE's port 80 (-R if no public IP available, requires start of ssh tunnel on the router),
  • VPN between local and remote networks,
  • using Pharos Control running on-site (if more than one CPE should be remotely manageable) and port forwarding for Pharos Control.

 

I use a combination of -L/-R over two SSH tunnels currently: our routers deploy a reverse tunnel to the remote mgmt server on demand, I then use a forwarding tunnel from my workstation to the remote mgmt server to reach the CPE's web UI.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#2
Options
Re:Re: CPE610 How to setup remote management through SSH-Solution
2019-08-17 10:16:04 - last edited 2019-08-18 14:38:07

R1D2 wrote

PolarAIR wrote

Can I change the Remote Management Settings through SSH?

 

I would be interested in using ssh for remote management too, but couldn't find out how to change settings from command line if connected to a CPE through SSH.

 

Alternative methods to remotely connect to the Pharos web UI are:

 

  • Forwarding of CPE's port 80 on the router (requires public IP on the router's WAN side),
  • SSH tunneling/forwarding of CPE's port 80 (-L with public IP on the router's WAN side),
  • SSH tunneling/forwarding of CPE's port 80 (-R if no public IP available, requires start of ssh tunnel on the router),
  • VPN between local and remote networks,
  • using Pharos Control running on-site (if more than one CPE should be remotely manageable) and port forwarding for Pharos Control.

 

I use a combination of -L/-R over two SSH tunnels currently: our routers deploy a reverse tunnel to the remote mgmt server on demand, I then use a forwarding tunnel from my workstation to the remote mgmt server to reach the CPE's web UI.

 

Thanks R1D2 !

 

I used the "-R"  option and it worked great.

I connected to the CPE through SSH and used Putty with the tuneling feature, then I just setup my browser to use the localhost as the proxy. And there I connected to the CPE Web UI remotely.

 

Recommended Solution
  0  
  0  
#3
Options
Re: CPE610 How to setup remote management through SSH
2019-08-17 12:52:27

PolarAIR wrote:

 

Thanks R1D2 !

 

I used the "-R"  option and it worked great.

 

Glad it works for you. Yes, port forwarding over SSH tunnels is a very helpful and easy to set up feature.

 

Please can you mark the answer as best solution so that others with the same requirement can find it? Thanks!

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#4
Options
Re:CPE610 How to setup remote management through SSH
2020-03-22 16:48:13

@PolarAIR I am not able to user web interface of the router... i can type password... but then i am forwared to page where is empty white square.

 

i am wondering what a trash are tplink routers.

  0  
  0  
#5
Options
Re:CPE610 How to setup remote management through SSH
2020-03-22 17:17:07 - last edited 2020-03-22 17:17:38

@heap, the trash is your browser or your operating system (and I bet it's Windows).

 

Clean the browser's cache or try a better browser and make sure that it doesn't auto-complete the URL you've typed in.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#6
Options
Re:CPE610 How to setup remote management through SSH
2020-03-22 18:51:12
@r1d2 i think tpilink is trash. I am using latest firefox version on windows 10. whats the issue with my OS and Browser? Also i set up ipsec tunnel on that crap... and i am not able to see any logs/ to execute send initiation packet to ipsec server... these devices are DISASTER!
  0  
  0  
#7
Options
Re:CPE610 How to setup remote management through SSH
2020-03-22 20:05:00

@heap, the issue with Windows is that every time users have problems with simple, basic things like accessing a web UI, it's caused by a weird network setup or a browser's/OS' web cache in Windows or some other Windows malfunction not reproducable when using Linux or MacOS.

 

What do you mean with »have set up an IPSec tunnel to a CPE«? Do you mean you have enabled IPSec Passthrough in the CPE's firewall?

 

Do you use it operating in router mode? Are you trying to access its web UI from the WAN side?

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#8
Options

Information

Helpful: 0

Views: 5374

Replies: 7

Related Articles