pptp-command tunnel configuration
Trying to connect to my Windows 2000 VPN server that sits behind an IP tables firewall (redhat 7.x). I am using pptp client, with mppe. I always time out. Pretty sure I've got the Chap secrets configured right, but I think, I'm configuring the tunnel wrong. I'm on a lan at home with a dsl connection. The given instructions are vague to me (see below)
///////////////////////////////////////////////////////////////////////////////////////////////// (is an example, not my settings) Add a NEW PPTP Tunnel. 1.) Other Which configuration would you like to use?: 1 Tunnel Name: FIUSCS Server IP: vpn.cs.fiu.edu What route(s) would you like to add when the tunnel comes up? This is usually a route to your internal network behind the PPTP server. You can use TUNNEL_DEV and DEF_GW as in /etc/pptp.d/ config file TUNNEL_DEV is replaced by the device of the tunnel interface. DEF_GW is replaced by the existing default gateway. The syntax to use is the same as the route(8) command. Enter a blank line to stop. route: add -host vpn.cs.fiu.edu gw DEF_GW NOTE: replace DEF_GW above with the ip address of your local gateway route: add -net 131.94.0.0 netmask 255.255.0.0 ppp0 route: Local Name and Remote Name should match a configured CHAP or PAP secret. Local Name is probably your NT domain\username. NOTE: Any backslashes (\) must be doubled (\\). //////////////////////////////////////////////////////////////////////////////////////////////////// I think I'm screwing up when I do the (route: add ) commands when configuring the tunnel. Have no idea what a route(8) command syntax is supposed to look like. I know what the default gateway of my local lan is as well as the gw to the vpn. What exactly do I need to put in the route: add -host and route: add - net lines? I'm assuming that instead of ppp0 I should use eth0, but other than that, I'm clueless. I am completely new to Linux, been a point and click weenie for a long time now. It is so easy to connect to my VPN server using windows, why am I having so much trouble using linux? A good gui for pptp-command would probably help, but can't find one. Thanks! |
Are you able to access you pptp server with a windows machine ?
If not it might be your fw, 1723/tcp and protocol gre should be opened If yes, i don't think it's a routing problem cause pptp should add you're machine an new virutal ip @. Look at your logs anyway. Ciao |
All times are GMT -5. The time now is 12:13 PM. |