Hi Dear,
I am new to cisco. By looking couple of document I able to make the my 2651XM router work for ADSL dialing and have done couple static routing. It’s been working for last one year. Now I need the port range forwarding to an Ip address for SIP RTP from 10000 to 20000. Please help me to configure this.
Nis.
Below is the router configuration.
cisco#sh run
Building configuration...
Current configuration : 4216 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
enable secret 5 $1$ xxxxxxxxx
enable password xxxxxxxxx
!
username cisco privilege 15 password 0 xxxxxxxxx
no aaa new-model
ip subnet-zero
!
!
!
!
ip cef
ip domain name yourdomain.com
ip name-server 218.248.255.145
ip name-server 61.1.96.69
ip audit notify log
ip audit po max-events 100
ip ssh break-string
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
!
no ftp-server write-enable
!
!
!
!
!
!
!
!
!
!
!
!
!
no crypto isakmp enable
!
!
!
!
!
!
!
interface FastEthernet0/0
description My Lan Interface
ip address 192.168.1.30 255.255.255.0
ip nat inside
ip tcp adjust-mss 1452
no ip mroute-cache
duplex auto
speed auto
no cdp enable
!
interface FastEthernet0/1
description Physical ADSL Interface (Facing the ISP)
no ip address
no ip mroute-cache
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
no cdp enable
!
interface Serial0/2
no ip address
shutdown
no cdp enable
!
interface Serial0/3
no ip address
shutdown
no cdp enable
!
interface Async1
no ip address
!
interface Async2
no ip address
!
interface Dialer1
description Logical ADSL Interface
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452
no ip mroute-cache
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap callin
ppp chap hostname xxxxxxxxx
ppp chap password 0 xxxxxxxxx
ppp pap sent-username syscomes password 0 xxxxxxxxx
!
ip nat inside source list 10 interface Dialer1 overload
ip nat inside source static tcp 192.168.1.1 5222 interface Dialer1 5222
ip nat inside source static tcp 192.168.1.1 3128 interface Dialer1 80
ip nat inside source static udp 192.168.1.16 4569 interface Dialer1 4569
ip nat inside source static tcp 192.168.1.16 443 interface Dialer1 443
ip nat inside source static tcp 192.168.1.16 143 interface Dialer1 143
ip nat inside source static tcp 192.168.1.16 22 interface Dialer1 22
ip nat inside source static tcp 192.168.1.14 110 interface Dialer1 110
ip nat inside source static tcp 192.168.1.14 25 interface Dialer1 25
ip nat inside source static tcp 192.168.1.10 5900 interface Dialer1 5900
ip nat inside source static tcp 192.168.1.10 5800 interface Dialer1 5800
ip nat inside source static tcp 192.168.1.10 21 interface Dialer1 21
ip nat inside source static udp 192.168.1.16 5060 interface Dialer1 5060
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
no ip http server
ip http authentication local
ip http secure-server
!
!
access-list 10 permit 192.168.1.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run
!
!
!
control-plane
I am new to cisco. By looking couple of document I able to make the my 2651XM router work for ADSL dialing and have done couple static routing. It’s been working for last one year. Now I need the port range forwarding to an Ip address for SIP RTP from 10000 to 20000. Please help me to configure this.
Nis.
Below is the router configuration.
cisco#sh run
Building configuration...
Current configuration : 4216 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
enable secret 5 $1$ xxxxxxxxx
enable password xxxxxxxxx
!
username cisco privilege 15 password 0 xxxxxxxxx
no aaa new-model
ip subnet-zero
!
!
!
!
ip cef
ip domain name yourdomain.com
ip name-server 218.248.255.145
ip name-server 61.1.96.69
ip audit notify log
ip audit po max-events 100
ip ssh break-string
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
!
no ftp-server write-enable
!
!
!
!
!
!
!
!
!
!
!
!
!
no crypto isakmp enable
!
!
!
!
!
!
!
interface FastEthernet0/0
description My Lan Interface
ip address 192.168.1.30 255.255.255.0
ip nat inside
ip tcp adjust-mss 1452
no ip mroute-cache
duplex auto
speed auto
no cdp enable
!
interface FastEthernet0/1
description Physical ADSL Interface (Facing the ISP)
no ip address
no ip mroute-cache
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
no cdp enable
!
interface Serial0/2
no ip address
shutdown
no cdp enable
!
interface Serial0/3
no ip address
shutdown
no cdp enable
!
interface Async1
no ip address
!
interface Async2
no ip address
!
interface Dialer1
description Logical ADSL Interface
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452
no ip mroute-cache
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap callin
ppp chap hostname xxxxxxxxx
ppp chap password 0 xxxxxxxxx
ppp pap sent-username syscomes password 0 xxxxxxxxx
!
ip nat inside source list 10 interface Dialer1 overload
ip nat inside source static tcp 192.168.1.1 5222 interface Dialer1 5222
ip nat inside source static tcp 192.168.1.1 3128 interface Dialer1 80
ip nat inside source static udp 192.168.1.16 4569 interface Dialer1 4569
ip nat inside source static tcp 192.168.1.16 443 interface Dialer1 443
ip nat inside source static tcp 192.168.1.16 143 interface Dialer1 143
ip nat inside source static tcp 192.168.1.16 22 interface Dialer1 22
ip nat inside source static tcp 192.168.1.14 110 interface Dialer1 110
ip nat inside source static tcp 192.168.1.14 25 interface Dialer1 25
ip nat inside source static tcp 192.168.1.10 5900 interface Dialer1 5900
ip nat inside source static tcp 192.168.1.10 5800 interface Dialer1 5800
ip nat inside source static tcp 192.168.1.10 21 interface Dialer1 21
ip nat inside source static udp 192.168.1.16 5060 interface Dialer1 5060
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
no ip http server
ip http authentication local
ip http secure-server
!
!
access-list 10 permit 192.168.1.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run
!
!
!
control-plane