Part 3 Vyatta Vlan Access Control List

Part 3 Vyatta Vlan Access Control List

vyatta 6.5

 

Follow with:

Part 1: http://ithelpblog.com/network/vyatta/part-1-vyatta-vlan-configuration-and-dhcp-server-configuration/

Part 2: http://ithelpblog.com/network/vyatta/part-2-vyatta-nat-configuration-and-dns-server-configuration/

Diagram:

Step 1: VYATTA Vlan Access Control Configuration

set firewall name V100_FW default-action accept
set firewall name V100_FW rule 1 source address 192.168.101.0/24
set firewall name V100_FW rule 1 action drop
set firewall name V100_FW rule 2 source address 192.168.102.0/24
set firewall name V100_FW rule 2 action drop
set firewall name V101_FW default-action accept
set firewall name V101_FW rule 1 source address 192.168.100.0/24
set firewall name V101_FW rule 1 action drop
set firewall name V101_FW rule 2 source address 192.168.102.0/24
set firewall name V101_FW rule 2 action drop
set firewall name V102_FW default-action accept
set firewall name V102_FW rule 1 source address 192.168.100.0/24
set firewall name V102_FW rule 1 action drop
set firewall name V102_FW rule 2 source address 192.168.101.0/24
set firewall name V102_FW rule 2 action drop

commit

save

Step 2: Apply to Interface of VLAN

set interfaces ethernet eth1 vif 100 firewall out name V100_FW
set interfaces ethernet eth1 vif 101 firewall out name V101_FW
set interfaces ethernet eth1 vif 102 firewall out name V102_FW

commit

save

That’s all. Thanks for using IThelpblog.com.

 

 

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>