Giter VIP home page Giter VIP logo

Comments (8)

webdigi avatar webdigi commented on June 1, 2024

you will not be able to login via SSH. not sure how you managed to do that? are you sure you created the instance with the template?

from aws-vpn-server-setup.

tanyanghan avatar tanyanghan commented on June 1, 2024

I added a few things to the json file.

I needed to be in Seoul:
"ap-northeast-2": { "HVM64": "ami-54ae603a" },

Entered a new parameter for the KeyPair KeyName:
"KeyName": { "Description": "Name of an existing EC2 KeyPair to enable SSH access to the instance", "Type": "AWS::EC2::KeyPair::KeyName", "ConstraintDescription": "must be the name of an existing EC2 KeyPair." }

Added a couple security group:
{ "CidrIp": "0.0.0.0/0", "FromPort": "8", "IpProtocol": "icmp", "ToPort": "-1" }, { "CidrIp": "0.0.0.0/0", "FromPort": "22", "IpProtocol": "tcp", "ToPort": "22" }

Added the above KeyName parameter to the Instance Properties:
"VPNServerInstance": { "Properties": { "KeyName" : { "Ref" : "KeyName" }, "ImageId": {

from aws-vpn-server-setup.

webdigi avatar webdigi commented on June 1, 2024

Please wait upto 10 minutes after setting up the instance to make sure that the VPN is active. Also try a few different regions also. Also try just the base template and see if that works, this is to make sure that above changes do not cause a problem.

from aws-vpn-server-setup.

tanyanghan avatar tanyanghan commented on June 1, 2024

I finally got connected. It turned out to be a password problem. I generated a super secure password with 1password (40 characters, with numbers and symbols) and I couldn't log in. Then I tried a much simpler password - 16 characters with numbers only and now I am able to connect to the VPN. I guess it's the symbols?

from aws-vpn-server-setup.

webdigi avatar webdigi commented on June 1, 2024

thanks. that should be the problem then. Do you know if the password had @ or quotes?

from aws-vpn-server-setup.

tanyanghan avatar tanyanghan commented on June 1, 2024

Yes, it had a couple @'s in it. :lol: No quotes. Do you know what are the accepted characters for the password?

from aws-vpn-server-setup.

LittleBird-Western avatar LittleBird-Western commented on June 1, 2024

Thank you for this. I had a complex password also (containing a # and a !) and it would not allow me to connect.

from aws-vpn-server-setup.

webdigi avatar webdigi commented on June 1, 2024

@LittleBird-Western - thanks for the comment. We will have a look with passwords containing those special characters.

from aws-vpn-server-setup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.