Menu

Problems Using mpd5 as an L2TP daemon in AWS

Help
2014-02-23
2014-02-25
  • R. Tyler Croy

    R. Tyler Croy - 2014-02-23

    Howdy, I've been experimenting with creating a VPN endpoint for my
    Android-based phone on AWS, and I cannot seem to get the mpd5 configuration
    correct :(

    https://wiki.debian.org/HowTo/AndroidVPNServer is a similar approach to what
    I'm trying to accomplish, except on Debian.

    For the FreeBSD configuration, I've been following (roughly) this wiki page:
    http://wiki.stocksy.co.uk/wiki/L2TP_VPN_in_FreeBSD

    The problem I have is that mpd never creates an L2TP session for the client as
    it connects. I've turned on verbose logging in mpd and racoon, racoon very
    clearly does the key exchange, but mpd never does anything.

    My theory is that the funky network set up of an EC2 instance, in that it
    doesn't really "have" an external IP address, but rather a 172.xx EC2-internal
    one.

    Has anybody successfully set up mpd in any capacity on EC2?

    Cheers

    • R. Tyler Croy

     Code: <https://github.com/rtyler>
    

    Chatter: https://twitter.com/agentdero

    % gpg --keyserver keys.gnupg.net --recv-key 3F51E16F

     
  • Dmitry S. Lukhtionov

    Put you mpd.conf, mpd.log with enabled ipcp logging and output of netstat -nr
    I think, this is a MTU or routing problem.

     

Log in to post a comment.

MongoDB Logo MongoDB