Você está na página 1de 49

ADSL Ton Tp: Setup - Remote Admin - VPN

T 09/02/07 Nht Ngh Trin Khai 30 line ADSL Cho Hc Vin Thc Tp
Click this bar to view the full image.

Click this bar to view the full image.

- M hnh ca bi Lab nh sau:


Click this bar to view the full image.

- Yu cu ca bi:

1. Cu hnh ADSL sao cho cc my Server truy cp c Internet 2. ng k ti khon trn trang http://www.no-ip.com 3. Cu hnh Remote Desktop my Client c th truy cp t xa

4. Cu hnh sao cho: Server 1 tr thnh Web Server My Client c th truy cp vo trang web ca Server 1 5. Thit lp m hnh VPN Client Gateway 6. Thit lp m hnh VPN Gateway Gateway

I. CU HNH ADSL

B1: Reset thit b Router ADSL (quan st card mng c du cho ) IP default ca Router ADSL: 192.168.1.254 t a ch IP ca Interface ni vi Router ADSL
Click this bar to view the full image.

IP Address: 192.168.1.X (X: s my ca mnh ang ngi) Subnet Mask: 255.255.255.0 Default GW: 192.168.1.254 Prefered DNS: 210.245.31.130 [IMG]
Click this bar to view the full image.

- B2: M IE, nhp vo a ch IP 192.168.1.254 trn thanh Address Go


Click this bar to view the full image.

- B3: Chn SpeedTouch, ko thanh cun xung ri chn Setup


Click this bar to view the full image.

- B4: Ca s Wellcome, chn Next:


Click this bar to view the full image.

- B5: Ca s Service Selection, chn Next


Click this bar to view the full image.

- B6: Ca s Routed Internet Connection, chn Next v Lu : gi tr VPI/VCI ty thuc vo nh cung cp dch v Internet (ISP):
Click this bar to view the full image.

- B7: Ca s Internet Account Settings, nhp Username v Password (thng s ny do ISP cp)
Click this bar to view the full image.

- B8: Ca s Access Control, nhp Username v Password default ca Router ADSL:


Click this bar to view the full image.

- B9: Ca s Start Configuration, chn Start:


Click this bar to view the full image.

- B10: Ca s Completing, chn Finish:

Click this bar to view the full image.

- B11: Kim tra xem nhn IP Public cha, chn Broadband Connection

II. NG K TI KHON

- B1: M IE, nhp vo a ch http://www.no-ip.com , sau chn Sign-up Now:


Click this bar to view the full image.

- B2: Nhp cc thng tin m form yu cu, sau nhn I Accept Lu : NO-IP.COM qun l user bng a ch mail Password dng trong NO-IP.COM khc vi password mail
Click this bar to view the full image.

- B3: NO-IP.COM thng bo to account v gi mail yu cu xc nhn


Click this bar to view the full image.

- B4: Check mail v activate ti khon ca mnh - B5: NO-IP.COM thng bo active account
Click this bar to view the full image.

Click this bar to view the full image.

- B6: ng nhp vo NO-IP.COM

Click this bar to view the full image.

- B7: Chn Add, Hostname: teonn (hoc tn ty ) v Create Host


Click this bar to view the full image.

- B8: NO-IP.COM thng bo to 1 Hostname nh tn ng k


Click this bar to view the full image.

- B9: Qua tab DOWNLOADS, chn HH WINDOWS. Sau , chn Download now, ti phn mm cp nht IP (ducsetup.exe)
Click this bar to view the full image.

- B10: Ci phn mm cp nht IP (ducsetup.exe) vi cu hnh mc nh


Click this bar to view the full image.

- B11: in email v password cp nht IP (public) hin ti ca ADSL Router vi Hostname ng k


Click this bar to view the full image.

__________________ III. CU HNH REMOTE DESKTOP *My server: card corss: IP Address : 192.168.1.1 Subnet Mask : 255.255.255.0 Default Gateway : 192.168.1.254 Preferred DNS : 210.245.31.130

