From Ciphers to Certificates: Your Comprehensive Guide to Configuring OpenVPN on pfSense

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ค. 2024
  • lawrence.video/pfsense
    Which is Better: Overlay Networks or Traditional VPN?
    • Which is Better: Overl...
    Computerphile Video on the Chacha Cipher
    • Chacha Cipher - Comput...
    Netgate OpenVPN Documentation
    docs.netgate.com/pfsense/en/l...
    OpenVPN DCO
    docs.netgate.com/pfsense/en/l...
    QAT Gen3 Chacha hardware acceleration
    forum.netgate.com/topic/17360...
    Connecting With Us
    ---------------------------------------------------
    + Hire Us For A Project: lawrencesystems.com/hire-us/
    + Tom Twitter 🐦 / tomlawrencetech
    + Our Web Site www.lawrencesystems.com/
    + Our Forums forums.lawrencesystems.com/
    + Instagram / lawrencesystems
    + Facebook / lawrencesystems
    + GitHub github.com/lawrencesystems/
    + Discord / discord
    Lawrence Systems Shirts and Swag
    ---------------------------------------------------
    ►👕 lawrence.video/swag/
    AFFILIATES & REFERRAL LINKS
    ---------------------------------------------------
    Amazon Affiliate Store
    🛒 www.amazon.com/shop/lawrences...
    UniFi Affiliate Link
    🛒 store.ui.com?a_aid=LTS
    All Of Our Affiliates that help us out and can get you discounts!
    🛒 lawrencesystems.com/partners-...
    Gear we use on Kit
    🛒 kit.co/lawrencesystems
    Use OfferCode LTSERVICES to get 10% off your order at
    🛒 lawrence.video/techsupplydirect
    Digital Ocean Offer Code
    🛒 m.do.co/c/85de8d181725
    HostiFi UniFi Cloud Hosting Service
    🛒 hostifi.net/?via=lawrencesystems
    Protect you privacy with a VPN from Private Internet Access
    🛒 www.privateinternetaccess.com...
    Patreon
    💰 / lawrencesystems
    ⏱️ Time Stamps ⏱️
    00:00 OpenVPN on pfsense 2023
    02:09 OpenVPN Client Export Utility
    02:28 OpenVPN Wizzard
    03:25 Cipher Choices Cha Cah Poly VS AES
    05:42 Hardware Crypto Acceleration
    05:52 Tunnel Network
    06:24 Split VS Full Tunnel VPN
    07:04 Pushing Local Networks
    08:32 Pushing Client DNS settings
    09:17 OpenVPN Server User Auth Modes
    10:48 Certificate Revocation
    12:07 Managing User Certificates
    13:38 Linux OpenVPN Client
    14:10 Windows OpenVPN Client
    15:05 Troubleshooting OpenVPN
    #pfsense #openVPN #firewall
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 87

  • @alexandersnyder35
    @alexandersnyder35 ปีที่แล้ว +49

    Rather than set it up myself, I clicked the "Hire Us" button, and his people did it for me!

    • @rpsmith
      @rpsmith ปีที่แล้ว +8

      This is fairly basic stuff if you just follow Tom's video. Sounds like you missed a great opportunity to learn something new.

    • @majoryoshi
      @majoryoshi ปีที่แล้ว +11

      @@rpsmith some people just don’t have the time to learn or don’t care to learn. i don’t know their particular situation but it’s not impossible that they just needed a vpn deployed and it was more cost effective to hire LTS rather than learning how to do it

    • @ChaseMMD
      @ChaseMMD ปีที่แล้ว

      @@majoryoshi What keeps us in business and relevant.

  • @prahe86
    @prahe86 10 หลายเดือนก่อน +2

    Another great video. It's one thing to know this stuff, it's quite another to be able to give instructions in an easy to follow manner.

  • @stewiemcfadden5366
    @stewiemcfadden5366 8 หลายเดือนก่อน +2

    Thank you for the updated video! I just deployed a new pfSense system at home and have been having issues. I no longer feel like an idiot after watching this video. I have everything working now with the exception of one device. I will deal with it at another time.

  • @JuanMorales-mg6vt
    @JuanMorales-mg6vt 9 หลายเดือนก่อน

    Worked perfectly, thank you. I always enjoy your pfsense content !

  • @niravraychura
    @niravraychura ปีที่แล้ว

    Thank you for this updated video.. It helped me in earlier setup and this will help me in future.. ✌️

  • @user-xs6ne8qw8x
    @user-xs6ne8qw8x 5 หลายเดือนก่อน

    Excellent video, really helpful and clearly explained. Many thanks!

  • @Enigma542
    @Enigma542 4 หลายเดือนก่อน

    This will save me so much time tomorrow, I thank you!

  • @fe4449
    @fe4449 8 หลายเดือนก่อน

    Thanks for yet another awesome video!!!!!! 🙂

  • @miketarbox1190
    @miketarbox1190 ปีที่แล้ว +1

    While I have a Tailscale connection(inactive) to the work network from my home network, I still connect using openVPN. I have to make some changes to it. Thank you Tom for this timely video.

  • @techdad6135
    @techdad6135 ปีที่แล้ว +2

    Even though you don't use L2TP/IPsec, is there any chance you could still do a video walk through on how to setup one up?

  • @waretechnologies6845
    @waretechnologies6845 6 หลายเดือนก่อน

    Nice update!!!

  • @syruce76
    @syruce76 ปีที่แล้ว +2

    Nice vids, the client export is so nice, click, clack, take the file : )

  • @Radenska512
    @Radenska512 11 หลายเดือนก่อน +2

    I'm stuck in the user certificate part. I don't see my created user in the client export section. Do I need to paste an Authorized SSH Key in the Keys section of the user?

  • @mattviverette
    @mattviverette ปีที่แล้ว

    OpenVPN GUI client on Windows now includes Pre-Logon Access Provider support. Would love to see you cover configuration for PLAP (aka Start Before Login or SBL)...

  • @user-jo6kg4yk5y
    @user-jo6kg4yk5y ปีที่แล้ว

    Thanks for that! Please how can i fix this problem "enable to retrieve package information"

  • @IamDoQtorNo
    @IamDoQtorNo 2 หลายเดือนก่อน

    Thanks for videos like this, very easy to follow. I have a Cisco RV220W. Pf sense installed on a protecli box. Is there a way to have in and out traffic flow thru the RV220 vpn? Vs using norvpn or openvpn?

  • @yuriw777
    @yuriw777 ปีที่แล้ว

    Great video, thx Tom. If I change Cipher Choices, will I have to reissue the client configs via export?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว +1

      Yes, or you could edit the configs on each client so they match.

  • @gianpaoloracca1363
    @gianpaoloracca1363 ปีที่แล้ว

    Hi, how can I get that cool footer on the terminal dysplaying IP addresses and other info? I tryed to search online but I found nothing like that...
    FOUND IT IN ANOTHER VIDEO! Tmux!!

  • @ftheilig
    @ftheilig ปีที่แล้ว

    A NAT rule forwarding ports to my honeypot (SANS dshield) is interfering with the configuration. Not sure how to solve this.

  • @juniorraw
    @juniorraw 11 หลายเดือนก่อน

    Have an issue with this. I followed the steps you did and after finish, I get "No configuration found, please try again" and it took me to Step 2 of 11 to create a LDAP Server configuration? Not sure what I did wrong. Any guidance would be appreciated.

  • @Jr-hv1ct
    @Jr-hv1ct ปีที่แล้ว

    HI Tom, I am beijg ptompted to enter a key password as well when trying to connect where would Ibget this from?

  • @TechWithBabak
    @TechWithBabak ปีที่แล้ว +1

    Hi Tom, thank for this. I'm considering per user certificate auth and this is quite useful.
    Any disadvantage for using OpenVPN Connect (GUI). Our users find that easier to use than the default OpenVPN client downloaded through the export wizard in pfsense.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว

      Not sure, we just use the download from pfsense.

    • @Dan-tq3tu
      @Dan-tq3tu 6 หลายเดือนก่อน

      I have used both in production daily for 24/7 monitoring, and I can attest that both work flawlessly compared to other VPNs. Troubleshooting from either is a breeze. I even prefer it over global protect, forticlient, and all the others I've used over the years in work and in my home lab. Would love to hear any other insights other viewers have to offer!

  • @accesser
    @accesser ปีที่แล้ว

    Personally, I like to add geo blocking to my server, its setup to only allow inbound from AU IP ranges.

  • @heiaheiaheiahei
    @heiaheiaheiahei 3 หลายเดือนก่อน +1

    Thanks!

  • @dannythomas7902
    @dannythomas7902 หลายเดือนก่อน

    You are very smart I'm looking for vpn firewall rules

  • @RyanEllerbe
    @RyanEllerbe 4 หลายเดือนก่อน

    I just want to be able to connect to my home network so things like TH-cam tv sees me as home when I am away. What is the best and easiest way to do that in pfsense?

  • @alimolaie8779
    @alimolaie8779 11 หลายเดือนก่อน +1

    Great as always thanks for the guide

  • @psycl0ptic
    @psycl0ptic 11 หลายเดือนก่อน

    Tom - do you guys use/recommend using compression with ovpn? or only do you enable it in your demos?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  11 หลายเดือนก่อน +1

      As stated in the video leaving it off is most secure so we leave it off.

  • @orkungokalp2922
    @orkungokalp2922 ปีที่แล้ว +1

    Thanks Tom. Great video. The only problem is pfblockerng blocks my client access via openvpn. I can overcome this issue by placing my openvpn firewall rule on top of the pfblockerng rules but every time I do it, pfblockerng reorders the rules and put the openvpn rule below pfblockerng rules. So, I could not find a solution. Any help?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว

      Remove the rules in pfblocker that is blocking clients

    • @orkungokalp2922
      @orkungokalp2922 ปีที่แล้ว

      @@LAWRENCESYSTEMS Yes, if I remove the GeoIP Top Spammers rule then openvpn works. But, I would prefer to be able to change the orders of rules instead of removing Top Spammers rule. However, pfblocker does not let me change the rule orders and I do not know how to do that. Anyway, thank you so much Tom.

  • @alex.prodigy
    @alex.prodigy ปีที่แล้ว

    the windows client is using the DCO interface by default which is very annoying , i have to always configure this for our staff

  • @PedroMorenoBOS
    @PedroMorenoBOS ปีที่แล้ว

    Openssl speed -avg cipher in my case chachapoly always give less results than aes-128 / 256.

  • @reneschmoll9
    @reneschmoll9 9 หลายเดือนก่อน

    Hi Tom, is it possible to use an external DHCP Server instat of the ip pool?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  9 หลายเดือนก่อน

      I am not aware of a way to do that.

  • @Immrtlchaos
    @Immrtlchaos ปีที่แล้ว

    Every time I setup Surfshark on my PFSense router, it cuts my download speeds drastically from 600-800 Gbs to 15-25Gbs. No one seems to know why. Only thing I can figure is I’m setting something wrong forcing it to eat up my speeds.

    • @stephenxs8354
      @stephenxs8354 ปีที่แล้ว

      Can surfShark servers even handle faster connections than that?

  • @bobsimon1554
    @bobsimon1554 หลายเดือนก่อน

    I need a tutorial about certificates ^ self/CA/SC...?

  • @JB-tz9pi
    @JB-tz9pi 6 หลายเดือนก่อน

    If you're just using vpn for one user, is there still a need for SSL/TLS + user auth?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  6 หลายเดือนก่อน +1

      Not really a need for just one user.

  • @rehaancassim6719
    @rehaancassim6719 27 วันที่ผ่านมา

    I would like to monitor all my VPN Clients currently on pfsense Status/OpenVPN i see "Client Connections" if they are connected but i would also like to see client that arent connected on the Status Dashboard, any suggestions?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  27 วันที่ผ่านมา

      nope, it only shows connected clients.

  • @LiveFree-ij3hn
    @LiveFree-ij3hn 7 หลายเดือนก่อน

    What if you want your staff openvpn users to different Subnet access than your admin account, can you create a second server setup and simply change the port during setup?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  7 หลายเดือนก่อน

      Yes, you can have multiple servers.

    • @LiveFree-ij3hn
      @LiveFree-ij3hn 7 หลายเดือนก่อน

      @@LAWRENCESYSTEMS Thank you, if I simply copied the current server and changed port and added one of the same subnets in the other server will that cause my admin account to possibly drop? Since we will both have access to the same subnet.

  • @demonmaestro
    @demonmaestro ปีที่แล้ว

    With wireguard being a thing now. What / if any performance benefit is there to openvpn vs wireguard?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว

      Depends on use case.

    • @psycl0ptic
      @psycl0ptic 11 หลายเดือนก่อน

      different use case..really.

  • @WayneBarroncffcs
    @WayneBarroncffcs 4 หลายเดือนก่อน

    Question.
    I have PFSense set up for our Web Servers. I do not want to mess with anything on that box that will take down our web servers.
    So, my question is this.
    Would it be best to install PFSense in VMWare ESXi VM and then route my traffic through that machine instead of messing with the existing working PFSense box?
    Thanks.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 หลายเดือนก่อน

      Setting up OpenVPN should not break pfsense and I always prefer to run pfsense on bare metal.

    • @WayneBarroncffcs
      @WayneBarroncffcs 4 หลายเดือนก่อน

      So, I should be able to run the VPN on that same machine without an issue?
      Do you have an article or something I can read or watch where these two things have run on the same machine?
      Just want to cover all bases before I do this.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 หลายเดือนก่อน

      @@WayneBarroncffcs I have OpenVPN on the system that I did this video with.

  • @LackofFaithify
    @LackofFaithify ปีที่แล้ว

    The QAT 3 link specifically says NO QAT used to get the speed up...unless I am misinterpreting, " no QAT here. Just CPU."

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว

      Current available versions of QAT DO NOT but version three which I don't think is available yet is supposed to work

  • @rapanotti
    @rapanotti ปีที่แล้ว

    I'm not and I don't but can VPN technology overcome Montana's Tik Tok ban?

    • @rustyb78
      @rustyb78 ปีที่แล้ว

      Probably, depending on how it's implemented. I'd say it's at the ISP level and connecting to a VPN outside the ban zone would allow downloading and usage of the app. I don't like toktok but I don't support the ban and I'm hopeful that it will be repealed.

  • @djdeito
    @djdeito ปีที่แล้ว +1

    11:07 User Auth: no need to re-generate a new certicate for everybody, just change the password of the compromised user.

  • @Frulvolaya
    @Frulvolaya ปีที่แล้ว

    What about adding mfa to the vpn?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว +4

      Having certificate and user authentication is MFA.

    • @LA-MJ
      @LA-MJ ปีที่แล้ว

      I just added TOTP to opnsense in a sitting. There's docs and some forum discussions available. Just set up the users, generate seeds, switch vpn auth on the server and add the challenge option to client config

  • @sammo7877
    @sammo7877 ปีที่แล้ว +4

    Great alternative to paying for OpenVPN Access Server

  • @NetBandit70
    @NetBandit70 ปีที่แล้ว +3

    Every CPU made in the last 10 years supports AES-NI instructions (including mobile), usually with multiple gigaBYTEs per second of encryption throughput. AVX-512 is needed to accelerate ChaCha, so I'm sticking with OpenVPN for the foreseeable future.

  • @NeNozg
    @NeNozg ปีที่แล้ว

    I used OpenVPN in pfSense and it was great. But then I changed ISP and now I'm behind CGNAT so can't use it anymore.

    • @TheCheshireCat.
      @TheCheshireCat. ปีที่แล้ว

      Can't you buy a static IPv4 off your ISP?

    • @NeNozg
      @NeNozg ปีที่แล้ว

      @@TheCheshireCat. not possible on Starlink :)

    • @sammo7877
      @sammo7877 ปีที่แล้ว +1

      dynamic dns?

    • @NeNozg
      @NeNozg ปีที่แล้ว

      @@sammo7877 not working behind CGNAT

    • @npham1198
      @npham1198 ปีที่แล้ว +1

      Purchase a VPS and send a static ip over a gre tunnel

  • @jaxjax7318
    @jaxjax7318 26 วันที่ผ่านมา +1

    The Reason you would USE AES-256 is because it is HIPPA secure. Last i checked, If you store patient files or transfer files for healthcare system, you need to use AES-256 by HIPPA law.

  • @jasonluong3862
    @jasonluong3862 ปีที่แล้ว +3

    Why not just use Wireguard? It's been out long enough to prove itself.

    • @Destroyer954
      @Destroyer954 ปีที่แล้ว +3

      Does wireguard have good auth options for end users? I know tailscale solves that but native wireguard doesn't

    • @curtispavlovec
      @curtispavlovec ปีที่แล้ว

      @@Destroyer954 TailScale and similar are magic but you lose a lot of performance from native WireGuard line speeds.

    • @tylercgarrison
      @tylercgarrison ปีที่แล้ว

      @@Destroyer954 cuz no user management. Wireguard is good for homelabbers. Not so ideal for business use with multiple users. Wireguard isn't insecure, though it lacks a certain level of security that OpenVPN does not

    • @LackofFaithify
      @LackofFaithify ปีที่แล้ว

      22 years vs 8. And why do people care so much about what other people use? He does have wireguard videos you know.....

    • @killer2600
      @killer2600 ปีที่แล้ว

      Because OpenVPN can do things that Wireguard can't.

  • @alexandersnyder35
    @alexandersnyder35 ปีที่แล้ว

    First