Re: [WISPA] Linux PPP connections
On Thu, Nov 11, 2010 at 11:52, Cameron Crum cc...@wispmon.com wrote: I curious if any out there have established PPTP connections between a linux box and MT routers and been able to ping things on the other side. If I establish a connection with my Windows machine, all is nice. I get the ip and can start pinging, logging into, etc devices on the other end. In linux I can establish the tunnel, but can only ping my p-t-p ip on the other end. I'm not using the remote end as the gateway and don't want to. Anyone done this? Sounds like your Linux setup isn't updating routes correctly. What do you mean by not wanting to use the remote end as your gateway? That's exactly what Windows does by default, and that's almost certainly what you want, unless you're doing something very atypical. David Smith MVN.net WISPA Wants You! Join today! http://signup.wispa.org/ WISPA Wireless List: wireless@wispa.org Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/
Re: [WISPA] Linux PPP connections
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? Regards, Cameron On Thu, Nov 11, 2010 at 11:56 AM, David E. Smith d...@mvn.net wrote: On Thu, Nov 11, 2010 at 11:52, Cameron Crum cc...@wispmon.com wrote: I curious if any out there have established PPTP connections between a linux box and MT routers and been able to ping things on the other side. If I establish a connection with my Windows machine, all is nice. I get the ip and can start pinging, logging into, etc devices on the other end. In linux I can establish the tunnel, but can only ping my p-t-p ip on the other end. I'm not using the remote end as the gateway and don't want to. Anyone done this? Sounds like your Linux setup isn't updating routes correctly. What do you mean by not wanting to use the remote end as your gateway? That's exactly what Windows does by default, and that's almost certainly what you want, unless you're doing something very atypical. David Smith MVN.net WISPA Wants You! Join today! http://signup.wispa.org/ WISPA Wireless List: wireless@wispa.org 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: wireless@wispa.org Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/
Re: [WISPA] Linux PPP connections
On Thu, Nov 11, 2010 at 12:00, Cameron Crum cc...@wispmon.com 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 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: wireless@wispa.org Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/
Re: [WISPA] Linux PPP connections
I do this all the time. I PPtP to my core router then point 10/8 up the PPtP, and can then access my entire network. How you do that is up to you. Network manager should be able to, your ppp script should be able, I do it by hand cause I never know just what interface I am doing the PPtP from. route add -net 10.0.0.0 netmask 255.0.0.0 gw remote side ip or ip route add 10.0.0.0/8 via remote side ip On Thu, Nov 11, 2010 at 10:00 AM, Cameron Crum cc...@wispmon.com 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? Regards, Cameron On Thu, Nov 11, 2010 at 11:56 AM, David E. Smith d...@mvn.net wrote: On Thu, Nov 11, 2010 at 11:52, Cameron Crum cc...@wispmon.com wrote: I curious if any out there have established PPTP connections between a linux box and MT routers and been able to ping things on the other side. If I establish a connection with my Windows machine, all is nice. I get the ip and can start pinging, logging into, etc devices on the other end. In linux I can establish the tunnel, but can only ping my p-t-p ip on the other end. I'm not using the remote end as the gateway and don't want to. Anyone done this? Sounds like your Linux setup isn't updating routes correctly. What do you mean by not wanting to use the remote end as your gateway? That's exactly what Windows does by default, and that's almost certainly what you want, unless you're doing something very atypical. David Smith MVN.net WISPA Wants You! Join today! http://signup.wispa.org/ WISPA Wireless List: wireless@wispa.org 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: wireless@wispa.org 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: wireless@wispa.org Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/
Re: [WISPA] Linux PPP connections
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 d...@mvn.net wrote: On Thu, Nov 11, 2010 at 12:00, Cameron Crum cc...@wispmon.com 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 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: wireless@wispa.org 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: wireless@wispa.org Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/
Re: [WISPA] Linux PPP connections
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 d...@mvn.net mailto:d...@mvn.net wrote: On Thu, Nov 11, 2010 at 12:00, Cameron Crum cc...@wispmon.com mailto:cc...@wispmon.com 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: wireless@wispa.org mailto:wireless@wispa.org 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: wireless@wispa.org 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: wireless@wispa.org Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/
Re: [WISPA] Linux PPP connections
On Thu, Nov 11, 2010 at 12:20, Cameron Crum cc...@wispmon.com 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. I think a Windows server (configured with the routes you need), talking to a Windows client, handles setting that up on its own. For Linux, it should be easy enough to create a shell script that creates the routes you need. Something like: #!/bin/bash route add 10.10.10.0/24 via $1 route add 10.20.30.0/24 via $1 ... and so on Then, once you're logged in, just run myroutes.sh 10.50.13.41. Depending on your PPTP client setup, you probably can even get this script to run automatically as part of setting up the session. You'll probably also want a similar script to run after you log out, with a bunch of 'route del' commands. David Smith MVN.net WISPA Wants You! Join today! http://signup.wispa.org/ WISPA Wireless List: wireless@wispa.org Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/
Re: [WISPA] Linux PPP connections
The only time that happens, is when windows use's the remote gateway as default gateway. my 2k, XP and 7 all need to have the routes manually added if I do not 'Use remote gateway' On Thu, Nov 11, 2010 at 10:20 AM, Cameron Crum cc...@wispmon.com 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 d...@mvn.net wrote: On Thu, Nov 11, 2010 at 12:00, Cameron Crum cc...@wispmon.com 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 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: wireless@wispa.org 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: wireless@wispa.org 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: wireless@wispa.org Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/
Re: [WISPA] Linux PPP connections
I've never added the routes on my Win2k3 server box and am creating and tearing down dozens of connections without the default gateway option every couple of minutes...but one at a time. Regards, Cameron On Thu, Nov 11, 2010 at 2:13 PM, Jeromie Reeves jree...@18-30chat.netwrote: The only time that happens, is when windows use's the remote gateway as default gateway. my 2k, XP and 7 all need to have the routes manually added if I do not 'Use remote gateway' On Thu, Nov 11, 2010 at 10:20 AM, Cameron Crum cc...@wispmon.com 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 d...@mvn.net wrote: On Thu, Nov 11, 2010 at 12:00, Cameron Crum cc...@wispmon.com 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 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: wireless@wispa.org 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: wireless@wispa.org 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: wireless@wispa.org 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: wireless@wispa.org Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/
Re: [WISPA] Linux PPP connections
I would love to see the output of 'route print' both with the pptp up and down. On Thu, Nov 11, 2010 at 12:17 PM, Cameron Crum cc...@wispmon.com wrote: I've never added the routes on my Win2k3 server box and am creating and tearing down dozens of connections without the default gateway option every couple of minutes...but one at a time. Regards, Cameron On Thu, Nov 11, 2010 at 2:13 PM, Jeromie Reeves jree...@18-30chat.net wrote: The only time that happens, is when windows use's the remote gateway as default gateway. my 2k, XP and 7 all need to have the routes manually added if I do not 'Use remote gateway' On Thu, Nov 11, 2010 at 10:20 AM, Cameron Crum cc...@wispmon.com 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 d...@mvn.net wrote: On Thu, Nov 11, 2010 at 12:00, Cameron Crum cc...@wispmon.com 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 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: wireless@wispa.org 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: wireless@wispa.org 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: wireless@wispa.org 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: wireless@wispa.org 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: wireless@wispa.org Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/