LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Vpn (http://www.linuxquestions.org/questions/linux-newbie-8/vpn-609436/)

Rjfreitas 12-27-2007 12:42 PM

Vpn
 
hi

Wanted to know if there is a program to make vpn without being the pptpclient .But that run in console mode

vpn are with protocol pptp

I wanted to create a shell script to perform automatic vpn but with the pptpclient don't work well.

the script is :
########################################
echo "make VPN"
/usr/bin/pptpconfig -q namevpn start




echo "check ping"
ping 192.168.30.1 -c 5


/usr/bin/pptpconfig -q namevpn stop
#######################################


There is another program or am I doing something wrong

I need to work in console mode don't graph

Michael_S 12-27-2007 12:55 PM

There are some decent instructions out there for this.
Hopefully one of these helps:

http://kryptoz.wordpress.com/2007/08...configuration/

http://slackworld.berlios.de/2007/Linux2MS-VPN.html

http://gentoo-wiki.com/HOWTO_PPTP_VPN_client

[EDIT] More generally, the common command to launch this once it's installed is 'pon'. So if those links don't help, do more Google searches on Linux + VPN + pon + (whatever else you want).

Good luck.

Rjfreitas 12-28-2007 01:04 PM

don't have Pon
 
in my Centos 5 i have install pptpconfig but don't have pon

pon is a program our a command ?

Michael_S 12-28-2007 02:32 PM

pon is part of the pptp-client package, which I believe is available for CentOS. You should be able to find it - or download and compile from source, if necessary.


All times are GMT -5. The time now is 05:10 AM.