思科nat配置命令 cisco路由器怎么配置NAT功能?
cisco路由器怎么配置NAT功能?這個是在路由器和防火墻上設的你是什么設備啊你要在一個端口中設為內網(wǎng)端口一個端口設為外網(wǎng)端口做ACCLESS列表在做內網(wǎng)與外網(wǎng)端口的映射關系R1(CONFIG)#in
cisco路由器怎么配置NAT功能?
這個是在路由器和防火墻上設的你是什么設備啊
你要在一個端口中設為內網(wǎng)端口一個端口設為外網(wǎng)端口
做ACCLESS列表
在做內網(wǎng)與外網(wǎng)端口的映射關系
R1(CONFIG)#intf0/1
R1(CONFIG-IF)#ipadd192.168.1.1255.255.255.0
R1(CONFIG-IF)#ipnatinsideno
R1(CONFIG-IF)#shutdown
模擬內網(wǎng)
R1(CONFIG)#intf0/2
R1(CONFIG-IF)#ipnatoutside
R1(CONFIG-IF)#ipadd1.1.1.1255.255.255.252
R1(CONFIG-IF)#noshutdown
模擬外網(wǎng)
R1(CONFIG)#ipnatinsidesourcestatic192.168.1.11.1.1.1做內網(wǎng)與外網(wǎng)的NAT映射
R1(CONFIG)#iproute0.0.0.00.0.0.0f2/0設置默認路由
以上是在路由上做的最簡單的NAT,不知道是不是你想知道的.如還有問題請在聯(lián)系