vpn site to site

Post on 20-Jun-2015

217 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

VPN Site To SiteYêu cầu : 2 máy server + 2 máy client

Card Lan Card CrossServer 1 10.0.0.1/24 192.168.1.1/24Server 2 172.16.1.1/24 192.168.1.2/24Client 1 10.0.0.2/24Client 2 172.16.1.2/24

Tạo user saigon trên máy server 1

Tạo user hanoi trên máy server 2

Chọn properties ->chọn tab dial – in -> check chọn allow access

Trên máy server1

Vào server manager ->add roles

Chọn network policy and access services -> next

Chọn routing and remote access services -> next

Như vậy là đã cài xong giờ đi cấu hình

Vào start -> administrative ->routing and remote access

Chọn server -> click phải configure

Chọn Custom configuration -> next

Chọn VPN access + Demand – dial connections + Lan routing -> next

Chọn start service

Chọn tab Network interface -> click phải chọn new demand-dial interface

Nhập interface name : saigon -> next

Check connect using vitual private networking (VPN) ->next

Check chọn point to point -> next

Nhập địa chỉ ip card CROSS của máy server2 -> next

Check chọn route ip + adda user account

Add static route 172.16.2.0 (đường mạng LAN của máy server2) -> next

Nhập password của user saigon mình đã tạo ban đầu -> next

Nhập user name :hanoi

Password của user hanoi mình đã tạo ban đầu -> next

Chọn properties server

Chọn tab IPv4 và add vào chuỗi địa chỉ ip sẽ nhận khi connect vào

Apply + OK

Properties network interface saigon vừa tạo

Chọn tab L2Tp ipsec VPN và nhập key

Properties server chọn tab security -> check chọn allow custom IP sec policy for L2TP connection -> Apply -> OK

Click phải network interface saigon ở server1 -> chọn connect

Click phải network interface hanoi ở server2 -> chọn connect

Xem kết quả connected rồi qua máy client 1 ping máy client 2 và ngược lại để xem kết quả

top related