RV042 Telnet Enable/Disable Firewall Rule

Discussion in 'Cisco Small Business Routers and VPN Solutions' started by anthony.selby, Feb 20, 2012.

  1. anthony.selby

    anthony.selby Networkin' Nut Member

    I have a firewall rule on my RV042 and I have enabled telnetd (thanks to this forum) but I'm wondering if anyone knows how to enable or disable a firewall rule from the telnet interface

  2. anthony.selby

    anthony.selby Networkin' Nut Member

    I'm just putting this out there in case some one needs it
    I hate finding threads with the same question and no answer so ....

    once you login to the telnet site

    this will list your rules
    rg_conf_print /nk/fw/rule
    Find the ID of the rule you want to change (in my case 9)

    to enable the rule

    rg_conf_print /nk/fw/rule/9/enabled 1
    to disable the rule

    rg_conf_print /nk/fw/rule/9/enabled 0
    then commit the changes

    your done
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice