通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

  一级通信军士

注册:2010-3-8
跳转到指定楼层
1#
发表于 2010-5-13 13:18:55 |只看该作者 |倒序浏览
现配置如下,想要开192.168.1.11 的web服务器使外网通过192.168.1.11的花生壳域名访问。该怎么配nat,或者有其它的方法实现。也就是实现小 路由器上的dmz功能。
Now create configuration...
  Current configuration
  !
    version 1.74
    local-user telnet service-type administrator password simple 123456_7
    undo pos-server addr-switch
    dialer-rule 1 ip permit
    firewall enable
    aaa-enable
    aaa accounting-scheme optional
  !
  dhcp server ip-pool local
    network 192.168.1.0 mask 255.255.255.0
    gateway-list 192.168.1.1
    dns-list 202.99.192.68 202.99.192.66
  !
  acl 2000 match-order auto
    rule normal permit source 192.168.1.0 0.0.0.255
    rule normal deny source any
  !
  interface Aux0
    async mode flow
    link-protocol ppp
  !                                       
  interface Ethernet0
    pppoe-client dial-bundle-number 1
    tcp mss 1024
  !
  interface Ethernet0.4093
    vlan-type dot1q vid 4093
    ip address 192.168.1.1 255.255.255.0
  !
  interface Serial0
    link-protocol ppp
    shutdown
  !
  interface Dialer0
    link-protocol ppp
    mtu 1492
    tcp mss 1024
    ppp pap local-user sz8 password simple xxxxx
    ip address ppp-negotiate
    ip fast-forwarding outbound
    dialer bundle 1
    nat outbound 2000 interface
  !
  quit
  ip route-static 0.0.0.0 0.0.0.0 Dialer 0 preference 60
  !                                       
  return

[ 本帖最后由 龙行九天 于 2010-5-13 13:51 编辑 ]

举报本楼

本帖有 1 个回帖,您需要登录后才能浏览 登录 | 注册
您需要登录后才可以回帖 登录 | 注册 |

版规|手机版|C114 ( 沪ICP备12002291号-1 )|联系我们 |网站地图  

GMT+8, 2025-8-3 00:56 , Processed in 0.105821 second(s), 17 queries , Gzip On.

Copyright © 1999-2025 C114 All Rights Reserved

Discuz Licensed

回顶部