设为首页收藏本站language 语言切换
查看: 2355|回复: 0
收起左侧

[求助] 一台路由器双线接入,一条做VPN一条做nat问题

[复制链接]
发表于 2014-4-12 11:01:46 | 显示全部楼层 |阅读模式
3鸿鹄币
环境描述:1,qiyea和qiyeb在F0/0建立GRE_OVER_IPSEC
                  2,qiyea通过F0/1做nat访问公网资源
故障描述:1,在qiyea的内网里ping qiyeb的内网172.168.1.0网段正常
但是无法ping通公网上的任何IP,查看ip nat tran发现没有转换条目
                 2,在qiyea路由器里ping,以F1/0作为源地址ping公网和qiyeb的内网都是通的,且nat转换表

有正常条目,ipsec加密也是正常的
另外也尝试过在qiyea路由里的F1/0即连接内网端口做PBR,,但是没有用,大神门可以写下PBR我复制进去看看效果
附R1(未做PBR):
crypto isakmp policy 1
authentication pre-share
crypto isakmp key cisco address 57.1.1.7
!         
!         
crypto ipsec transform-set cisco esp-des esp-md5-hmac
mode transport
!         
crypto ipsec profile ipsecptran
set transform-set cisco
!         
!         
!         
!         
!         
interface Tunnel0
ip address 17.1.1.1 255.255.255.0
tunnel source FastEthernet0/0
tunnel destination 57.1.1.7
tunnel protection ipsec profile ipsecptran
!         
interface FastEthernet0/0
ip address 12.1.1.1 255.255.255.0
duplex auto
speed auto
!         
interface FastEthernet0/1
ip address 13.1.1.1 255.255.255.0
ip nat outside
ip virtual-reassembly
ip policy route-map ipsec
duplex auto
speed auto
!         
interface FastEthernet1/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!         
router eigrp 100
network 17.1.1.0 0.0.0.255
network 192.168.1.0
no auto-summary
!         
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1 13.1.1.3
ip route 57.1.1.7 255.255.255.255 FastEthernet0/0
!         
!         
no ip http server
no ip http secure-server
ip nat inside source list 110 interface FastEthernet0/1 overload
!         
access-list 110 deny   ip 192.168.1.0 0.0.0.255 172.168.1.0 0.0.0.255 log

access-list 110 permit ip any any log
vpn.png


您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-5-16 00:17 , Processed in 0.134011 second(s), 26 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表