D-Link DSL-500G [10/49] Create nat rule entry

D-Link DSL-500G [10/49] Create nat rule entry
create nat rule entry:
1.ruleid <decvalue> Rule identifier
2.<rule type> Type:basic|filter|napt|bimap|rdr|pass
3.[ prot <ProtType> ] Vals:any|tcp|udp|icmp|[num <decvalue>]
4.[ ifname <name> ] Interface name
5.[ lcladdrfrom <ip addr> ] Start source address
6.[ lcladdrto <ip addr> ] End source address
7.[ glbaddrfrom <ip addr> ] Start global address
8.[ glbaddrto <ip addr> ] End global address
9.[ destaddrfrom <ip addr> ] Start dest address
10.[ destaddrto <ip addr> ] End dest address
11.[ destportfrom <Portval> ] Portval: as given below
12.[ destportto <Portval> ] Portval: as given below
13.[ lclport <Portval> ] Portval: as given below
create pfraw:
1.subrule PFRaw Sub Rule Info
2.rule PFRAW Rule Info
create pfraw subrule:
1.entry Entry
create pfraw subrule entry:
1.ruleid <decvalue> Rule id
2.subruleid <decvalue> Subrule id
3.mask <hexvalue> Mask
4.[ start <HeaderVal> ] linkh|iph|tcp[h|d]|udp[h|d]|icmp[h|d]
5.offset <decvalue> Offset
6.[ enable|disable ] Status of the subrule
7.cmpt <relational> any|{eq|neq|lt|lteq|gt|gteq <hexvalue>}
8.cmpt <range> range <hexvalue> <hexvalue>
create pfraw rule:
1.entry Entry
create pfraw rule entry:
1.ruleid <decvalue> Rule id
2.[ ifname <Values> ] Values:<name>|all|public|private|dmz
3.[ dir {in|out} ] Filtering direction
D-Link Confidential 10/49
2003/11/19

Содержание

Скачать