IOS EzVPN沒有隧道分割從總部訪問公網測試

來源:互聯網
上載者:User

.測試拓撲:

參考連結:http://www.cisco.com/en/US/products/sw/secursw/ps2308/products_configuration_example09186a008073b06b.shtml

總的思路:在EzVPN Server上設定一個loopback口,並在外網口配置route-map,將用戶端去往公網的流量打到loopback口並進行NAT出公網,配置route-map時需要注意下一跳地址為loopback口任意直連地址,而不是loopback口的地址。

2.基本配置:

A.Private路由:

interface E0/0

ip address 172.16.1.10 255.255.255.0

no shut

ip route 0.0.0.0 0.0.0.0 172.16.1.1

B.Branch路由器:

interface Ethernet0/0

ip address 172.16.1.1 255.255.255.0

no shut

interface Ethernet0/1

 ip address 202.100.1.1 255.255.255.0

 no shut

ip route 0.0.0.0 0.0.0.0 202.100.1.10

C.Internet路由器:

interface E0/0

ip address 202.100.1.10 255.255.255.0

no shut

interface E0/1

ip address 202.100.2.10 255.255.255.0

no shut

D.Center路由器:

interface FastEthernet0/0

ip address 10.1.1.1 255.255.255.0

ip nat inside

no shut

interface FastEthernet0/1

ip address 202.100.2.1 255.255.255.0

ip nat outside

no shut

ip route 0.0.0.0 0.0.0.0 202.100.2.10

ip access-list extended pat

deny   ip 10.1.1.0 0.0.0.255 123.1.1.0 0.0.0.255

permit ip any any

ip nat inside source list pat interface FastEthernet0/1 overload

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.