service internal
!
no ip gratuitous-arps ! recommended
!
ip multicast-routing
!
vpdn enable
!
vpdn-group 1
request-dialin
protocol pptp
rotary-group 0
initiate-to ip 1.1.1.1 ! target PPTP server address
!
no ip gratuitous-arps ! recommended
!
ip multicast-routing
!
vpdn enable
!
vpdn-group 1
request-dialin
protocol pptp
rotary-group 0
initiate-to ip 1.1.1.1 ! target PPTP server address
interface Dialer0
mtu 1450 ! allows for mppe and one PPPoE layer just in case
!== типа фиксированно запрашиваемый ip ==
!ip address 2.2.2.2 255.255.255.252
!== получать ip от pptp-сервера ==
!ip address negotiated
ip pim dense-mode
encapsulation ppp
dialer in-band
dialer idle-timeout 0
dialer string 123 ! required, but value seems to be ignored
dialer vpdn
dialer-group 1
no cdp enable
ppp pfc local request
ppp pfc remote apply
ppp encrypt mppe auto
ppp chap hostname vpnuser
ppp chap password 0 vpnpassword
!
dialer-list 1 protocol ip permit
mtu 1450 ! allows for mppe and one PPPoE layer just in case
!== типа фиксированно запрашиваемый ip ==
!ip address 2.2.2.2 255.255.255.252
!== получать ip от pptp-сервера ==
!ip address negotiated
ip pim dense-mode
encapsulation ppp
dialer in-band
dialer idle-timeout 0
dialer string 123 ! required, but value seems to be ignored
dialer vpdn
dialer-group 1
no cdp enable
ppp pfc local request
ppp pfc remote apply
ppp encrypt mppe auto
ppp chap hostname vpnuser
ppp chap password 0 vpnpassword
!
dialer-list 1 protocol ip permit
Ссылки по теме:
Немає коментарів:
Дописати коментар