This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is there a definitive SIMPLE guide to setting up a VPN

I've set up an Astaro on a refurbished PC and it works but I can't seem to get any VPN set up such that I can connect to it passing ALL TRAFFIC through the tunnel and then get back out to the Internet.

I've managed to get PPTP to connect from my Mac and see internal machines however onward routing to the Internet has eluded me. I also tried L2TP with iPsec but that didn't seem to work though I may have given up to early.

I've followed every guide I could find here on setting NAT rules, Packet filter rules and what have you but just haven't succeeded yet.


Background:

I downloaded a copy of Firesheep the other day and, while I knew that kind of thing was possible, seeing it for myself was quite shocking. I will NEVER be using another coffee shop open wifi again.


This thread was automatically locked due to age.
  • That broke your setup, sorry about that! =)

    You can reset your L2TP settings by running this in a root shell:

    obj=$(cc get remote_access l2tp|grep -o REF.[^\"]*); cc -ack all del_object $obj 2>/dev/null && cc set remote_access l2tp ''


    I just did this and got back the answer "del_object returned 1". The L2TP config screen has also now been cleared. I will enable it later as I don't want things to break right now.

    Thank you! :-) Because, and I'm being completely honest, I think myself and the infinite number of monkeys I've got with me here would be working for quite some time to have come up with that line. I'd say it looks random enough to use as a pass phrase for Truecrypt.

    And I have, in the meantime, figured out the step I had missing before to get Web working through the VPN:

    [SIZE="4"]DNS!!!!![/SIZE]

    Not only does one need a packet filter rule for "Web Surfing" but also for DNS.
    I just cloned the "Added by Installation wizard" DNS rule and changed the source from "Internal (Network)" to "VPN Pool (PPTP)" and bingo... everything started working.
  • I just did this and got back the answer "del_object returned 1". The L2TP config screen has also now been cleared.


    That's the expected outcome of all this. So, you're fine.


    Thank you! :-) Because, and I'm being completely honest, I think myself and the infinite number of monkeys I've got with me here would be working for quite some time to have come up with that line. I'd say it looks random enough to use as a pass phrase for Truecrypt.


    Hehe, it requires special training in a ninja monkey hideout to master commands that look that random and still do something meaningful. So, don't even think about slapping your monkeys with a trout or something. They can't help it. =)


    And I have, in the meantime, figured out the step I had missing before to get Web working through the VPN:

    [SIZE="4"]DNS!!!!![/SIZE]

    Not only does one need a packet filter rule for "Web Surfing" but also for DNS.
    I just cloned the "Added by Installation wizard" DNS rule and changed the source from "Internal (Network)" to "VPN Pool (PPTP)" and bingo... everything started working.


    Glad you got it running.