VPN Auto Connect

Welcome Forums General PowerShell Q&A VPN Auto Connect

Viewing 4 reply threads
  • Author
    Posts
    • #226797
      Participant
      Topics: 1
      Replies: 0
      Points: -8
      Rank: Member

      we have a meraki client vpn, which has no client vpn software. we use windows 10 built in vpn. i used powershell script below (and a batch file) to auto connect the vpn.

      1. is there way to add a condition in where the attempt to connect to vpn isnt made if the computer lan/wifi is in the office and already behind the meraki?

      2. also, a way to hide the credentials in the script? below it lists in plain text.

      3 lastly, notify user if the vpn is not connected?

       

    • #226812
      Participant
      Topics: 10
      Replies: 2480
      Points: 6,537
      Helping Hand
      Rank: Community MVP

      Daniel, welcome to Powershell.org. Please take a moment and read the very first post on top of the list of this forum: Read Me Before Posting! You’ll be Glad You Did!.

      When you crosspost the same question at the same time to different forums you should at least post links to the other forums along with your question to avoid people willing to you help making their work twice or more.

      https://social.technet.microsoft.com/Forums/en-US/9ac62252-7880-4f16-a116-1c0ce5f41280/vpn-auto-connect?forum=winserverpowershell

      Thanks

    • #233251
      Participant
      Topics: 0
      Replies: 2
      Points: 11
      Rank: Member

      Is there a VPN that you recommend for using on a home router? I want to keep anyone using my network safe. I also researched some articles about VPN.

      • This reply was modified 7 months, 3 weeks ago by Robertsl29.
    • #233269
      Participant
      Topics: 10
      Replies: 2480
      Points: 6,537
      Helping Hand
      Rank: Community MVP

      Robert, welcome to Powershell.org. Please take a moment and read the very first post on top of the list of this forum: Read Me Before Posting! You’ll be Glad You Did!.

      Is there a VPN that you recommend for using on a home router? I want to keep anyone using my network safe.

      Please do not hijack other peoples threads. If you have a question about Powershell code you wrote yourself you should create a new question for yourself.

    • #233380
      Participant
      Topics: 0
      Replies: 2
      Points: 11
      Rank: Member

      Sorry to me, please. And thank you. I appreciate rules and you.

Viewing 4 reply threads
  • The topic ‘VPN Auto Connect’ is closed to new replies.