cisco asa 5500 系列 NAT 配置
cisco asa 5500 版本升级到8.3 以后, nat 命令就有所不同了, 主要看官方的文档可以看出来的, 下面就直接用官方的tem来写了, 非常的简单
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | The following example configures static NAT for the real host 10.1.1.1 on the inside to 10.2.2.2 on the outside with DNS rewrite enabled. hostname(config)# object network my-host-obj1 hostname(config-network-object)# host 10.1.1.1 hostname(config-network-object)# nat (inside,outside) static 10.2.2.2 dns The following example configures static NAT for the real host 10.1.1.1 on the inside to 2.2.2.2 on the outside using a mapped object. hostname(config)# object network my-mapped-obj hostname(config-network-object)# host 10.2.2.2 hostname(config-network-object)# object network my-host-obj1 hostname(config-network-object)# host 10.1.1.1 hostname(config-network-object)# nat (inside,outside) static my-mapped-obj |
