设为首页收藏本站language 语言切换
查看: 2042|回复: 0
收起左侧

[求助] Adsl和DDNS和NAT问题求助

[复制链接]
发表于 2013-10-16 15:53:22 | 显示全部楼层 |阅读模式
小弟在校学生,学习网络专业,如今淘得cisco1812路由器一台。宿舍有台式机做服务器,上网方式为联通ADSL 4M。现在拨号和动态域名的问题已经解决掉了,内网有七台电脑通过PAT方式的NAT可以访问外网。
cisco1812这台路由器有2个路由以太网口和八个交换以太网口。(八个以太网口不能配地址)
ADSL猫》cisco1812F0 |cisco1812F1  《——服务器
                       |cisco1812F2~F9划分为vlan1vlan1ip地址为192.168.1.254     |

想把内网服务器的80端口映射到外网的80端口,求教怎么做!
现在配置如下:
R1#sho run
R1#sho running-config
Building configuration...

Current configuration : 4431 bytes

  Last configuration change at 14:56:07 UTC Mon Jan 2 2006 by lijianwei652
  NVRAM config last updated at 14:56:24 UTC Mon Jan 2 2006 by lijianwei652
  NVRAM config last updated at 14:56:24 UTC Mon Jan 2 2006 by lijianwei652
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption

hostname R1

boot-start-marker
boot system flash c181x-adventerprisek9-mz.151-4.M6.bin
boot-end-marker


no logging buffered

no aaa new-model

memory-size iomem 15
crypto pki token default removal timeout 0

crypto pki trustpoint TP-self-signed-1738683969
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1738683969
revocation-check none



        quit
dot11 syslog
ip source-route

ip dhcp excluded-address 192.168.1.254

ip dhcp pool dhcp192
network 192.168.1.0 255.255.255.0
default-router 192.168.1.254
dns-server 202.99.216.113 202.97.131.178  
ip cef
ip name-server 202.99.216.113
ip name-server 202.97.131.178
ip ddns update method DDNS
HTTP
  add
http://jvnet:AI521500@<s>/nic/update?system=dyndns&hostname=<h>&myip=<a>

no ipv6 cef

multilink bundle-name authenticated

vpdn enable

vpdn-group 1
  Default L2TP VPDN group
accept-dialin
  protocol l2tp

license udi pid CISCO1812-J/K9 sn FHK102854RD
username lijianwei652 privilege 15 secret 5 $1$BXXY$U0YNSfGtnarWu0Hj.nDUx1
interface BRI0
no ip address
encapsulation hdlc
shutdown

interface FastEthernet0
no ip address
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1

interface FastEthernet1
description $FW_INSIDE$
ip address 192.168.2.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto

interface FastEthernet2
no ip address

interface FastEthernet3
no ip address

interface FastEthernet4
no ip address

interface FastEthernet5
switchport access vlan 20
no ip address

interface FastEthernet6
no ip address

interface FastEthernet7
no ip address

interface FastEthernet8
no ip address

interface FastEthernet9
no ip address
         
interface Vlan1
description $FW_INSIDE$
ip address 192.168.1.254 255.255.255.0
ip nat inside
ip virtual-reassembly in

interface Vlan20
description $FW_DMZ$
ip address 172.16.1.254 255.255.255.0
ip nat inside
ip virtual-reassembly in

interface Dialer0
description $FW_OUTSIDE$
mtu 1492
ip ddns update hostname jvnet.f3322.org
ip ddns update DDNS host members.3322.org
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation ppp
loopback
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username 888888888 password 0 123456

ip forward-protocol nd
no ip http server
no ip http secure-server
ip nat inside source list 1 interface Dialer0 overload
ip route 0.0.0.0 0.0.0.0 Dialer0
         
access-list 1 permit 192.168.1.0 0.0.0.255
mac-address-table aging-time 288
control-plane
line con 0
line aux 0
line vty 0 4
login local
transport input all

end
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-28 20:19 , Processed in 0.060398 second(s), 24 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表