card lan disable *My client: card corss disable card lan : IP Address : 192.168.P.X Subnet Mask : 255.255.255.0 Default Gateway : 192.168.P.200 Preferred DNS : 210.245.31.130 ------------------------------------------------------------------------------------------------------- B1: Enable chc nng Remote Desktop (thc hin trn my Server 1): phi chut ln My Computer Properties, chn tab Remote check vo Enable Remote Desktop on this computer xut hin bng thng bo chn OK chn Apply chn OK
Click this bar to view the small image.

- B2: NAT port 3389 ca ADSL v Server 1 (thc hin trn my Server 1): m trang web cu hnh Router ADSL chn Toolbox ko thanh cun xung chn Game & Application Sharing
Click this bar to view the small image.

- B3: Ko thanh cun qua bn phi chn Configure

Click this bar to view the small image.

- B4: Ko thanh cun xung chn Microsoft Remote Desktop v chn Add

Click this bar to view the small image.

- B5: M chng trnh Remote Desktop Connection (thc hin trn my Client): chn Start Programs Accessories Communications Remote Desktop Connection nhp vo teonn.no-ip.info chn Connect
Click this bar to view the small image.

- B6: Nhp Username v Password ca Server 1 (v d: Administrator / 123)


Click this bar to view the small image.

-B7: Giao din sau khi ta kt ni t xa thnh cng


Click this bar to view the small image.

__________________

Nht Ngh Pro

Ym:hoangthuan_nhatnghe
thay i ni dung bi: hoangthuan, 07-02-2007 lc 23:10.

i gi li cm n hoangthuan v bi vit hu ch ny:

ong, dungcom, gadaubac, hoanglongvina, phuc3004, ppp1983, samurai_1012, vinhde062

7, 22:58

hoangthuan
Super

Tham gia ngy: Sep 2006 Ni C Ng: si gn it Bi gi: 520 Thanks: 0 Thanked 74 Times in 20 Posts

NH SERVER 1 TR THNH WEB SERVER

Add/Remove Windows Component: chn Start Settings Control Panel Remove Programs Add/Remove Windows Component
bar to view the small image.

n Application Server v chn nt Details


bar to view the small image.

ck vo Internet Information Services (IIS) chn OK Next


bar to view the small image.

Windows Explorer chn a C vo Inetpub wwwroot v to 1 tp tin

m (c ni dung ty ). M trang web default.htm


bar to view the small image.

port 80 ca ADSL v Server 1 (thc hin trn my Server 1): m trang hnh Router ADSL chn Toolbox ko thanh cun xung chn Game & on Sharing
bar to view the small image.

o tc tng t (nh trong phn Cu hnh Remote Desktop) nhng lc ny Web Server (HTTP) v chn Add
bar to view the full

Internet Explorer (thc hin trn my Client): nhp vo dng Address l ip.info v Go

bar to view the small image.

__________

h Pro

angthuan_nhatnghe
c 4 ngi gi li cm n hoangthuan v bi vit hu ch ny: hoanglongvina, phuc3004, samurai_1012, vinhde062
#4 07-02-2007, 23:06 Tham gia ngy: Sep 2006 Ni C Ng: si gn it Bi gi: 520 Thanks: 0 Thanked 74 Times in 20 Posts

dung bi: hoangthuan, 08-02-2007 lc 06:56.

hoangthuan
Super

V. THIT LP M HNH VPN (Client Gateway)

Click this bar to view the full image.

- M hnh bi Lab gm 3 my: PC02 (ghost P1); PC01 v PC03 (P4) PC01: Disable card LAN card corss: IP Address : 172.16.1.2 Subnet Mask : 255.255.0.0 Default Gateway : 172.16.1.1 Preferred DNS : trng

PC02: card Corss: IP Address : 172.16.1.1 Subnet Mask : 255.255.0.0 Default Gateway : trng Preferred DNS : trng Card LAN: IP Address : 192.168.1.1 Subnet Mask : 255.255.255.0 Default Gateway : 192.168.1.254 Preferred DNS : 210.245.31.130

Pc03: Disable card Corss Card LAN IP Address : 192.168.P.X Subnet Mask : 255.255.255.0 Default Gateway : 192.168.P.200 Preferred DNS : 210.245.31.130 ------------------------------------------------------------------------- B1: NAT port 1723 ca ADSL v PC02 (VPN Server): m trang web cu hnh Router ADSL chn Toolbox ko thanh cun xung chn Game & Application Sharing
Click this bar to view the small image.

