« Installing maemo sdk and scratchbox on Debian Sid amd64

    Setting up VPN with default gateway from ISP on a Linux router

    2008-09-10

    Permalink 02:01:32, by phaoost Email , 105 words   English (EU)
    Categories: notes

    Setting up VPN with default gateway from ISP on a Linux router

    This short article describes how to set up PPTP or OpenVPN connection and leave default gateway to point to ISP on a Linux router while having incoming connectivity from a VPN.

    1. Download router-script.sh. Edit DEV_GW and DEV_TUN to point to proper devices (see route -n output to determine which devices are used). DEV_GW is a device which connected with your ISP and TUN_GW - VPN device (usually ppp0 for PPTP or tun0 for OpenVPN)

    2. If you are using OpenVPN, comment out 'redirect-gateway' keyword in configuration file. Establish a VPN connection on the router.

    3. Run router-script.sh after VPN connection established.

    Tags: dd-wrt, vpn

    Trackback address for this post

    This is a captcha-picture. It is used to prevent mass-access by robots.
    Please enter the characters from the image above. (case insensitive)

    No feedback yet

    Leave a comment


    Your email address will not be revealed on this site.

    Your URL will be displayed.
    (Line breaks become <br />)
    (Name, email & website)
    (Allow users to contact you through a message form (your email will not be revealed.)
    This is a captcha-picture. It is used to prevent mass-access by robots.
    Please enter the characters from the image above. (case insensitive)

    You can just use your OpenID to provide your name, e-mail and url.

    September 2010
    Mon Tue Wed Thu Fri Sat Sun
     << <   > >>
        1 2 3 4 5
    6 7 8 9 10 11 12
    13 14 15 16 17 18 19
    20 21 22 23 24 25 26
    27 28 29 30      

    Search

    Categories

    XML Feeds

    powered by free blog software