FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
585 views 0 comments
by anonymous
Hi. Is there any command to reset firewall to default?

I made some custom firewall configuration and there was some type error and now i cant connect to router via OpenVPN anymore..

I can configure router via sms but didn't found any command to only reset firewall to default.

1 Answer

0 votes
by anonymous

Hello,

To reset all firewall settings to their factory defaults, login to the router via the CLI (SSH) and run the following command:

cp /rom/etc/config/firewall /etc/config/firewall && reload_config

This will set your firewall settings to factory defaults, meaning that if you have any custom port forwards configured or if you had SSH/HTTP(S) rules enabled to accept input to the router from WAN, these custom (or modified) rules will become either wiped or disabled.

Logging in via CLI can be done in two ways - either using WebUI or via third party tools. To login to the CLI via WebUI, please login to WebUI and navigate to System > CLI. To login, enter "root" as the username and WebUI password.

If you need additional details about logging in to the router via CLI, please follow the instructions provided in our wiki page:

https://wiki.teltonika-networks.com/view/RUTX11_CLI

Best regards,

Tomas.