Cisco Adsl + Vpn

De BlaxWiki
Aller à la navigationAller à la recherche

Using 3352 out of 29688 bytes
!
version 12.3
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname outil_1710
!
boot-start-marker
boot-end-marker
!
no logging buffered
enable secret 5 $1$bCVp$IpJXKmBIbQI.xJ516hIEz.
!
username Router password 0 claranet
username nabila password 0 claranet
memory-size iomem 25
aaa new-model
!
!
aaa authentication login clientauth local
aaa authorization network groupauthor local
aaa session-id common
ip subnet-zero
!
!
!
!
ip domain name outil_1710
ip name-server 212.43.194.2
ip name-server 212.43.194.3
no ip cef
ip audit notify log
ip audit po max-events 100
vpdn-group 1
 request-dialin
  protocol pppoe
!
no ftp-server write-enable
no scripting tcl init
no scripting tcl encdir
!
!
!
!
crypto keyring spokes
  pre-shared-key address 0.0.0.0 0.0.0.0 key cisco123
!
crypto isakmp policy 10
 encr 3des
 hash md5
 authentication pre-share
 group 2
crypto isakmp key toto address 212.43.214.155
!
crypto isakmp client configuration group testgroup
 key cisco321
 pool ippool
crypto isakmp profile VPNclient
   match identity group testgroup
   client authentication list clientauth
   isakmp authorization list groupauthor
   client configuration address respond
!
!
crypto ipsec transform-set ipsec_transform esp-3des esp-md5-hmac
crypto ipsec transform-set myset esp-3des esp-md5-hmac
!
crypto dynamic-map dynmap 5
 set transform-set myset
 set isakmp-profile VPNclient
!
!
crypto map VPN 10 ipsec-isakmp
 set peer 212.43.214.155
 set transform-set ipsec_transform
 match address 110
!
crypto map mymap 10 ipsec-isakmp dynamic dynmap
!
!
!
!
interface Ethernet0
 no ip address
 ip nat inside
 ip tcp adjust-mss 1452
 half-duplex
 pppoe enable
 pppoe-client dial-pool-number 1
 hold-queue 100 out
!
interface FastEthernet0
 ip address 192.168.0.1 255.255.255.0
 ip nat inside
 speed 100
!
interface Dialer1
 ip address negotiated
 ip mtu 1492
 ip nat outside
 encapsulation ppp
 ip tcp adjust-mss 1452
 dialer pool 1
 dialer remote-name redback
 dialer-group 1
 ppp authentication pap chap callin
 ppp chap hostname 0146499440@claranet.fr
 ppp chap password 0 roi8Giir
 ppp pap sent-username 0146499440@claranet.fr password 0 roi8Giir
 ppp ipcp dns request
 ppp ipcp wins request
 crypto map VPN
!
ip local pool ippool 10.5.5.1 10.5.5.254
ip nat translation timeout 4194
ip nat inside source list 102 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
no ip http secure-server
!
!
!
ip access-list extended protocol
access-list 3 permit 212.43.195.0 0.0.0.255
access-list 102 deny   ip 192.168.0.0 0.0.0.255 192.168.2.0 0.0.0.255
access-list 102 permit ip 192.168.0.0 0.0.0.255 any
access-list 110 permit ip 192.168.0.0 0.0.0.255 192.168.2.0 0.0.0.255
dialer-list 1 protocol ip permit
snmp-server community 0util333 RO
snmp-server enable traps tty
!
!
control-plane
!
!
line con 0
 exec-timeout 120 0
 transport preferred all
 transport output all
 stopbits 1
line aux 0
 transport preferred all
 transport output all
 stopbits 1
line vty 0 3
 access-class 23 in
 exec-timeout 120 0
 length 0
 transport preferred all
 transport input ssh
 transport output all
line vty 4
 access-class 3 in
 exec-timeout 120 0
 length 0
 transport preferred all
 transport input telnet ssh
 transport output all
!
scheduler max-task-time 5000
!
end