firewall ip filter

18
Vigor3300 Series Application Note V2.2 255 4 4 1 1 . . F F i i r r e e w wa a l l l l / / I I P P F F i i l l t t e e r r This function allows user to enable the functionality of IP filter. Both inside and outside packets through router could be decided to allow or drop by supervisor. Figure 41-1 IP Filter Rules 41.1 Examples and Web Configurations Example 1 : Employees (192.168.33.32 ~192.168.33.64) are interdicted to surf Internet. Other employees (192.168.33.16~31) are permitted. Figure 41-2 1. Enable the Data Filter Function.

Upload: harry-chan-putra

Post on 20-Jan-2015

415 views

Category:

Documents


4 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Firewall ip filter

Vigor3300 Series Application Note V2.2 255

4411.. FFiirreewwaallll // IIPP FFiilltteerr

This function allows user to enable the functionality of IP filter. Both inside and outside packets through router could be decided to allow or drop by supervisor.

Figure 41-1 IP Filter Rules

4411..11 EExxaammpplleess aanndd WWeebb CCoonnffiigguurraattiioonnss Example 1 :

Employees (192.168.33.32 ~192.168.33.64) are interdicted to surf Internet. Other employees (192.168.33.16~31) are permitted.

Figure 41-2

1. Enable the Data Filter Function.

Page 2: Firewall ip filter

Vigor3300 Series Application Note V2.2 256

Figure 41-3

2. Add new rules in Pass Group.

Figure 41-4

3. Add a rule about SMTP protocol. (port 25) for 192.168.33.16~192.168.33.31.

Figure 41-5

Page 3: Firewall ip filter

Vigor3300 Series Application Note V2.2 257

4. Add another rule about port 53 ( DNS protocol ) , port 80 ( Http protocol ) , port 110 ( POP3 protocol ) for 192.168.33.16~192.168.33.31.

Figure 41-6

5. Finally , Add a rule in block group.

Figure 41-7

6. Beside the previous rules, other connections are forbidden.

Figure 41-8

Page 4: Firewall ip filter

Vigor3300 Series Application Note V2.2 258

Example 2

Only IP 220.220.220.220 is allowed to access my VNC server from Internet as well as only IP 220.220.220.221 is allowed to access my FTP server from Internet. (Other Internet hosts cannot access my internal servers).

Figure 41-9

1. Enable the Data Filter Function.

Figure 41-10

2. Add new rules in Pass Group.

Figure 42-11

Page 5: Firewall ip filter

Vigor3300 Series Application Note V2.2 259

3. Allow IP 220.220.220.220 to access my VNC server. (TCP port 5900)

Figure 41-12

4. Allow IP 220.220.220.221 to access my FTP server. (TCP port 21)

Figure 41-13

Page 6: Firewall ip filter

Vigor3300 Series Application Note V2.2 260

5. Finally , Add a rule in block group.

Figure 41-14

6. Besides the previous rules, other incoming connections are forbidden.

Figure 41-15

Page 7: Firewall ip filter

Vigor3300 Series Application Note V2.2 261

Example 3

Some employees (IP192.168.33.128/27) can use FTP、Mail、Web service , and some (IP 192.168.33.64/26) can only use Mail service.

Figure 41-16

1. Enable the Data Filter Function.

Figure 41-17

2. Add new rules in Pass Group.

Figure 41-18

Page 8: Firewall ip filter

Vigor3300 Series Application Note V2.2 262

3. Allow users with IP 192.168.33.64~192.168.33.127 to use Mail service (SMTP protocol)

Figure 41-19

4. Allow users with IP 192.168.33.64~192.168.33.127 to use Mail service(POP3 protocol)

Figure 41-20

Page 9: Firewall ip filter

Vigor3300 Series Application Note V2.2 263

5. Allow users with IP 192.168.33.64~192.168.33.127 to use DNS service.

Figure 41-21

6. Allow users with IP 192.168.33.128~192.168.33.159 to use FTP, SMTP, POP3, WEB and DNS Services.

Figure 41-22

Page 10: Firewall ip filter

Vigor3300 Series Application Note V2.2 264

Figure 41-23

7. Add a rule in block group.

Figure 41-24

8. Beside the previous rules , other connections are forbidden.

Figure 41-25

Page 11: Firewall ip filter

Vigor3300 Series Application Note V2.2 265

Example 4

Host with IP 192.168.33.10 cannot be accessed by the remote VPN network while hosts with IP192.168.33.5 and 192.168.33.6 can be accessed.

Figure 41-26

1. Enable the Data Filter Function.

Figure 41-27

2. Add new rules in Pass Group.

Figure 41-28

Page 12: Firewall ip filter

Vigor3300 Series Application Note V2.2 266

3. Allow VPN connection from 192.168.29.0 to 192.168.33.5 and 192.168.33.6.

Figure 41-29

Figure 41-30

Page 13: Firewall ip filter

Vigor3300 Series Application Note V2.2 267

4. Add a rule in block group.

Figure 41-31

5. Disallow VPN connection from 192.168.29.0 to 192.168.33.10.

Figure 41-32

Page 14: Firewall ip filter

Vigor3300 Series Application Note V2.2 268

Example 5

Some users ( 192.168.33.33 ~ 192.168.33.36 ) can surf Internet and some ( 192.168.33.16 ~ 192.168.33.31 ) can only access the remote VPN network.

Figure 41-33

1. Enable the Data Filter Function.

Figure 41-34

2. Add new rules in Pass Group.

Figure 41-35

Page 15: Firewall ip filter

Vigor3300 Series Application Note V2.2 269

3. Allow local network 192.168.33.0 to access remote VPN network 192.168.29.0

Figure 41-36

Figure 41-37

Page 16: Firewall ip filter

Vigor3300 Series Application Note V2.2 270

4. Allow users with IP 192.168.33.32~192.168.33.35 to surf Internet ( DNS protocol )

Figure 41-38

5. Allow users with IP 192.168.33.32~192.168.33.35 to surf Internet ( HTTP protocol )

Figure 41-39

Page 17: Firewall ip filter

Vigor3300 Series Application Note V2.2 271

6. Add a rule in block group.

Figure 41-40

7. Beside the previous rules , Other connections are forbidden.

Figure 41-41

Page 18: Firewall ip filter

Vigor3300 Series Application Note V2.2 272

4411..22 FFiirreewwaallll ddiirreeccttiioonn

Figure 41-42

Table 42-1 Firewall /IP Filter Direction.

WAN to LAN From Internet to Intranet, ex : VNC 、Pc Anywhere remote control

WAN to DMZ From Internet to DMZ, ex : allow Internet user to browser web server in DMZ

WAN to WAN From WAN to WAN, ex: Allow WAN1 traffic redirect to WAN2

LAN to WAN From Intranet to Internet, ex : surf Internet

LAN to DMZ From Intranet to DMZ, ex: allow some employees can access DMZ.

LAN to LAN From some security issue, we can use LAN to LAN block function to prohibited LAN1 user from visiting LAN2 resource in VLAN environment.

DMZ to WAN From DMZ to WAN, ex:allow DMZ using Internet resources.

DMZ to LAN Form DMZ to LAN, ex: allow DMZ using inner Database.

VPN In From remote VPN network to Vigor 3300’s VPN network, pass/block

VPN Out From Vigor3300's VPN network to remote VPN network, pass/block

Any All direction in/out , including LAN,WAN,DMZ,VPN