Basic ASA NAT


TOP:

R1------------------inside ASA outside--------------R2


1+Basic configure:

R1:
interface f0/0
    ip address 192.168.1.1 255.255.255.0
    no shutdown
    
ip route 0.0.0.0 0.0.0.0 192.168.1.254


R2:
interface f0/0
    ip address 202.1.1.1 255.255.255.0
    no shutdown
ip route 0.0.0.0 0.0.0.0 202.1.1.254

ASA:

interface g1
    nameif inside
    ip address 192.168.1.254 255.255.255.0
    no shutdown

interface g2
    nameif outside
    ip address 202.1.1.254 255.255.255.0
    no shutdown


telnet 0 0 inside
ssh 0 0 inside
http 0 0 inside
http server enable


2+nat

object network inside
    subnet 192.168.1.0 255.255.255.0
object network outside-pool
    rang 202.1.1.10 202.1.1.15

object network inside
    nat (inside,outside) dynamic outside-pool

3+acl+policy
access-list inside_access_in extended permit icmp any any 
access-list outside_access_in extended permit icmp any any 
access-group inside_access_in in interface inside
access-group outside_access_in in interface outside


 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值