Mark McIntyre <markmcintyre@spamcop.net> hath wroth:
>On Sat, 16 Dec 2006 18:11:49 -0800, in alt.internet.wireless , Jeff
>Liebermann <jeffl@comix.santa-cruz.ca.us> wrote:
>
>>Mark McIntyre <markmcintyre@spamcop.net> hath wroth:
>>
>>>
>>>Isn't it easier just to set up a VPN?
>>
>>A VPN from where to where?
>For home use, I was thinking about setting up the entire LAN as a VPN
>into a server. Seen this done somewhere, forget where.
It should be fairly easy to do (although I've never tried it). Windoze
supports PPTP out of the box. Get a (wireless) router that will
terminate a VPN in the router, and you're done. DD-WRT comes with
PPTP client and server so that will work. I'm not so sure about the
various "VPN router" low end contrivances. I found one (forgot the
model but I'll dig it out of my notes) that would only support a VPN
termination on the WAN port, which makes sense for a router to router
VPN over the internet, but useless for a LAN side VPN. I guess I
should check if DD-WRT will do a LAN side VPN.
It works (so far). Results from ipconfig are:
Windows 2000 IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.11
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
PPP adapter VPN to local router:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.15.2
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 192.168.15.2
Oh swell. Now I have two default gateways. ipconfig lies. The
results from "route print" (with some loopback and multicast routes
deleted) are even more confusing. I assigned the IP address of the
VPN termination to 192.168.15.1 and the stupid router hands me my own
client IP address 192.168.15.2 as the default gateway.
>Active Routes:
>Network Destination Netmask Gateway Interface Metric
> 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.11 2
> 0.0.0.0 0.0.0.0 192.168.15.2 192.168.15.2 1
> 192.168.1.0 255.255.255.0 192.168.1.11 192.168.1.11 1
> 192.168.1.1 255.255.255.255 192.168.1.11 192.168.1.11 1
> 192.168.1.255 255.255.255.255 192.168.1.11 192.168.1.11 1
> 192.168.15.255 255.255.255.255 192.168.15.2 192.168.15.2 1
> 255.255.255.255 255.255.255.255 192.168.15.2 1000003 1
>Default Gateway: 192.168.15.2
Let's see if traceroute is any more helpful:
>tracert 63.198.98.51
>Tracing route to adsl-63-198-98-51.dsl.snfc21.pacbell.net [63.198.98.51]
>over a maximum of 30 hops:
> 1 4 ms 3 ms 4 ms 192.168.15.1
> 2 15 ms 16 ms 16 ms dsl-63-249-85-gateway.cruzio.com [63.249.85.1]
> 3 14 ms 17 ms 17 ms 7200hurricane.cruzio.com [63.249.95.1]
(etc)
Well, that shows that it's going via the VPN to the router's IP
address of 192.168.15.1, so I guess it's working (maybe).
I'm still on the internet which is a good thing. The trouble is that
I can't tell if the LAN packets are going via the regular network
192.168.1.xxx or via the VPN at 192.168.15.xxx without sniffing. I
guess I'll have to change my local IP address to something outside the
netmask and see if it still works (later).
So much for "this should be easy", where 2 out of 3 diagnostics return
gibberish. Got a URL on how to do this so I don't have to do anything
useful tonite?
--
Jeff Liebermann
jeffl@comix.santa-cruz.ca.us
150 Felker St #D
http://www.LearnByDestroying.com
Santa Cruz CA 95060
http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558