- B2: Thao tc tng t (nh trong phn Cu hnh Remote Desktop) nhng lc ny ta chn PPTP Server chn Add

Click this bar to view the small image.

- B3: Cu hnh VPN Server trn PC02: chn Start Programs Administrative Tools Routing and Remote Access Trong ca s Routing and Remote Access Click chut phi trn PC s my ca mnh Configure and Enable Routing and Remote Access

Click this bar to view the small image.

- B4: Ca s Welcome to the Routing and Remote Access Server Setup Wizard Next ca s Configuration check vo Remote Access (dial-up or VPN) v Next
Click this bar to view the small image.

- B5: Ca s Remote Access check vo VPN v Next

Click this bar to view the small image.

- B6: Ca s VPN Connection chn card LAN b du chn ti Enable security on the packet filters v Next
Click this bar to view the small image.

- B7: Ca s IP Address Assignment v check vo From a specified range of addresses v Next

Click this bar to view the small image.

- B8: Ca s Address Range Assignment v chn New

Click this bar to view the small image.

- B9: Ca s New Address Range nhp Start IP v End IP OK v Next


Click this bar to view the small image.

- B10: Ca s Managing Multiple Remote Access Servers check vo No, use Routing and requests--> Next v Finish --->OK
Click this bar to view the small image.

- B11: To user PC03 kt ni vo VPN Server (thc hin trn my PC02): m Computer Management to u1, password l 123 (b du chn ti User must change password at next log on) click phi chut trn user u1 Properties qua tab Dial-in chn Allow access OK
Click this bar to view the small image.

- B12: Cu hnh VPN Client trn my PC03: click chut phi trn My Network Places Properties Create a new connection ca s Welcome --> Next v ca s Network Connection Type ---> check vo Connect to the network at my workplace --->Next

Click this bar to view the small image.

- B13: Ca s Network Connection check vo Virtual Private Network Connection v Next


Click this bar to view the small image.

- B14: Ca s Connection Name -->ti Company Name g vo tn bt k (v d: nhm k bn mnh) v Next

Click this bar to view the small image.

- B15: Ca s VPN Server Selection g Hostname ng k trn NO-IP (vd: teonn.no-ip.info) vo Host name or IP address --> Next --->Finish

Click this bar to view the small image.

- B16: Ca s Connect nhp User name l u1, Password l 123 v Connect


Click this bar to view the small image.

- B17: Sau khi kt ni thnh cng, ping a ch IP ca PC01


Click this bar to view the small image.

__________________

Nht Ngh Pro

Ym:hoangthuan_nhatnghe
thay i ni dung bi: Administrator, 09-02-2007 lc 22:12. L do: Fix style !

c 5 ngi gi li cm n hoangthuan v bi vit hu ch ny: duyton, khanhkiengiang, phuc3004, quynhkmt, vinhde062


#5 08-02-2007, 07:18 Tham gia ngy: Sep 2006 Ni C Ng: si gn it Bi gi: 520 Thanks: 0 Thanked 74 Times in 20 Posts

hoangthuan
Super

Gi Thc Hnh Thm Ti Nht Ngh


Click this bar to view the small image.

Click this bar to view the full image.

VI.THIT LP M HNH VPN (Gateway Gateway)

- M hnh bi Lab gm 4 my: PC01; PC02; PC03 v PC04 (ghost P1)

Demand-dial Interface Demand-dial Interface Name: hanoi Name: saigon User: saigon User: hanoi

Click this bar to view the small image.

- t a ch IP cho cc my nh sau: (vi P: s phng; X: s my ca mnh) PC01 Card LAn : disable Card corss: IP Address : 172.16.1.2 Subnet Mask : 255.255.255.0 Default Gateway : 172.16.1.1 Preferred DNS : trng

PC02 Card LAn: IP Address : 192.168.1.1 Subnet Mask : 255.255.255.0 Default Gateway : 192.168.1.254 Preferred DNS : 210.245.31.130 Card corss:

