2011年11月10日星期四

TL-WR1043ND + dd-wrt = 翻牆利器

昨日突發其想,起個 VPN server,以便在大陸時上 facebook, twitter...等。


在網上做了功課後,買了一台 TP-Link TL-WR1043ND,灣仔電腦城 $460。3T3R、300Mbps、Gigabit on lan and wan ports、NAS等等,抵玩!






1. 先安裝 hardware,簡單。


2. 申請 DDNS,我選了 www.3322.org,因為係大陸 DDNS。


3. 去 www.dd-wrt.com download TL-WR1043ND 的 flash image.


4. 要 flash 兩次,首先 flash "factory-to-ddwrt.bin",跟著 "tl-wr1043nd-webflash.bin"。


5. Setup dd-wrt,包括:
  • DDNS
  • SSID
  • Wireless Security(WPA2 Personal)
  • MAC filter


    6. Setup PPTP Server:
     
        在 Services > VPN > VPN Server
    • PPTP Server = Enable
    • Broadcast support = Enable
    • Force MPPE Encryption = Enable
    • DNS1 = 8.8.8.8
    • DNS2 = 8.8.4.4
    • Server IP = 192.168.1.1 (= router address)
    • Client IP = 192.168.1.160-190 (This range should be outside the router DHCP IP)
    • CHAP-Secrets = username <space> <asterisk> <space> password <space> <asterisk>


      7. Reboot router


      Good Luck!!!