• GiuseppeAndTheYeti@midwest.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      That makes total sense. I never really considered that I have been learning Windows over the past 20 years. It was just learning “computer”. And I really appreciate the compliment to my dedication on it! I’m really happy with the result and I learned more about linux/networking/LePotato/Pi-hole than I would have guessed at the beginning of this whole project. From battling with Wireguard server configuration…ufw and portforwarding…client configuration…back to ufw…IP configuration…keys…etc. Troubleshooting was a maze sometimes 😂. One more thing before I go.

      About the name thing. Say I type:

      name="Gerald"
      wg genkey > ${name}.key
      

      Would my output then be a key generated by Wireguard and named “Gerald.key”? Or would it need to be:

      wg genkey > "${name}.key"
      

      Or like in your example:

      wg genkey > $name.key
      

      I think I’m mostly getting caught up in when the quotations are necessary and when they’re not.