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.
ppp1 Link encap:Point-to-Point Protocol inet addr:172.18.1.22 P-t-P:172.18.1.3 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1450 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:798 (798.0 B) TX bytes:634 (634.0 B)
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 172.18.1.3 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1 125.165.72.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br0 172.16.0.0 0.0.0.0 255.240.0.0 U 0 0 0 ppp1 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 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