Question Locked

Want to hook two residential networks together

0 helpful
38 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I want to hook up my houses network to my parents network (when needed). Is there a way I can do this with VPN or something. Both houses only have consumer routers.

I am running XP Pro (and have a Win98 server if that's helpful) and my folks run XP Home.

I want to do this to get around VNC's bad exterior security, I also want to so that the global drives are still accessible. This why my folks can still watch the movies I download. I intend to write a program that will transfer these movies to their own local machine, but it would be far better if I could use a network transfer rather than FTP or HTTP.

Thumbs for all helpful posts!

38 replies

by cg it

you simply set that up on the router. Then you simply VPN to the router and volia! your on the remote network.

by cg it

no need for VPN.

but if your router only supports VPN, then just create a VPN connection in network connections. the problem with VPN and SSL is you will always need the remote networks public address. Since 99.9% of home networks are dynamic addressing, the public address will change.

as another mentions, you could use logmein which isn't dependent upon knowing the public address.

by robo_dev

lars.werner.no

This product works great, been using it for years.

by tobif

Depending on what you want to do, there are different things that can be done.

You could get a neat solution, if your consumer routers happen to support alternative software (like openWRT, dd-wrt etc), note that you may need a version with support for some type of VPN server and/or client.

If you mostly need this for support within the family, then Logmein free can be useful.

You might, also have a look at Hamachi. Maybe there are some similar solutions based on Teredo available, I don't know.

OpenVPN could be set up on a computer to have it function as host and/or client in a VPN connection. (for this to work, you may need to use DMZ or port forwarding for incoming connections to get through the router.)

The XP pro can function as a host for RDP. The XP home has a built-in client.

by slayer_

VNC is pretty insecure, so I'd rather use a VPN, then VNC.

So OpenVPN could be installed on my Win98 machine, and it could be the host???

by tobif

I was more thinking of running OpenVPN on XP. (I believe it should work well on a "Home" system, too. After all, it's not a MS product...)

But for support, I'd really recommend LogMeIn free. (Their free product doesn't support file transfer, but I have Skype and torrents for that :) )

I believe even XP home supports the remote support part of RDP, but that requires someone to actively invite you and maybe set up port forwarding on the router and/or drill a hole in the firewall, so it's in many cases a no go.

by slayer_

Is this correct? I would then forward the ports on the router to the correct local machine, and that would give me access to all machines in the house. Example. I install OpenVPN on the office computer, folks connect to it on their end, or I init the connection, then on my end, I can connect to the computer that is connected to the TV to transfer a movie?

by tobif

