1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Script Load (Solved)

Discussion in 'Asuswrt-Merlin' started by muffintastic, Sep 10, 2019.

  1. muffintastic

    muffintastic Regular Contributor

    Joined:
    Nov 3, 2015
    Messages:
    124
    Hello.

    I've created a basic firewall script using iptables, is there away I can execute it through SSH without restarting the router?

    muffintastic
     
  2. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    9,278
    Location:
    UK
    If you mean you have created a /jffs/scripts/firewall-start script then you just need to issue the following command:
    Code:
    service restart_firewall
     
    muffintastic likes this.