ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    OSX Setup via Command Line - Specifically VPN network

    IT Discussion
    osx command line setup configuration apple management
    2
    4
    832
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by

      As I dive more and more into the OSX command line setup since NetBoot (and subsequently Imaging over a network) is dead I'm finding more options to quickly get these devices configured.

      One thing I haven't yet found is a way to add a network interface for a VPN and this would be a very nice piece to add and ensure that it works every time without having to type in the settings over and over.

      Is anyone able to help guide me to finding a solution here, I'm still searching but haven't yet seen something definitive. A lot of topics on how to connect to a VPN via the command-line, but I need to specifically add one first!

      travisdh1T 1 Reply Last reply Reply Quote 0
      • travisdh1T
        travisdh1 @DustinB3403
        last edited by

        @DustinB3403 Zerotier would be really easy to script. Is that an option?

        DustinB3403D 1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403 @travisdh1
          last edited by

          @travisdh1 We have an on premise solution and its not ZT.

          Basically I just need guidance on how to add a network interface, set the type and settings.

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by DustinB3403

            I got it from here

            brew install macosvpn

            sudo macosvpn create --l2tp Atlantic --endpoint atlantic.example.com --username ' ' --password ' ' --shared-secret s3same

            You can provide ' ' for both the username and password, this allows any user to fill in as required.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post