воскресенье, 2 января 2011 г.

Cisco, VPN, NAT, Windows 7

Building configuration...

Current configuration : 1661 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname IUK_cisco
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$wixB$82DDRlCXmcLkf32EAZgK01
!
no aaa new-model
ip cef
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
ip name-server 212.112.103.3
vpdn enable
!
vpdn-group 1
! Default PPTP VPDN group
accept-dialin
protocol pptp
virtual-template 1
!
!
!
!
!
username testvpn password 7 151C0E031225
!
!
!
!
!
!
interface FastEthernet0/0
ip address 212.112.103.12 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
!
interface Virtual-Template1
ip unnumbered FastEthernet0/0
ip nat inside
ip virtual-reassembly
peer default ip address pool test
no keepalive
ppp encrypt mppe auto
ppp authentication ms-chap-v2 ms-chap callin
!
ip local pool test 192.168.10.1 192.168.10.2
ip default-gateway 212.112.103.1
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 212.112.103.1
!
no ip http server
no ip http secure-server
ip nat pool vpnpool 212.112.103.12 212.112.103.12 netmask 255.255.255.0
ip nat inside source list 100 interface FastEthernet0/0 overload
!
access-list 100 permit ip 192.168.10.0 0.0.0.255 any
!
!
control-plane
!
!
!
banner motd ^CW e l c o m e To I U K G a t e^C
!
line con 0
line aux 0
line vty 0 4
password 7 112A1C02031A2805172924162726212701
login
line vty 5
password 7 002716011053280F1C22437C060C111200
login
!
!
end

IUK_cisco#

Комментариев нет:

Отправить комментарий