با سلام خدمت دوستان یه سوال مبتدیانه دارم
این کانفیگ روتر منه میخوام تغیراتی بدم که نیازی نباشه به صورت vpn به روتر وصل شم تا ip بگیرم و اینترنت داشته باشم (کابل شبکه رو که وصل میکنم ip دریافت و بتونم اینترنت کار کنم الان باید vpn وصل بشم ممنون میشم راهنمایی کنید؟)
کد:
Building configuration...
کد:
Current configuration : 1321 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log dat
service password-encryption
!
hostname internet
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$Y7FE$mbunVNQYqdxeBRFgk2D7H/
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
ip cef
!
!
!
!
vpdn enable
!
vpdn-group 1
! Default PPTP VPDN group
accept-dialin
protocol pptp
virtual-template 1
!
async-bootp dns-server 4.2.2.4
!
username user password
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex aut
speed auto
!
interface FastEthernet0/1
ip address 10.123.160.250 255.255.224.0 secondary
ip address 78.x.x.x 255.255.255.224
duplex auto
speed auto
!
interface Serial0/0/0
ip unnumbered FastEthernet0/1
ip access-group 40 out
encapsulation ppp
clock rate 2000000
!
interface Virtual-Template1
ip unnumbered FastEthernet0/1
peer default ip address pool vpnpool
ppp authentication ms-chap ms-chap-v2
!
ip local pool vpnpool 78.x.x.x x.x.x.x
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0/0
!
ip http
!
access-list 40 permit x.x.x.x 0.0.0.31
!
control-plane
!
login
!
end
موضوعات مشابه: