diff --git a/configs/router-acl b/configs/router-acl new file mode 100644 index 0000000000000000000000000000000000000000..049e509201d74b5d66e191331e85b9ec4db52c09 --- /dev/null +++ b/configs/router-acl @@ -0,0 +1,140 @@ + +! +version 15.3 +service timestamps debug datetime msec +service timestamps log datetime msec +no service password-encryption +no service dhcp +! +hostname R2 +! +boot-start-marker +boot-end-marker +! +! +! +no aaa new-model +! +! +! +! +! +! +! +no ip domain lookup +ip cef +no ipv6 cef +multilink bundle-name authenticated +! +! +! +! +license udi pid CISCO2911/K9 sn FCZ191170EH +! +! +! +no spanning-tree vlan 1 +vtp domain toto +vtp mode transparent +! +redundancy +! +! +! +! +! +! +interface Embedded-Service-Engine0/0 + no ip address + shutdown +! +interface GigabitEthernet0/0 + no ip address + ip helper-address 192.168.10.12 + duplex auto + speed auto +! +interface GigabitEthernet0/0.1 + encapsulation dot1Q 2 + ip address 192.168.10.254 255.255.255.0 + ip helper-address 192.168.10.12 + ip nat inside + ip virtual-reassembly in + no cdp enable +! +interface GigabitEthernet0/0.2 + encapsulation dot1Q 3 + ip address 192.168.20.254 255.255.255.0 + ip helper-address 192.168.10.12 + ip nat inside + ip virtual-reassembly in + no cdp enable +! +interface GigabitEthernet0/0.3 + encapsulation dot1Q 4 + ip address 192.168.30.254 255.255.255.0 + ip helper-address 192.168.10.12 + ip nat inside + ip virtual-reassembly in + no cdp enable +! +interface GigabitEthernet0/1 + ip address 10.0.0.2 255.0.0.0 + ip access-group entreprise out + ip nat outside + ip virtual-reassembly in + duplex auto + speed auto +! +interface GigabitEthernet0/2 + no ip address + shutdown + duplex auto + speed auto +! +router rip + version 2 + network 10.0.0.0 + network 192.168.10.0 + network 192.168.20.0 + network 192.168.30.0 +! +ip forward-protocol nd +! +no ip http server +no ip http secure-server +! +ip nat source static 192.168.10.254 10.0.0.2 +! +ip access-list extended entreprise + permit tcp any 192.168.10.0 0.0.0.255 eq domain + permit tcp any 192.168.10.0 0.0.0.255 eq www + permit tcp any 192.168.10.0 0.0.0.255 eq 443 + permit udp any 192.168.10.0 0.0.0.255 eq domain + permit udp any 192.168.10.0 0.0.0.255 eq 443 + deny icmp any any + permit tcp any 192.168.10.0 0.0.0.255 eq smtp +! +no cdp run +! +! +! +control-plane +! +! +! +line con 0 +line aux 0 +line 2 + no activation-character + no exec + transport preferred none + transport output pad telnet rlogin lapb-ta mop udptn v120 ssh + stopbits 1 +line vty 0 4 + login + transport input none +! +scheduler allocate 20000 1000 +! +end