Sometimes, i need to access to my computers/servers at office Local Area Network from home. i used to dialed vpn connection from windows XP home.but here, i'll share how to automatically connect to vpn server via linksys dd-wrt pptp client.
- Connect to linksys/dd-wrt management via browser, point it to http://192.168.1.1 (default ip management)
- Login and go to Services -> PPTP tab -> PPTP Client section

- Adjust Server IP or DNS Name, Remote Subnet, Remote Subnet Mask User and Password according to your network configuration.
Linksys dd-wrt pptp client wil automatically connect to our office vpn server when online. If we're enabled SSHD on linksys dd-wrt we can check and new ppp interface is up and new route to office LAN subnet.
1 | ppp1 Link encap:Point-to-Point Protocol |
2 | inet addr:172.18.1.22 P-t-P:172.18.1.3 Mask:255.255.255.255 |
3 | UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1450 Metric:1 |
4 | RX packets:16 errors:0 dropped:0 overruns:0 frame:0 |
5 | TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 |
6 | collisions:0 txqueuelen:3 |
7 | RX bytes:798 (798.0 B) TX bytes:634 (634.0 B) |
2 | Destination Gateway Genmask Flags Metric Ref Use Iface |
3 | 172.18.1.3 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1 |
4 | 125.165.72.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 |
5 | 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0 |
6 | 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br0 |
7 | 172.16.0.0 0.0.0.0 255.240.0.0 U 0 0 0 ppp1 |
8 | 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo |
9 | 0.0.0.0 125.165.72.1 0.0.0.0 UG 0 0 0 ppp0 |
Gan, kalau IP DNS nya dynamis gimana donk
pakai dyndns