[Haifux] Technion VPN

yakoub abaya yakoub.abaya at gmail.com
Fri Jan 4 17:44:45 MSK 2008


there are two layers , first the lan then vpn

verify your lan is healthy by running :" /etc/rc.d/rc.inet1 restart "
then run ifconfig and check the eth0 entry

to establish vpn i don't use pptp-command , i use pppd
create file  /etc/ppp/peers/tech-vpn , then run pppd call tech-vpn
this is an alternative for providing pppd parameters in command line
in tech-vpn put :
user USER_IN_PAP_FILE
pty "pptp TECH_VPN_SERVER --nolaunchpppd"
usepeerdns
file /etc/ppp/options
edit /etc/ppp/pap_secrets and write
USER_NAME TECH_VPN_SERVER PASSWORD

after running "pppd call tech_vpn"
use route command to replace your lan gateway
with vpn remote gateway

your lan gateway can be found using route before running pppd
or in /etc/dhcpc/dhcp**info

your vpn remote ip can be found using "ifconfig ppp0 " ouput

the route commands are :
route add -host TECH_VPN_SERVER gw DHCP_GATEWAY
route add default gw REMOTE_VPN_IP
route del default gw DHCP_GATEWAY
i am not sure the first route command is needed

On Jan 4, 2008 12:00 PM, <haifux-request at haifux.org> wrote:

> Send Haifux mailing list submissions to
>        haifux at haifux.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
> or, via email, send a message with subject or body 'help' to
>        haifux-request at haifux.org
>
> You can reach the person managing the list at
>        haifux-owner at haifux.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Haifux digest..."
>
>
> Today's Topics:
>
>   1. HOWTO Configure Technion VPN Connection (Yonit Nataf)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 3 Jan 2008 14:19:27 +0200
> From: "Yonit Nataf" <yonitn at gmail.com>
> Subject: [Haifux] HOWTO Configure Technion VPN Connection
> To: haifux at haifux.org
> Message-ID:
>        <a519a9bc0801030419w1f60e607v8193d44cba89fd14 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi All,
>
> I would like to dump my Windows install, which I use only to watch videos
> on
> 'video.technion.ac.il'.
>
> I can't find how to configure the VPN Client to connect. I am using Ubuntu
> 7.10 with GNOME and the network-manager-pptp.
>
> I get a "Connection Failure" message...
>
> Please Help!
>
> --
> Yonit Nataf
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://hamakor.org.il/pipermail/haifux/attachments/20080103/f5a05581/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Haifux mailing list
> Haifux at haifux.org
> http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
>
>
> End of Haifux Digest, Vol 5, Issue 3
> ************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://haifux.org/pipermail/haifux/attachments/20080104/8600ea78/attachment.html 


More information about the Haifux mailing list