Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Unix (http://www.go4expert.com/forums/unix-forum/)
-   -   VPN problem (http://www.go4expert.com/forums/vpn-problem-t20129/)

tom.leconye 18Nov2009 11:54

VPN problem
 
I tried to create a linux vpn server with following commands that a XP client able use it as a VPN,
but in the end I encountered with “error 619”,
I don’t know how to solve it,
Anybody help me?

My system details:
VPS – fedora 10 – SSH root
wget ******downloads.sourceforge.net/project/poptop/pptpd/pptpd-1.3.0/pptpd-1.3.0-0.i386.rpm?use_mirror=garr yum install ppprpm -ivh pptpd-1.3.0-0.i386.rpmvi /etc/pptpd.confadd following :
localip 192.168.1..1
remoteip 192.168.1.234-238,192.168.1.245vi /etc/ppp/options.pptpdname pptpd
refuse-pap
refuse-chaprefuse-mschaprequirw-mschap-v2require-mppe-128ms-dns 192.168..0.1/etc/init.d/pptpd restartchkconfig pptpd on cd /etc/ppplsvi chap-secrets
add following :username pptpd password *echo 1 > /proc/sys/net/ipv4/ip_forward(when I use this command:
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth0 -j MASQUERADE I encounter this error :
iptables: No chain/target/match by that nameso I use the next command without any error responceiptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 1.2.3.4iptables-saveAt this time when I want to connect via a XP VPN connection, I receive error 619Can anybody help me?


All times are GMT +5.5. The time now is 20:40.