hey guys welcome back to another coding flamingo video in the last video we created our wireguard vpn server using our raspberry pi this video is brought to you by easy ssh the easiest way to secure your ssh endpoints easy ssh removes the need to create manage and delete your ssh to use by using your corporate identity to issue short term ssh certificates and since ssh certificates are native to the open ssh authentication it means that you can use them from a small iot device to your NUMBER_TOKEN core cloud vm check the link in the down description to request a demo and get it one month for free all right so here we're in our raspberry pi we can check that the vpn is running and as we can see there is a vpn that was running there's one pier that has connected before so now we have to add a second pier so first thing we have to do is open the the wire guard config and as you can see here we have the config we have set up in our last video and we have one pier and here we're gonna add our second pier so we can just copy this information and paste it here we should probably change this to a better comment window client so we know who he is and then i'm not going to guide you through installing it if you basically go to URL_TOKEN install click windows installer and click through the installer and you will install it once you have it installed you're going to open it and you're going to click the add tunnel and you're going to add an empty tunnel and the first thing you have to do is put the name so you can put it like a home vpn just in case you have multiple tunnels and then here it gives you your public key you're gonna need to give this to whoever is running the server in this case is ourselves and the private key you should never share this and then you i just copy and paste this always hold the notes and everything all the commands are down below so you can just go ahead and copy and paste and have the same great experience as i do and here you have the address that when you you keep changing it back here so as you can see here the first client was two so we should change this to three and then if we go back we should change this to three to match in the server so they know that we're connecting to that and here we have the public key of the server that you'll have to replace with your own allowed eyepiece this is for split tunneling so split tunneling is usually used in corporate vpns to have all your corporate stuff go through the vpn but if you're watching youtube they don't want that extra bandwidth to go through their vpn since it costs money to have extra bandwidth so basically what they do is just add the ip addresses of the things you need so in this case if you just want to be able to access your home servers and stuff like that you might just add the ip addresses that you want it to go through if you leave it at NUMBER_TOKENNUMBER_TOKENNUMBER_TOKEN it's going to pipe everything through the vpn and it will actually block anything that tries to go outside the vpn so as you can see down here it automatically checks the block on tunnel traffic so that means it has a kill switch so if you disconnect from the vpn it's not gonna allow anything to leak out and then in endpoint
START_SPONSOR_TOKEN video is brought to you by easy ssh the easiest way to secure your ssh endpoints easy ssh removes the need to create manage and delete your ssh to use by using your corporate identity to issue short term ssh certificates and since ssh certificates are native to the open ssh authentication it means that you can use them from a small iot device to your NUMBER_TOKEN core cloud vm check the link in the down description to request a demo and get it one month for free END_SPONSOR_TOKEN