Results 1 to 7 of 7

Thread: VPN connection from AWS EC2 to Company network fails (PPTP)

Threaded View

  1. #1

    VPN connection from AWS EC2 to Company network fails (PPTP)

    Hi i'm fairly new to Linux and have some difficulties setting up a VPN connection. I normally work with windows so please have some patience...
    For some reason the authentication fails when I try to connect. I'm running SUSE Linux Enterprise Server 12 SP1 on an AWS EC2 C4XL instance.
    I know the credentials are correct since they do work on my windows laptop.

    The message when I try to connect:

    Code:
     >pppd call wenvpn debug
    
    using channel 7
    Using interface ppp0
    Connect: ppp0 <--> /dev/pts/1
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x10d31399> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x0 <auth chap MS-v2> <magic 0x1>]
    sent [LCP ConfAck id=0x0 <auth chap MS-v2> <magic 0x1>]
    rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x2 <magic 0x10d31399>]
    rcvd [LCP ConfAck id=0x2 <magic 0x10d31399>]
    sent [LCP EchoReq id=0x0 magic=0x10d31399]
    rcvd [CHAP Challenge id=0x1 <32974a249148a4532b170e8ac868b8e1>, name = "WENNEKER"]
    added response cache entry 0
    sent [CHAP Response id=0x1 <d36ffb0a4c9277ac19ab85b839bbf0d70000000000000000cfd60c60f25dbaf7557810075ac3db682c514a4eeca2d69400>, name = "UserName"]
    rcvd [LCP EchoRep id=0x0 magic=0x1]
    rcvd [CHAP Failure id=0x1 "E=691 R=1 C=32974A249148A4532B170E8AC868B8E1 V=0 M=Good luck!"]
    MS-CHAP authentication failed: Good luck!
    CHAP authentication failed
    sent [LCP TermReq id=0x3 "Failed to authenticate ourselves to peer"]
    rcvd [LCP TermReq id=0x1]
    sent [LCP TermAck id=0x1]
    rcvd [LCP TermAck id=0x3]
    Connection terminated.
    Waiting for 1 child processes...
      script pptp XX.XX.XX.XX --nolaunchpppd, pid 20548
    Script pptp XX.XX.XX.XX --nolaunchpppd finished (pid 20548), status = 0x0
    These are the settings in PPP/Peers/wenvpn:
    Code:
    >cat wenvpn
    
    pty "pptp XX.XX.XX.XX --nolaunchpppd"
    # Lock the port
    lock
    # We don't need the tunnel server to authenticate itself
    noauth
    # Turn off compression protocols we know won't be used
    nobsdcomp
    nodeflate
    name UserName
    remotename PPTP
    ipparam wenvpn
    require-mppe-128
    #only allow MSChap-V2
    refuse-eap
    refuse-pap
    refuse-chap
    refuse-mschap
    Code:
    > cat chap-secrets
    
    # Secrets for authentication using CHAP
    # client        server          secret          IP addresses
    
    # OUTBOUND CONNECTIONS
    # Here you should add your PPP Login and PPP password to connect to your
    # provider via pap. The * means that the entry(login and passoword may be
    # used for ANY host you connect to.
    # Thus you do not have to worry about the foreign machine name. Just
    # replace password with your password.
    #hostname       *       password
    
    # PREDIFINED CONNECTIONS
    # These are user and password entries for publically accessible call-by-call
    # Internet providers in Germany. If they confict with your config, remove them.
    # READ_IN_CALLBYCALL_SECRETS
    
    # INBOUND CONNECTIONS
    #client         hostname        <password>      192.168.1.1
    
    # added by pptpsetup for wenvpn
    UserName PPTP "Password" *
    Thanks!
    Last edited by wenneker_tv; 22-Mar-2016 at 15:59.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •