Page 1 of 1

Configuration file locations for manual copy via SSH

Posted: Thu Jul 26, 2018 10:01 am
by VAMET
Dear Friends

I use version 1.6.2. I would like to ask, where are the locations of config files of below options saved in GUI, but I would like to access them in via ssh instead of GUI:

- DHCP IP Reservation Filter
- WiFi approved MAC Filter
- Firewall Port Forwarding

I would be glad for any help and support.

Thank you in advance for your help.

Sincerely

Re: Configuration files location in ssh

Posted: Thu Jul 26, 2018 4:49 pm
by Lantis
/etc/hosts and /etc/ethers
/etc/config/wireless
/etc/config/firewall

Re: Configuration files location in ssh

Posted: Thu Jul 26, 2018 6:26 pm
by VAMET
Dear Lantis
Lantis wrote:/etc/hosts and /etc/ethers
/etc/config/wireless
/etc/config/firewall
Thank you very much. Is there any way to download those files to my PC via WinSCP or other possibility?

Sincerely

Re: Configuration files location in ssh

Posted: Thu Jul 26, 2018 6:56 pm
by Lantis
Using WinSCP you can just copy them to your local computer that will be fine

Re: Configuration file locations for manual copy via SSH

Posted: Wed Oct 24, 2018 3:12 am
by quad1981
Hello,
Thanks for the information.

Re: Configuration file locations for manual copy via SSH

Posted: Tue Mar 10, 2020 3:59 pm
by agrohe21
Has anyone written a script to automate this process? It seems all of these files are in the backup tar. It has to be possible. It would also seem possible to script the uci commands to restore other common settings.

Re: Configuration file locations for manual copy via SSH

Posted: Sat Jan 01, 2022 3:39 am
by chillhouse
Much thanks. Is there any method for downloading those documents to my PC by means of WinSCP or other chance?

Re: Configuration file locations for manual copy via SSH

Posted: Thu Sep 08, 2022 5:58 am
by rockyd
chillhouse wrote:
Sat Jan 01, 2022 3:39 am
Is there any method for downloading those documents to my PC by means of WinSCP or other chance?
Select the file in WinSCP and click the download button, which is above the file list.