How to Setup OpenVPN on Pfsense Firewall for Remote Access

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome on kulmander computer solution today in this video i will show you how to configure openvpn server on pf sense community edition so my pf sense is hosting on microsoft azure and this is the domain name public.me we have since binded with the domain name all right so i will show you the my topology okay so this is the my topology so this is my pm sense network on azure so this is the virtual machine of pf sense okay so there are two cards one is when one is land land is currently down you can see the land subnet and it is behind the knot all right so let's go to the absence so first step is we have to create a certificate all right so first we need to configure ca authority here open vpn and common name leave it as it is then go to certificate add okay internal certificate ca server all right this is this would be the folder server so certificate authorities here open vpn okay so this is the common name common name i'm going to put my domain name of of the pf sense pablo dot me so if there is no domain name you have to use your public ip here following settings you can fill up as per your requirements certificate type user certificate no sorry this is server certificate that's saved there is one more certificate we have to create for the user so we will finish same time see a user same certificate authority ca open vpn cn name you can put anything user one and save certificate time user okay all right so we have done certificate so we will configure now open vpn go through the wizards select time of server local user access authority open vpn server certificate ca server next okay so this is the these settings we will leave as it is okay so come to the tunnel setting point we have to put our tunnel network okay so i will use this network for the tunnel and my local network for example van is active so i will use van subnet here okay so dns dns port i will use google dns then next okay so keep check these things this this both options firewall rule plus open vpn rule to the van interface next finish so our vpn server is ready now let's check the firewall rules okay it's there and open vpn interface also is there the previous one is for the testing i was using okay so now go to the package manager find out the available package and find out open vpn in the search bar client export and install it will take few seconds okay it's going on success let's go back to the system user manager create new my vpn user put password anything confirm my vpn username save now again open the user we will link that certificate here and go to method existing certificate find out your ca user okay so there you can see certificate authority openvpn save okay now go to openvpn client export ok and uncheck this one if this is the for the older version of settings we no need to continue with that there is my user my vpn user username so i am using windows 64 bit i will go with the 64-bit if you are using mac so there is mac video already there you can see how to configure on mac os okay download that exe file of the open vpn completed we will install to that server okay all right install now this server also i'm hosting on the cloud so i was just using for the testing purpose okay finish so this one for the configuration setup close okay now go to the c drive open vpn configuration before that we have to change little bit in the configuration file go to notepad open by run as administrator find the configuration file and select all okay so there you have to replace your remote ip so my case is that dns name so keep it keep in this mind here we have to use that same thing what we have configure on the ca under cn name okay common name so if you are using public ip use public ip or if there is domain name use domain name close now go to the open vpn right click connect put user by vpn user password okay okay so successfully connected so let's try to ping out something ping i will ping my vpn pf sense local van ip okay there is let's try to open with the local ip 10.0.1.6 okay so there is so i will show you the status open vpn is connected by with this ip so this is the ip there you can see my ip address 13.203.40118. so this is the exactly same so this is our virtual ip so guys so this is the video for the open vpn remote server i hope you have liked it please subscribe like and share thank you
Info
Channel: Technical Kulwinder
Views: 374
Rating: 5 out of 5
Keywords: openvpn, vpn, network, internet, private network, remote access, setup, pfsense, ipsec, ikev2, AES, firewall, rules, cisco, tunnel, client, windows, wan, lan, local network, encryption, openvpn accessserver, authentication, certificate, username, azure, aws, site to site, router, sense, juniper, switch, phase 1, phase 2, mode
Id: m70Oic9AaLY
Channel Id: undefined
Length: 10min 7sec (607 seconds)
Published: Fri Jun 25 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.