Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NetHub
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Valentin Claisse
NetHub
Commits
574d2bab
Commit
574d2bab
authored
2 years ago
by
Djouadar Mohammad
Browse files
Options
Downloads
Patches
Plain Diff
Config avec ACL
parent
3e41f5a3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configs/router-acl
+140
-0
140 additions, 0 deletions
configs/router-acl
with
140 additions
and
0 deletions
configs/router-acl
0 → 100644
+
140
−
0
View file @
574d2bab
!
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment