-r
It means to show the running call and data filter rules.
-t
It means to display all the information at one time.
-z
It means to clear a filter rule’s statistics.
-Z
It means to clear IP filter’s gross statistics.
Example
Example
> ipf view -V -c -d
ipf: IP Filter: v3.3.1 (1824)
Kernel: IP Filter: v3.3.1
Running: yes
Log Flags: 0x80947278 = nonip
Default: pass all, Logging: available
Telnet Command:
Telnet Command:
ipf set
ipf set
This command is used to set general rule for firewall.
ipf set
[Options]
ipf set
[SET_NO]
rule
[RULE_NO] [Options]
Syntax Description
Syntax Description
Parameter
Description
Options
There are several options provided here, such as
-v
,
-c
[SET_NO], -
d
[SET_NO],… and etc.
SET_NO
It means to specify the index number (from 1 to 12) of filter set.
RULE_NO
It means to specify the index number (from 1 to 7) of filter rule
set.
-v
Type “-v” to view the configuration of general set.
-c
[SET_NO]
It means to setup Call Filter, e.g.,
-c 2
. The range for the index
number you can type is “0” to “12” (0 means “disable).
-d
[SET_NO]
It means to setup Data Filter, e.g.,
-d 3
. The range for the index
number you can type is “0” to “12” (0 means “disable).
-l [VALUE]
It means to setup Log Flag, e.g.,
-l 2
Type “0” to disable the log flag.
Type “1” to display the log of passed packet.
Type “2” to display the log of blocked packet.
Type “3” to display the log of non-matching packet.
- p [VALUE]
It means to setup actions for packet not matching any rule, e.g.,
-
p 1
Type “0” to let all the packets pass;
Type “1” to block all the packets.
-R [v4/v6] [Enable/Disable]
Accept routing packet from WAN., e.g.,
-
R v4 0
: Set Accept routing packet from WAN by IPv4 is enable
-R v4 1
: Set Accept routing packet from WAN by IPv6 is disable
-R v6 0
: Set Accept routing packet from WAN by IPv4 is enable
-R v6 1
: Set Accept routing packet from WAN by IPv6 is disable
-L [VALUE]
Enable/Disable Strict Security Firewall, e.g.,
-L 1
.
0:Disable, 1:Enable
-C [VALUE]
Setup the code page, e.g.,
-C 12
.
Type 1 ~ 12 as the code page number. If “0” is set, the code page
Vigor2762 Series User’s Guide
507
Содержание Vigor2762 series
Страница 1: ......
Страница 135: ...Vigor2762 Series User s Guide 125 ...
Страница 201: ...This page is left blank Vigor2762 Series User s Guide 191 ...
Страница 261: ...Vigor2762 Series User s Guide 251 ...
Страница 311: ...Vigor2762 Series User s Guide 301 ...
Страница 326: ...Vigor2762 Series User s Guide 316 ...
Страница 330: ...Vigor2762 Series User s Guide 320 ...
Страница 353: ...11 Click OK to save the settings The class rules for WAN1 are defined as shown below Vigor2762 Series User s Guide 343 ...
Страница 408: ...This page is left blank Vigor2762 Series User s Guide 398 ...
Страница 435: ...Vigor2762 Series User s Guide 425 ...
Страница 444: ...Vigor2762 Series User s Guide 434 ...
Страница 448: ...Vigor2762 Series User s Guide 438 ...
Страница 450: ...Part IX DrayTek Tools Part IX DrayTek Tools Vigor2762 Series User s Guide 440 ...
Страница 455: ...This page is left blank Vigor2762 Series User s Guide 445 ...
Страница 456: ...Part X Telnet Commands Part X Telnet Commands Vigor2762 Series User s Guide 446 ...
Страница 505: ... minimum address of the pool FF02 1 1st DNS IPv6 Addr FF02 1 Vigor2762 Series User s Guide 495 ...
Страница 553: ... scr Vigor2762 Series User s Guide 543 ...
Страница 607: ...Vigor2762 Series User s Guide 597 ...
Страница 622: ...Vigor2762 Series User s Guide 612 ...