But, in addition to setting up openvpn on both sides, you'll (at the least) need to:
Put the vpn host on a fixed internal ip address (so that port forwarding will work)
open the port in the firewall (unless it's done automatically)
Set up port forwarding from the public internet
If the ip is dynamic on the host side, hook it up to dyndns, so that you can find & connect to it
Oh: and make sure you use different subnet addresses.
--------
I haven't done all of this myself, so someone elses comments, or your experience would be interesting.

by slayer_

Can the host be the same machine, so my XP pro is the host and the connecter?

by tobif

You'll probably need to do some more magic on the anchor pc's and play a bit with default gateways and routing tables.

It would be possible to set up a persistent vpn loophole between the networks and adjust routing etc to only use if for traffic between your two networks.
I.e. traffic to 192.168.36.x is routed via your anchor pc, everything else is going the usual way...

by slayer_

Isn't the goal of VPN to allow a public computer to get into a private network?

by robo_dev

So you can run a PC via VNC, RDP (Remote Desktop).

UltraVNC client has file transfer, which works great with OpenVPN. I use the Adito ALS version from lars.werner.no

by slayer_

Basically I am going to build a program for my folks that starts the VPN service, and displays a list of the downloaded movies and TV show on my computer in my Condo. My parents would then use the program to navigate the folders, pick the movie or TV show they want, and click a button. The program woudl then copy the movie over the VPN to another computer on the local network for my parents. This computer is permanently hooked up to the TV. When finished downloading, it would display a message on the TV computer asking if they want to watch the movie now. Click yes will start GOM player with the movie.

When they are done, they close GOM, and tell the program to delete the movie.

by smartacew0lf

A NAS setup similar to say oone of the Synology line? These have fairly easy to use web-based configuration for sharing files and such and are relatively inexpensive.

by tobif

But not at the same time.

----------
EditAdd: Different subnets make the ip-routing less strange.

Say both network use 192.168.1.x and,
Now if your computer wants to connect to 192.168.1.34, is that the TV server in your folks living room, or your printer in the bedroom?
So, better move both network away from the usual .1. or .2. networks.

by slayer_

It gets a DHCP lease time based on Mac address from the ISP. It seems about every 6 months or so it changes.

But your saying most of what I need should be in the routers? If the router settings were setup that way, wouldn't it be a permanent VPN with no (easy)way to turn it off? If that was the case, wouldn't my folks network basically be using the internet, to lob over to my side, to then use the internet?

by cg it

and you setup accounts to log on to the router. That gives you local network access.

special note: this is NOT remote admin of the router, rather remote access to the network via SSL.

Some routers have this option, some don't. Didn't read which routers you have.

I do know that the some models of linksys have SSL access.

The other thing is that only with Endpoint VPN is the connection persistent. Allowing VPN connection on the remote router only establishes the connection for as long as the client session lasts. Once the client ends the session, tunnel is closed.

by slayer_

What needs to be running on the host? OpenVPN?

by tobif

http://openvpn.net/ start page does not list 98.
But unless you need to keep this particular OS on that box, you could convert it to Linux.

by slayer_

Takes 20 minutes to boot to CLI, and swap partition murders performance. File access speed on the HDD is pathetic. It is primarily used for web/ftp and printing (uses a network drive that it gives web access to, Apache is awesome). The printer is an old LPT1 printer that is not supported in Linux.

by tobif

Even if you, via VPN, virtually become a part of a private network somewhere else, you still remain in your local network at home. And, if not for other reasons, you still need your own computer to be able to correctly route the channel out through your home router.
And 192.168.1.1 - is that your home router, or your parents router, seen from the inside?

If you change the address spaces in both places (to different range), then this becomes more straightforward.

by tobif

And - one should probably avoid involving a '98 in any traffic to or from the public internet. Being unsupported for a while, it probably has a few known issues by now.

by slayer_

If I could tell my parents to "Run this icon on your desktop" and that gives em access to my network in my house. Perhaps a batch file that connects it that maps a drive to my key folder shares. And I have the reverse, I can connect to them and fire up a VNC session to any of the computers, or send a file.

Am I on the right track here?

by slayer_

If you do, you will within minutes get a virus on Win98. It seems harmless, its a virus out roaming but its passed its "Attack time" so it just infects and hangs out.

That 98 is of course behind the router firewall, so only port 80 and 20-21 are explosed, both handled by programs. As long as those have no exploitable vulnerabilities, it should be safe. My strongbad avatar here is hosted off that server.

My Win95 got hit once, but thats it. Somehow it managed to deleted every EXE on my system other than those under C:\Windows or those made by Microsoft. (Publisher with the word Microsoft in it)
To bad that machine is dead now, power supply died. For being half the power of the 98 machine, it hauled ass and easily managed to run GUI'd Ubuntu Gnome and KDE.

by tobif

Is to add their computer to your LogMeIn account. (The free product is enough)
Then you just warn your parents that you're going to do some magic.
And, as you now operate their computer, you can check settings in the router, start some executables, adjust firewalls, set up transmission or reception of torrents etc.

(And: help them when they can't find the icon for the mail program...)

by slayer_

I still want them to be able to pick a movie or TV show and prep it, download it and watch it.

by tobif

I'm not sure I totally understand what you're trying to do. But with all these building material, I think you may be able to find a combination that suits your needs.

Hmm. One more thing: IF your router supports this, and IF the other place has a mostly fixed IP address, then you might carefully set up a port forward for traffic from the ip address on the other end to the "TV server". Since packets from any other place on the internet would drop off the NAT firewall, one can live with slightly lower defense. And get an easier solution.

by tobif

And, you could always bump this thread with link to the new topic.

by robo_dev

Run it on a random high port number, put in a NAT firewall rule, and set a strong password.

UltraVNC has an encryption add-on for authentication, and it does file transfer very well.

I don't believe in 'security through obscurity' but most attackers out there are looking for apps at well-known port numbers. I monitor a bunch of different firewalls and have never even seen anybody knocking on the door of a VNC box on a high port.

by robo_dev

you could sell the solution you're writing. (Actually it's similar to NetFlix, I believe).

by slayer_

It really is just a file listing program, easily done using FSO. And using UNC paths. Via IP address or actually computer names. Hence the VPN. I don't want to write a program to actually handle the web transfer.
A simple polling program on the video computer could wait for something as simple as a file listing to appear. If this file appears, shows the listing. This file could also contain the real path to the movie. This display program on the TV computer would then shell out the video (shellexecute). After the video is over, give the option to delete the file. If there are no more files to be deleted, delete the list file and remove the visible screen.

This TV computer screen would of course need to be made with big buttons and big fonts to work with the S-Video resolution and be readable.

by slayer_

GTFO of my question you spammers! :D

I kid, but no thumbs for you guys, unless you make me laugh

by cg it

and couldn't think of anything else to say, so my post ends up with a period.

Can't delete it so what to do besides smilies?

I could turn on a SSL site for you to look at to get an idea of what SSL is, on an SSL router, but then everyone will try to break in.

But SSL is a web portal on an internet facing router that allows remote access to a private network. you can even hookup a domain name to the web portal and use DDNS.

just an option.

Most consumer router mfgs make routers with SSL web portals. Sorta up to you to decide if you want to use.

This discussion is closed to new replies.