飘凌大杂烩网管技术 → 路由发布网站 端口映射
查看完整版本:路由发布网站 端口映射
2008/10/13 14:24:15

 

做nat   server的配置

  interface   Ethernet1    
          ip   address   61.54.100.18   255.255.255.0  
          nat   outbound   1   address-group   lan  
           
          nat   server   global   61.54.100.22   www   inside   192.168.1.1   www   tcp  
          nat   server   global   61.54.100.22   any   inside   192.168.1.1   any   icmp  
          nat   server   global   61.54.100.21   ftp   inside   192.168.1.2   ftp   tcp  
          nat   server   global   61.54.100.21   any   inside   192.168.1.2   any   icmp  
          nat   server   global   61.54.100.20   pop3   inside   192.168.1.3   pop3   tcp  
          nat   server   global   61.54.100.20   smtp   inside   192.168.1.3   smtp   tcp  
  quit  

2008/10/29 22:14:53
在外网接口配置:
nat server protocol tcp global 222.x.x.2 www inside 10.0.0.2 www
nat server protocol tcp global 222.x.x.2 8080 inside 10.0.0.3 8080
nat server protocol tcp global 222.x.x.2 3000 inside 10.0.0.3 3000
这样应该在外网通过域名访问。
如果内网也需要用域名访问那的话,需要配置nat dns-map
Powered by BBSXP 2007 ACCESS © 1998-2025
Processed in 0.01 second(s)