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

hello welcome this is one of three videos in a accumulation 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 is attached to routers to create one Network how to bypass the VPN connected to a router on particular machines and how to bypass the VPN on certain websites so this these videos seminars are for a layperson and hopefully answer questions 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 separately but this is talking about how you connect two routers one of them racing dd-wrt and a VP Open VPN and I’m assuming for this tutorial that you have successfully lay dd-wrt and your VPN client is working working successfully the substance of this video we’re going to talk about this setup of information systems we’re going to talk about how we affiliate the two routers to create one structure 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 prime connects are the computers are around a two and designate and the smart-alecky TV around to work plugged into the Ethernet connection the internet connection of router two is plugged into the ethica next ever net joining or router one and the internet contact of router one is connected into the modem in order to access the internet in my organization a router one is called and router two extending 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 linking 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 arises in a separate network net with one attach importance around to one and network to being attached to router 2 so if you’re not sure about what your rounds and appoints are one the opportune course to do that is especially in Windows 7 into the control panel look for network and sharing midst and then if you click on realise full planned you’ll you’ll get a a layout method of your your structure and in this case and if you then put your mouse above different objects it are really tell you the IP addresses of those objects so in this case I’ve targeted 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 numeral 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 lay 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 provides in case something goes wrong and therefore you can always go back to it so you go to the administration’s invoice 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 establish it a appoint that you retain in case you need to restore it same batch if you have to restore a enter go to the administration tab click on backup browse for the document on your computer and then click rehabilitate 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 exclusively register you the names 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 most effective way to do that is to to switch the capability 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 are presented in the top right hand corner of that illustration 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 dictations tab you’ll notice here that I’ve encompassed up some information the start up a document 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 authorities text carton we need to gave the following so first of all we need to exactly remind ourselves if for a later date what we’re actually doing so putting the pound sign or the hash tag and throw in a ladder router – – for traffic to round to one subnet is the reminder of what the next order is make the line itself the portion of system be drawn up 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 ogles 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 yourself on the Internet next we need to go to the administration invoice and then the management tab and we need to select web Gy management and we need to set that to a nailed conclude while we do that it procreates it easier when we’ve finished position this up to establish if our acquaintances 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 mounted it to 80 and that they are able to do life a lot easier when we’re trying to check and validate if our setup is working so we now click on save deep-seateds sorry save and then apply settings we then go to the administration and a conduct invoice and then we click on reboot router so that accomplishes the tutorial of next steps for router 2 we need to do a very similar exercise on roundel 1 it ever render 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 simply prepare that a little bigger so it’s easy to see so the integrator refer we put in route than the neighbors router – you can choose what you wish for that specify we then say destination LAN IP as 1 6 8 1. 104 and if you be remembered that what o 4 is from the router – when we didn’t have the VPN client control so what do the subnet mask mean to the well mostly it’s relating to the destination lam IP instantly 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 gush okay so now by doing that simple routine 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 receive full planned and you were hoping to be able to see all the computers and all the gateways etc on this screen and regrettably 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 implement design of q21 attached to router one is talking to router 2 so the easiest way to do this is on computer one a spat 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 ogle if you cannot read the machines attached to come round 2 – when you’re on a machine appended around at one how do you move records between the two routers well simply you have to use a enter move planned 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 really testify you the information you need to put in and give you some gratuities 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 buyer 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 all is hard-bitten data router 2 in order to set this up is because it constructs life easier to make sure you get all the information chastise 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 use you have the left-hand side of the screen is the directory of the folders on computer – and the on the right hand slope is the directory of folders on hard this to use in this using the FileZilla client you simply drag and decline the enters you wish to transfer between ended 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 specifying 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 dominance 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 accord the one IP router 2 and therefore this doesn’t work so you must make these two numerals the same so that concludes our presentation and if you want to know some more information then I show 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 exactly drag-and-drop information in Windows the statement below and imitated from the DVD dd-wrt website explains that and mostly you have to have an edition of Windows server positioned on your machine and also do that Windows server or acquires it’s a bit like a Windows home or Windows Enterprise Edition so that is why you can’t only drag and lower your info I hope this presentation was useful to you and I hope you check out the other two videos in the line expressed appreciation for

You May Also Like