Skip to content
Snippets Groups Projects
Commit 574d2bab authored by Djouadar Mohammad's avatar Djouadar Mohammad
Browse files

Config avec ACL

parent 3e41f5a3
Branches
No related tags found
No related merge requests found
!
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment