Connect two routers on one network, one router is running VPN and DD-WRT

hello welcome this is one of three videos in a collection of tutorials to talk about how you could use dd-wrt and achieve certain functions I've noticed on the internet there's a lot of questions on how you can use a VPN clients and how to connect to routers to create one Network how to bypass the VPN connected to a router on certain machines and how to bypass the VPN on certain websites so this these videos tutorials are for a layperson and hopefully answer some of those questions because it seems a lot of questions and very few answers this is video one of three all three videos can be watched independently but this is talking about how you connect two routers one of them running dd-wrt and a VP Open VPN and I'm assuming for this tutorial that you have successfully installed dd-wrt and your VPN client is working working successfully the contents of this video we're going to talk about this setup of the system we're going to talk about how we join the two routers to create one network and we'll talk about how we transfer data between machines and we'll talk about some troubleshooting and where you can find some additional information physically the main connections are the computers are around a two and set and the smart TV around to work plugged into the Ethernet connection the internet connection of router two is plugged into the ethica next ever net connection or router one and the internet connection of router one is connected into the modem in order to access the internet in my system a router one is called and router two running dd-wrt and and the Open VPN is running 192.168.1 and the reason why these two routers can't talk to each another is because basically by connecting the routers in that method the only method I have found in order to be able to use a Open VPN connection on router 2 is basically results in a separate network net with one being attached around to one and network to being attached to router 2 so if you're not sure about what your rounds and names are one the convenient way to do that is especially in Windows 7 into the control panel look for network and sharing center and then if you click on see full map you'll you'll get a a layout system of your your network and in this case and if you then put your mouse above different objects it will actually tell you the IP addresses of those objects so in this case I've placed the mouse directly above the Gateway and therefore it's told me the Gateway address is 192.168.1 which is the name of the router so the Gateway icon in this case is router 2 then if we type that number in 192.168.1 into a internet browser was a text to a 1 or computer attached to router 2 you'll get the web interface for router 2 you'll have to put in your username and password username is generally admin and your password is whatever you chose first thing not we should always back up the router settings in case something goes wrong and therefore you can always go back to it so you go to the administration's tab click on backup and then at the bottom and in the middle of the screen you click on the backup button and remember to save the file somewhere and give it a name that you remember in case you need to restore it same deal if you have to restore a file go to the administration tab click on backup browse for the file on your computer and then click restore so what we need now is the when IP address of router 2 as provided by router 1 while should VPN is running it will only show you the name of the what the 1 IP as provided by a VPN client what we need is the one IP without the VPN running so the easiest way to do that is to to switch the power off to router 2 by unplugging it and and plugging it back in it'll take a couple of minutes for your VPN client to start running again in those few minutes you need to be able to log back into the internet browser and onto the web interface for router 2 then you'll see in the top right hand corner of that plate on the screen that the router 2 m IP address in this case is i4 which is the name given to router to router 1 then we need to go to the administration tab on in the commands tab you'll notice here that I've covered up some information the start up a file there and that's because that's personal information for me and any startup data that needs to be used on your VPN client will be supplied by your VPN supplier into the commands text box we need to put the following so first of all we need to just remind ourselves if for a later date what we're actually doing so putting the pound sign or the hash tag and put in a ladder router – – for traffic to round to one subnet is the reminder of what the next line is doing the line itself the piece of code written in the Linux language and to actually do this is iptables – I and that's a capital I forward – s that's a small s slash 24 – little J accept and what this command does effectively is says that anything that looks any thing there's address to a machine starting as thing will be addressed out it will be allowed to exit router – via the internet port on the back of router – into router one so this basically opens a small door in your firewall to allow access into router one now just remember that razza one also has a firewall so anything that wants to go on to the Internet router 1 will protect you on the Internet next we need to go to the administration tab and then the management tab and we need to select web Gy management and we need to set that to a nailed reason while we do that it makes it easier when we've finished setting this up to establish if our connections are working between router one and router two so we set web GUI management to enabled then we change the web GUI port to 80 default is 8080 but in this case we will set it to 80 and that will make life a lot easier when we're trying to check and validate if our setup is working so we now click on save settings sorry save and then apply settings we then go to the administration and a management tab and then we click on reboot router so that completes the tutorial of next steps for router 2 we need to do a very similar exercise on roundel 1 it always afford the data to router 2 when appropriate so on router 1 I have just got the standard Zef software that came with my router in this case it's a Olympus machine Andy 3200 but these commands are just the same if you're running dd-wrt on router 1 so you go to the setup tab and go to advanced routing you then in the advanced routing table you need to fill the following information and we'll just make that a little bit bigger so it's easy to see so the integrator name we put in route than the neighbors router – you can choose what you wish for that name we then say destination LAN IP as 1 6 8 1 .

