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

Toggle Access Restriction Rule With SES Button

Discussion in 'Tomato Firmware' started by MC76, May 21, 2008.

  1. MC76

    MC76 Guest

    I have searched around here a bit but cannot find exactly what I am looking for so I am posting this asking all of you.

    First, a little setup:

    I work for an ISP and we do occasional repair work for some of our users mainly of the run-antivirus-and-antispyware-and-degunk type. On my workbench I have a WRT54GL running the newest Tomato (1.19). I have one access restriction rule blocking all outbound tcp port 25 traffic so my bench isn't a spambot and sending tons of mail if infected with some nasties of the spambot type leaving our administrator to deal with all the spam abuse reports :)

    Now, it isn't too taxing to log into the router and disable this rule to actually test sending mail, but I thought it would be a neat to set the SES button to toggle this rule for me if it is possible. I am basically wondering if this is easy to do in the 'Custom Script' are of the 'SES/AOSS Button' page or is it more involved than that. Any help pointing me in the right direction would be appreciated.
     

Share This Page