IP Address : 172.16.1.1 Subnet Mask : 255.255.255.0 Default Gateway : trng Preferred DNS : trng

PC03: Card Lan : IP Address : 192.168.P.X Subnet Mask : 255.255.255.0 Default Gateway : 192.168.P.200 Preferred DNS : 210.245.31.130 Card Cross: IP Address : 172.16.2.1 Subnet Mask : 255.255.255.0 Default Gateway : trng Preferred DNS : trng PC04 Card LAN: Disable Card Cross: IP Address : 172.16.2.2 Subnet Mask : 255.255.255.0 Default Gateway : 172.16.2.1 Preferred DNS : trng ------------------------------------------------------------------------------ Cu hnh VPN trn my PC02

- B1: To user account (User name: hanoi / Password: hanoi) v b du chn ti User must change log on--> click phi chut trn user hanoi v Properties --> qua tab Dial-in v trong Remote Access Permission (Dial-in or VPN) ---> chn Allow Access OK

Click this bar to view the small image.

- B2: M Administrative Tools Routing and Remote Access click chut phi trn PC s my ca mnh chn Configuring and Enable Routing and Remote Access
Click this bar to view the small image.

- B3: Ca s Welcome to the Routing and Remote Access Server Setup Wizard Next ca s Configuration ---> check vo Custom Configuration v Next:
Click this bar to view the small image.

- B4: Ca s Custom Configuration v check vo cc : VPN access, Demand-dial connections (user for branch office routing) v LAN routing --> Next--> Finish --->

Yes
Click this bar to view the small image.

- B5: Ca s Routing and Remote Access click chut phi trn Network Interface --> chn New Demand-dial Interface
Click this bar to view the small image.

- B6: Ca s Welcome Next ca s Interface Name v nhp vo hanoi ---> Next

(lu : Interface name bn ny l username bn kia)

Click this bar to view the small image.

- B7: Ca s Connection Type chn Connect using virtual private networking (VPN) --> Next
Click this bar to view the small image.

- B8: Ca s VPN Type chn Point to Point Tunneling (PPTP) ---> Next

Click this bar to view the small image.

- B9: Ca s Destination Address v nhp vo Host name ng k trn trang NOIP (v d: teonn.no-ip.info) ---> Next

Click this bar to view the small image.

- B10: Ca s Protocols and Security mc nh ---> Next

- B11: Ca s Static Routes for Remote Networks ---> Add

Click this bar to view the small image.

- B12: Ca s Static Route v nhp cc gi tr nh hnh v OK Next


Click this bar to view the small image.

- B13: Ca s Dial Out Credentials nhp cc thng tin nh sau: User name : saigon Domain : ( trng) Password : saigon Confirm password : saigon v chn Next ri Finish

Click this bar to view the small image.

- B14: Ca s Routing and Remote Access ---> click chut phi trn PC s my ca mnh v Properties ri qua tab IP --> chn Static address pool v Add

Click this bar to view the small image.

- B15: Ca s New Address Range v nhp cc gi tr nh hnh v --> OK v chn OK


Click this bar to view the small image.

- B16: Ca s Routing and Remote Access v click chut phi trn PC s my ca mnh v All Tasks ---> Restart
Click this bar to view the small image.

Cu hnh VPN trn my PC03

- Lp li cc bc ca phn Cu hnh VPN trn my PC02 cho my PC03, thay i cc thng tin sau:

- Ti bc to user: User name : saigon Password : saigon Lu : phi cp quyn Allow Access

- Ti bc khai bo Interface: Interface name: saigon

- Ti bc khai bo Dial Out Credentials: User name : hanoi Domain : ( trng)

Password : hanoi Confirm password : hanoi

- Ti bc to Static Routes: Interface : saigon Destination : 172.16.1.0 Network mask : 255.255.255.0 Metric : 1

- Ti bc to Static Address Pool: Start IP Address : 172.16.2.200 End IP Address : 172.16.2.220

Kim tra - My PC04: m command line g lnh ping <a ch IP ca my PC01> -t (v d: ping 172.16.1.2 t) i mt cht s thy bo Reply - Giao din kt ni thnh cng gia site H Ni v site Si Gn

Click this bar to view the small image.

Você também pode gostar