104 and if you recall that what o 4 is from the router – when we didn't have the VPN client running so what do the subnet mask mean to the well basically it's relating to the destination lam IP directly above it so it's what it's saying is that anything that has a address when some data needs to go to an address or a machine and the machines address start as so anything that wants to go to 100 160 8.20 it must be sent through the Gateway of 4 which was the same one IP address as rata – as we found on rata – when the VPN wasn't running okay so now by doing that simple act Network warning network who are now joined so if you were hoping dear to the control panel and click on network sharing and then click on see full map and you were hoping to be able to see all the computers and all the gateways etc on this screen and unfortunately that's not really possible and I'll explain why in the very last slide of this presentation okay so what we need to do now is quickly check if round tool work of q21 attached to router one is talking to router 2 so the easiest way to do this is on computer one a clash errata one is type into your internet browser 192.168 2.1 and if you successfully it go into the web interface of router 2 then you know that the computer router 1 is talking to router 2 we then need to repeat this but the opposite round on computer – so computer – connected to routed – if we type in unrouted – if that should take us to the web interface for round 2 1 if it does this successfully then we know that router 1 and rata 2 are connected and can talk to each other so how do you if you look if you cannot see the machines attached to come round 2 – when you're on a machine attached around at one how do you move files between the two routers well simply you have to use a file transfer program otherwise known as FTP now we're not going to cover FTP and FileZilla which is a free FTP program in detail here but what we're going to do is very quickly just show you the information you need to put in and give you some tips about what you should look for if you're having difficulty transferring data so the first thing is try and transfer data between two objects two machines attached to router one and this will help confirm if you're far Zilla is working successfully and connected successfully you may also need to change the settings of a machine you're trying to connect to which is using connected to via the FTP program FileZilla and you might also need to change the settings of your firewall being used on your computer if you're really struggling you might want to consider turning your firewall off of your computer just for ten minutes in order to establish if it's the firewall settings that are causing your problems when when you are successfully set up you're a fungal Zilla program you should be able to transfer data between computer one and round one and computer to attach to router 2 so first of all we need to install FileZilla client onto your machine and then we're going to try using computer two to connect to hard disk 2 which both of them are connected to router to so the hostname of the computer hard disk 2 is 43 we need to get the logon type the username and the password all correct or the ones you won't be able to connect to hard disk 2 this is the reason why we connect everything to hard data router 2 in order to set this up is because it makes life easier to make sure you get all the information correct once you are successfully had logged in you should be able to get a directory listing successful box in the top left hand corner once you've done that you should be able to then try to do the repeat this exercise with the same data on computer 1 attached to router 1 and this should be the connect to hard this 2 on round 2 to so quickly showing you what how far the other works you have the left-hand side of the screen is the directory of the folders on computer – and the on the right hand side is the directory of folders on hard this to use in this using the FileZilla client you simply drag and drop the files you wish to transfer between completed 2 or computer 1 and the hard disk – okay this is the tribbles used in section pretty much there's only one thing you get wrong setting this up and that is the gateway address on – one share on the left-hand side of the screen doesn't match the one IP address of round two on the right-hand side of the screen so if you recall the get the one IP address of router 2 by unplugging the power on router 2 plugging it back in and this is the one IP address before the VPN is running in this case you'll see that a gateway of router 1 doesn't match the one IP router 2 and therefore this doesn't work so you must make these two numbers the same so that concludes our presentation and if you want to know some more information then I suggest you to visit the dd-wrt website and look up linking subnets with static routes if you wish to download the FileZilla program which is free of charge you can just go to the link as shown on the screen and if you're wondering why you can't just drag-and-drop information in Windows the statement below and copied from the DVD dd-wrt website explains that and basically you have to have an edition of Windows server installed on your machine and also do that Windows server or wins it's a bit like a Windows home or Windows Enterprise Edition so that is why you can't just drag and drop your information I hope this presentation was useful to you and I hope you check out the other two videos in the series thank you

You May Also Like