Geniu$$ писал(а):
Настраивайте только через телнет.
Пример настройки:
http://addpac.su/ppptp.htmhttp://addpac.su/nat.htm
Я пробовал, используя эти ссылки, настроить не удалось.
Вот мой конфиг.
! APOS(tm) configuration saved from vty
! 1970/ 1/ 1 00:38:04 !
version 8.41.042
!
hostname AP100
!
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
ip address 172.22.15.151 255.255.0.0
ip nat outside
speed auto
no qos-control
!
interface FastEthernet0/1
ip address 192.168.1.1 255.255.255.0
ip nat inside
speed auto
no qos-control
!
interface Dialer0
no ip address
encapsulation ppp
ppp ipcp default-router
ppp authentication chap callin
ppp chap hostname xxxxxx
ppp chap password yyyyyy
!
interface Tunnel0
no ip address
tunnel source FastEthernet0/0
tunnel destination 10.0.0.1
tunnel mode gre ppp
tunnel pptp-client dial-pool-number 0
!
ip route 0.0.0.0 0.0.0.0 172.22.1.1 10
ip route 10.0.0.1 255.255.255.255 172.22.1.1
!
access-list 100 permit ip 192.168.1.0 0.0.0.255 any
!
!
ip nat inside source list 100 interface FastEthernet0/0 overload
!
!
snmp name AP100_G2
!
!
ftp server
http server
!
!
dns name-server 10.254.1.4
logging event 0-emergency
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
no caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
port 0/0
!
dial-peer voice 568 pots
destination-pattern 568
port 0/0
!
!
!
! Voip peer configuration.
!
dial-peer voice 551 voip
destination-pattern 551
session target ip xxx.xxx.xxx.xxx
voice-class codec 0
no vad
dtmf-relay h245-alphanumeric
preference 1
!
!
dial-peer voice 1000 voip
destination-pattern T
session target ras
voice-class codec 0
vad
no dtmf-relay
! Gateway configuration.
!
gateway
h323-id voip.212.119.ttt.ttt
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 0
codec preference 1 g729
codec preference 2 g711alaw
codec preference 3 g711ulaw
codec preference 4 g7231r63
!
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
vad
!
!
! Tones
!
voip-interface ip Dialer0
!
line console
!
line vty
!
где 212.119.ttt.ttt - реальный IP