How to use WinSCP to modify files on GL.iNet routers¶
WinSCP is an easy tool to edit, copy and download files or directory on the router. You can copy file between a local computer and your router using FTP, SCP, SFTP, WebDAV or S3 file transfer protocols. It applies to the Windows operating system.
-
Download WinSCP from here and install on your Windows.
-
Connect to the router, then Run WinSCP.
- File protocol: Choose
SCP
as the protocol. - Host name: Input the router IP. If you didn't change the IP of your router, it should be
192.168.8.1
- Port number:
22
- Username & Password: Input
root
as the username and enter your password.
Then click
Login
button. - File protocol: Choose
-
After login, you will have full control of the router.
You can choose, view, edit or transfer files/directories from/to the router.
For example, if you want to edit firewall config, you can go to /etc/config, find the firewall file, right click on it and then choose Edit.
Now you can edit the file content freely. Be careful not to mess up the settings.
Still have questions? Visit our Community Forum or Contact us.