Community discussions

MikroTik App
 
matech
just joined
Topic Author
Posts: 1
Joined: Thu Nov 10, 2005 1:08 pm

Script for firewall

Thu Nov 10, 2005 1:56 pm

I have create a firewall that drop a perticular ipaddress with this command= ip firewall filter add chain=input src-address=200.5.50.1/24 action=drop and ip firewall filter add chain=forward src-address=200.5.50.1/24 action=drop. after creating this chain I then disable the chain from droping the ip.
Now i need to create a scripts for the firewall and to tell netwatch to act on the scripts at 31 november so that the firewall be automatically be enable, pls how do i go about creating the scripts and telling netwatch to act on it

Martins.
 
yogi
Frequent Visitor
Frequent Visitor
Posts: 63
Joined: Fri May 28, 2004 4:23 pm

Mon Nov 21, 2005 7:58 pm

/ system scheduler add name="monthend" on-event=bring2life start-date=dec/01/2005 start-time=00:00:01

you need scheduler to activate the script named "bring2life" not netwatch, but do you have to do this every month, cause I only know how to do it on consecutive periods!?!

Who is online

Users browsing this forum: caldo85, mmv and 4 guests