there are two layers , first the lan then vpn<br><br>verify your lan is healthy by running :" /etc/rc.d/rc.inet1 restart "<br>then run ifconfig and check the eth0 entry <br><br>to establish vpn i don't use pptp-command , i use pppd
<br>create file /etc/ppp/peers/tech-vpn , then run pppd call tech-vpn<br>this is an alternative for providing pppd parameters in command line<br>in tech-vpn put :<br><div style="margin-left: 40px;">user USER_IN_PAP_FILE<br>
pty "pptp TECH_VPN_SERVER --nolaunchpppd"<br>usepeerdns<br>file /etc/ppp/options<br></div>edit /etc/ppp/pap_secrets and write<br><div style="margin-left: 40px;">USER_NAME TECH_VPN_SERVER PASSWORD<br></div><br>after running "pppd call tech_vpn"
<br>use route command to replace your lan gateway <br>with vpn remote gateway<br><br>your lan gateway can be found using route before running pppd<br>or in /etc/dhcpc/dhcp**info<br><br>your vpn remote ip can be found using "ifconfig ppp0 " ouput
<br><br>the route commands are : <br><div style="margin-left: 40px;">route add -host TECH_VPN_SERVER gw DHCP_GATEWAY<br></div><div style="margin-left: 40px;">route add default gw REMOTE_VPN_IP<br></div><div style="margin-left: 40px;">
route del default gw DHCP_GATEWAY<br></div>i am not sure the first route command is needed <br><br><div class="gmail_quote">On Jan 4, 2008 12:00 PM, <<a href="mailto:haifux-request@haifux.org">haifux-request@haifux.org
</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send Haifux mailing list submissions to<br> <a href="mailto:haifux@haifux.org">
haifux@haifux.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux" target="_blank">http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
</a><br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:haifux-request@haifux.org">haifux-request@haifux.org</a><br><br>You can reach the person managing the list at<br>
<a href="mailto:haifux-owner@haifux.org">haifux-owner@haifux.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Haifux digest..."<br><br><br>Today's Topics:
<br><br> 1. HOWTO Configure Technion VPN Connection (Yonit Nataf)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 3 Jan 2008 14:19:27 +0200<br>From: "Yonit Nataf" <
<a href="mailto:yonitn@gmail.com">yonitn@gmail.com</a>><br>Subject: [Haifux] HOWTO Configure Technion VPN Connection<br>To: <a href="mailto:haifux@haifux.org">haifux@haifux.org</a><br>Message-ID:<br> <<a href="mailto:a519a9bc0801030419w1f60e607v8193d44cba89fd14@mail.gmail.com">
a519a9bc0801030419w1f60e607v8193d44cba89fd14@mail.gmail.com</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi All,<br><br>I would like to dump my Windows install, which I use only to watch videos on
<br>'<a href="http://video.technion.ac.il" target="_blank">video.technion.ac.il</a>'.<br><br>I can't find how to configure the VPN Client to connect. I am using Ubuntu<br>7.10 with GNOME and the network-manager-pptp.
<br><br>I get a "Connection Failure" message...<br><br>Please Help!<br><br>--<br>Yonit Nataf<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://hamakor.org.il/pipermail/haifux/attachments/20080103/f5a05581/attachment.html" target="_blank">
http://hamakor.org.il/pipermail/haifux/attachments/20080103/f5a05581/attachment.html</a><br><br>------------------------------<br><br>_______________________________________________<br>Haifux mailing list<br><a href="mailto:Haifux@haifux.org">
Haifux@haifux.org</a><br><a href="http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux" target="_blank">http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux</a><br><br><br>End of Haifux Digest, Vol 5, Issue 3<br>************************************
<br></blockquote></div><br>