Shell script, one input parameter, the new gateway. Then one command sets up all the internal subnets.

On 11/11/2010 1:20 PM, Cameron Crum wrote:
On Windows I do not add routes. It seems to handle it for me. I'll try adding the routes on linux and see what happens. The main problem with that is I never know exactly which private subnets I'll need. I guess I can add routes for al the private ranges, but that is kind of a hassle.

Regards,

Cameron

On Thu, Nov 11, 2010 at 12:12 PM, David E. Smith <[email protected] <mailto:[email protected]>> wrote:



    On Thu, Nov 11, 2010 at 12:00, Cameron Crum <[email protected]
    <mailto:[email protected]>> wrote:

        I disable the option in my windows pptp sessions, and yes I do
        NOT want to use the remote end as the gateway. It is for a
        particular purpose. How do I configure linux to update the
        routes? Is that something I need to specify in the ppp settings?


    Are you then setting a few specific routes (so that only your
    network is routed through the PPTP connection)? You'd probably
    just need to, after you're connected, add a few routes manually
    (i.e. something like 'route add -net 10.20.30.0/24
    <http://10.20.30.0/24> gw your.ppp.peer.ip')

    You'll probably want to automate that with a shell script or
    similar. I think Fedora actually has a little GUI you can use, to
    automatically create routes after setting up a PPTP session and
    drop them when you disconnect, but I haven't had to do this in
    quite a while; I apologize for the lack of specifics.

    David Smith
    MVN.net




    
--------------------------------------------------------------------------------
    WISPA Wants You! Join today!
    http://signup.wispa.org/
    
--------------------------------------------------------------------------------

    WISPA Wireless List: [email protected] <mailto:[email protected]>

    Subscribe/Unsubscribe:
    http://lists.wispa.org/mailman/listinfo/wireless

    Archives: http://lists.wispa.org/pipermail/wireless/





--------------------------------------------------------------------------------
WISPA Wants You! Join today!
http://signup.wispa.org/
--------------------------------------------------------------------------------

WISPA Wireless List: [email protected]

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/

--
Scott Reed
Sr. Systems Engineer
GAB Midwest
1-800-363-1544 x2241
1-260-827-2241
Cell: 260-273-7239


--------------------------------------------------------------------------------
WISPA Wants You! Join today!
http://signup.wispa.org/
--------------------------------------------------------------------------------
 
WISPA Wireless List: [email protected]

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/

Reply via email to