(Updated Video In Description) Creating pfsense Let's Encrypt Wildcard Certificates using HAProxy

Sdílet
Vložit
  • čas přidán 2. 06. 2024
  • How To Guide For HAProxy and Let's Encrypt on pfSense: Detailed Steps for Setting Up Reverse Proxy
    • How To Guide For HAPro...
    Amazon Affiliate Store
    ➡️ www.amazon.com/shop/lawrences...
    Gear we used on Kit (affiliate Links)
    ➡️ kit.co/lawrencesystems
    Try ITProTV free of charge and get 30% off!
    ➡️ go.itpro.tv/lts
    Use OfferCode LTSERVICES to get 5% off your order at
    ➡️ lawrence.video/techsupplydirect
    Tesla Referral Program Offer
    🚘 www.tesla.com/referral/thomas...
    Lawrence Systems Shirts and Swag
    👕 teespring.com/stores/lawrence...
    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...
    Google Fi Service Referral Code
    📱g.co/fi/r/TA02XR
    More Of Our Affiliates that help us out and can get you discounts!
    ➡️ www.lawrencesystems.com/partn...
    Twitter
    🐦 / tomlawrencetech
    Patreon
    🔗 / lawrencesystems
    Our Forums
    🔗 forums.lawrencesystems.com/
    GitHub
    🔗 github.com/lawrencesystems/
    Discord
    🔗 / discord
    Our Web Site
    🔗 www.lawrencesystems.com/
    How To Setup ACME, Let's Encrypt, and HAProxy HTTPS offloading on pfsense
    • (Updated Video In Desc...
    #pfsense #Firewalls
  • Věda a technologie

Komentáře • 51

  • @johnglennan2153
    @johnglennan2153 Před 11 měsíci +1

    Your are an IT God Tom - Thank you for all you do....

  • @anthonycapone1295
    @anthonycapone1295 Před 4 lety +3

    Great Video Tom! Things work like a charm. However, I did run into an issue. I have servers that I've assigned with a static IP. When I check the box, "Register DHCP static mappings in the DNS Resolver" ... I loose the host overrides that I've specified... and therefore, no cert when I visit in internal server. When I uncheck the same box...boom, the overrides work and the cert is there. Is this the expected behaviour of PFsense?

  • @warizzle
    @warizzle Před 3 lety +3

    To fix the issue of all the logs saying the connection is coming from the pfsense box (192.168.1.1) you can turn on the Use "forwardfor" option in the advanced settings part of the front end. It adds a header that contains the client machine's IP address.

  • @jan-lucansky
    @jan-lucansky Před 4 lety +13

    Thank you for amazing videos ! One thing I noticed, you use wrong command in Action list. Should be "/usr/local/etc/rc.d/haproxy.sh restart" you have only "/usr/local/etc/rc.d/haproxy.sh" :)

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 4 lety +1

      Thanks, I glad someone read the instructions properly.

  • @ranjithgreen
    @ranjithgreen Před 2 lety +1

    Thank You for wonderful technical videos and information

  • @mattparksey
    @mattparksey Před 3 lety +1

    Nice video, got it working thanks. Can you add this cert for accessing your pfsense box too? Do you need the HA reverse proxy in that case?

  • @Exploited89
    @Exploited89 Před 4 lety

    This can be really useful! Thanks

  • @THEGURU1234556
    @THEGURU1234556 Před 2 lety

    Great video setup got it working thanks

  • @mbonani
    @mbonani Před 4 lety +2

    18:24 Wouldn't 'Use "forwardfor" option' help with that?

  • @h4X0r99221
    @h4X0r99221 Před 2 lety

    Great video, thanks!

  • @DavidVanHerzeele
    @DavidVanHerzeele Před 2 lety

    Great video. Everything Works now
    But i want to use the fqdn internal like for instance a bitwarden server needs HTTPS in browser. I setup my Pihole to internal have DNS records set but i cant get it to work that HAproxy gives the SSL to the domain internal.

  • @joneleliuterio2273
    @joneleliuterio2273 Před 3 lety +1

    Finally got it to work :D

  • @sicanu1981
    @sicanu1981 Před 3 lety

    Hi everyone
    I think I have broke my connection with my router I can not connect and I get the wildcard cert instead the SSL and one last thing for Tom good video and informative but I can not make it work with Nextcloud . Can you please make one video on how to connect to a jail for instance (Nextcloud)
    Thanks

  • @fbifido2
    @fbifido2 Před 4 lety +1

    @18:14 - Can't HAProxy pass the client IP on to the backend server?

  • @manuelthallinger7297
    @manuelthallinger7297 Před rokem

    The DNS Overriide works great, i can ping the name i want to access and it reolves it to the correct ip. But i cant access the service i want to connect to, in the HaProxy Dashboard the Bachend shows offline, but the backend settings are correct. Do i miss some Firewall rules for Haproxy ?

  • @yuriw777
    @yuriw777 Před 4 měsíci

    Great video, thx! I assume for SSL on LAN hosts HAProxy package is a must?

  • @mattybeans2322
    @mattybeans2322 Před 4 lety +1

    You sir, are the best. Please employ me lol.

  • @CristianHeredia0
    @CristianHeredia0 Před rokem

    Many thanks

  • @cmlopezmx
    @cmlopezmx Před rokem

    Thank you for the video. I just have one question, what if I'm trying to create an internal SSL for my Synology NAS, since I'm routing all traffic to the LAN IP, when I do SMB to mount a folder it doesn't find the NAS

  • @GeertHeremans
    @GeertHeremans Před rokem

    Anyone knows if this also works with the DNS-alias technique? I have a domain without the ability to add API-access but have a dummy domain with it. I'm able to use the dummy domain for normal certificates. But trying out wildcards doesn't work yet.

  • @LeonardoMatute
    @LeonardoMatute Před 2 lety

    @Lawrence Systems at 16:50, you mentioned you have multiple LAN on your office, any guidance on how to do this with multiple Subnets (LANs), I have a couple of services running on a different LAN and I haven't be able to get it working. (Main LAN is working flawlessly)

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 2 lety +1

      You just have to have rules that allow those other subnets to reach the HAProxy ports

    • @LeonardoMatute
      @LeonardoMatute Před 2 lety

      awesome, I thought I did, but I'll take a more detailed look to the rules and see if I can figure it out.

  • @kryptykhermit
    @kryptykhermit Před rokem +1

    Thanks!

  • @sicanu1981
    @sicanu1981 Před 3 lety +1

    I fix it, I forgot to change the 443 port to 10443 port all good on that

  • @cbbbbbbbbbbbb
    @cbbbbbbbbbbbb Před 4 lety

    So for private servers accessed through VPN, it seems like you still need a specific individual domain with a public entry in order to resolve without SSL errors? If I am understanding that right, that's the way to go for VPN clients, and then wildcard for everything else that won't be accessed via VPN?

    • @anthonypolsinelli1179
      @anthonypolsinelli1179 Před 4 lety +2

      Not necessarily. You can push your internal dns server for use by anyone over VPN. For openvpn You add push "script-security 2" push "dhcp-option DNS " or add them to each individual config file. You can also push a domain with dhcp-option DOMAIN

  • @sicanu1981
    @sicanu1981 Před 3 lety +1

    I have followed as Tom did and did not work at all i need help if anybody has some spare time!

  • @maxd7228
    @maxd7228 Před 4 lety

    First

    • @garym1550
      @garym1550 Před 4 lety +3

      First, yes, but LAST in advancing the knowledge pool.

  • @jonathanpitt6126
    @jonathanpitt6126 Před 2 lety +2

    The guy has noble intentions, but his videos are scatterbrained caveman mumblings... could be much more logical and coherent.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 2 lety

      First time I have been described as "scatterbrained caveman mumblings" 😀

    • @jonathanpitt6126
      @jonathanpitt6126 Před 2 lety

      @@LAWRENCESYSTEMS sorry, I hoped you could laugh at that... I'm not smart enough to understand the wizardry

    • @jonathanpitt6126
      @jonathanpitt6126 Před 2 lety

      I'll do some mumbling myself... any drawbacks jump out at you for a config involving: a virtual IP on LAN side that 80/443 is NAT'd to then HAProxy listens on this LAN virtual IP. Keeps the HAProxy traffic on the LAN side instead of tromboning through the pfsense. Random thought

    • @richardking2439
      @richardking2439 Před 2 lety

      @@jonathanpitt6126 yeah I am not smart enough to understand how to create an API KEY either.