Remotely Managing pfsense via SSH Tunneling

Поделиться
HTML-код
  • Опубликовано: 4 авг 2024
  • 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/
    PIA Internet Access Affiliates Link
    www.privateinternetaccess.com...
    www.digitalocean.com/communit...
    #pfsense #Firewalls
  • НаукаНаука

Комментарии • 44

  • @clomok
    @clomok 6 месяцев назад

    Perfect, this is exactly the answer I needed.
    Thank you!

  • @iHelpUTechEffingham
    @iHelpUTechEffingham 4 года назад +2

    "If they find an issue with public key encryption, we're all in trouble and your firewall will be the least of your concerns." Something about that made me chuckle in fear lol.

  • @PileofKyle
    @PileofKyle 5 лет назад +2

    You’re a great teacher.

  • @abdelhakeljamali4101
    @abdelhakeljamali4101 5 лет назад

    great video as usual. thank you

  • @MirkWoot
    @MirkWoot 5 лет назад +5

    Thats pretty neat, actually had no idea that was possible, the way to get the webconfigurator thru ssh.

  • @anyheck
    @anyheck 5 лет назад +3

    That seems like a solid idea. I've used openvpn to have a remote router "phone home" and it's stable but certainly a more involved setup.
    How are you setting up the remote sites to deal with dynamic IPs and what do you do for your password management as all of the remote sites are at localhost:port?
    is there an autossh package on pfsense to get it to phone home to you with a reverse tunnel setup?

  • @johnhumphreys2755
    @johnhumphreys2755 10 месяцев назад

    Awesome video. Thank you

  • @nreitcheck
    @nreitcheck 5 лет назад +3

    Just a note, do not use port 222 or 5555 as given in the example. Both ports are commonly scanned for as well as many many others. For the most 10 most common scanned ports watch AT&T ThreatTraq Internet Weather Report ruclips.net/p/PLq4ic8ODT5PfsdQ7XBnKqIa2FBLmwjanL . Also remember to use best security practices for SSH as it can allow access to any computer on any connected network not just the localhost.

  • @someyounggamer
    @someyounggamer 5 лет назад +1

    Is his main OS parrot ? Great Video helped a lot with my syslog machine!

  • @ERolando78
    @ERolando78 5 лет назад

    Excellent video. A query how can I limit the amount of digital certificate for client devices on an Openvpn server from PfSense

  • @wormchickenwizard
    @wormchickenwizard 3 года назад +1

    How do you centrally manage and monitor your entire fleet of pfsense devices for outages and other issues? Also with public/private keys for SSH, how do you keep up with with all the keys on each firewall that's specific to each of your technicians? Is there a way you can orchestrate changes like for example if a technician had their computer stolen would you have to remote into each firewall individually and revoke the key or could you do it with a couple of clicks and push that change to every firewall at once?

  • @linuxpc4me555
    @linuxpc4me555 4 года назад

    Just saw this video.. what a great tutorial! Thank you so much. One question... how would you use this with putty?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 года назад

      I don't use putty anymore but it is supported this site has a write up www.akadia.com/services/ssh_putty.html

  • @rafionroot
    @rafionroot 5 лет назад

    Great video, I'm having a bit of a problem hitting the localhost:5555 cant connect at all, do I need to add other rule beside the ssh allow on the WAN ? The admin access and the wan rule have been configured correctly Thanks guys

  • @mervinmercado4755
    @mervinmercado4755 4 года назад

    hey tom nice and great video, hoping that you have also a video on how to set up on windows command. I'm following your videos. More power and I hope sooner or later you read my comment. Keep Safe

  • @marcvanberkel8512
    @marcvanberkel8512 5 лет назад

    We made a central management system for pfsense, based on SSH port forwarding. To be able to view all kind of information in one dashboard. Uptime states CPU mem backups, live icmp etc

  • @ITHowToAsap
    @ITHowToAsap 4 года назад

    If pfSense is in a virtual machine and the WAN IP of it is a private, example 192.168.1.23, you must disable "Block private networks and loopback addresses" under Interfaces/Wan in order to have the Firewall rules to work.

  • @jasonperry6046
    @jasonperry6046 5 лет назад +1

    !!! Ho Li $#! +. There goes any hesitation I had for going all in on pfSense. I obviously don't know what I don't know. Any suggestions for an overview of things past the basics that Linux can do?

  • @CGW11
    @CGW11 5 лет назад +1

    Thanks Tom! Great stuff. 👍
    Can you share your bash prompt?

    • @booradlly
      @booradlly 3 года назад

      YES PLEASE, that was a wicked looking bash, never seen a bash so detailed. PLEASE TELL US

    • @booradlly
      @booradlly 3 года назад +1

      I asked the same question again, and he answered! (see above)
      github.com/flipsidecreations/dotfiles

  • @BradleyHerbst
    @BradleyHerbst 3 года назад

    Great video. Did you end up ever making a video on ssh port forwarding with pfsense?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 года назад

      ruclips.net/video/3-DU47zDrQk/видео.html

    • @BradleyHerbst
      @BradleyHerbst 3 года назад

      ​@@LAWRENCESYSTEMS I needed to expose mysql to my friend, but I didn't want to install ssh on the mysql server because I'm going to moving it to a container eventually, so I rather him authenticate thorough the pfsense box. I came up with this, ssh -L 3306:(ip-of-mysql-server):3306 -p (random-port-for-this) (non-admin-pfsense-username-with-publickey)@(my-public-ip-address), I'm sure this not the right way to do this, but it does work. I would like to know how to properly set this up so they can have to authenticate before they can get access to a port. I was going to setup a second openvpn on pfsense but I figured that was overkill since only need to expose one port. Thank You

  • @nurhafizah210
    @nurhafizah210 4 года назад

    hello sir, i cannot access my pfsense web gui.i installed them in virtualbox.do you know how to solve this?thank you.

  • @jasonperry6046
    @jasonperry6046 5 лет назад

    Okay, I have watched the video again and I have a question. Can I get a let's encrypt certificate for pfSense box? Will the same scripts work that I use on my debian based boxes? I do realize it is BSD based that's why I ask.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  5 лет назад +1

      There is a pfsense plugin for the ACME cert system

  • @josecubas9460
    @josecubas9460 5 лет назад

    teacher I am from Peru. I am a student. I would like if you could teach us from the beginning snort openaddid + pfbloquers. Excuse greetings from Peru and thanks for your videos

  • @booradlly
    @booradlly 3 года назад

    Does anyone know what BASH that is ?
    It is awesome looking, lots of detail.

  • @TaRaZ_AST
    @TaRaZ_AST 3 года назад

    if you configure a rule that allows access to https, it will allow anyway, despite ssh rule. I mean I can connect via browser before(without) connecting via ssh

  • @mathesonstep
    @mathesonstep 5 лет назад

    So you do need the private key to login to the server correct? because if someone had your IP and your public key they shouldn't be able to do anything is that correct?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  5 лет назад

      Correct, keep your private key super locked down

    • @gorillaau
      @gorillaau 3 года назад

      @@LAWRENCESYSTEMS Yes, peehaps even to the point why if your private key is stolen on a laptop, you should revoke the existing public key from your servers and create a new the private key.
      Paranoid? Perhaps but nice to know that the servers you are responsible for are not accessible by ill-gotten means.

  • @rogan466
    @rogan466 5 лет назад

    This seems like a lot of work. Why not toss a ip on the loopback, create a ipsec tunnel to your network, this way you can manage the device at the far end from anywhere within your own management network. That way you can stay sanitized and not have ports opened etc. I understand the port is only opened from a particular source but this just seems like a lot of work.

    • @ronaldvaughan4117
      @ronaldvaughan4117 4 года назад

      Rogan, Interested in your method as well. Any existing reference as to how to actualize it? Tnx!

  • @takumihikaru6055
    @takumihikaru6055 5 лет назад

    Hi Tom, can you help me how to allow skype on pfsense? Thanks

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  5 лет назад

      It is allowed

    • @takumihikaru6055
      @takumihikaru6055 5 лет назад

      Thanks for your reply, followed your tutorial on pfBlocker but Skype is blocked, just don't know where it is filtered from.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  5 лет назад

      That varies with what list you are using.

    • @takumihikaru6055
      @takumihikaru6055 5 лет назад

      found it, thank you.

  • @Oswee
    @Oswee 3 года назад

    It would be nice if pfSense would support SSH Certificates