summaryrefslogtreecommitdiff
path: root/templates/firewall/modify/node.def
blob: e8f46650751efab4f5d44caf2735380a63c2d26f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
tag:

type: txt

syntax:expression: exec "			               \
        if [ `echo -n '$VAR(@)' | wc -c` -gt 29 ]; then      \
          echo  firewall modify must be 29 characters or less; \
          exit 1 ;                                             \
        fi ; "

syntax:expression: pattern $VAR(@) "^[^-]" ; "Modify rule set name cannot start with \"-\""

syntax:expression: pattern $VAR(@) "^[^;]*$" ; "Firewall rule set name cannot contain ';'"

end: sudo /opt/vyatta/sbin/vyatta-firewall.pl --update-rules modify

help: Set IPv4 modify rule set name