pptpd VPN setup problem

Discussion in 'Installation/Configuration' started by tom.leconye, Nov 22, 2009.

  1. tom.leconye

    tom.leconye New Member

    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 http://downloads.sourceforge.net/pro...se_mirror=garr

    yum install ppp

    rpm -ivh pptpd-1.3.0-0.i386.rpm

    vi /etc/pptpd.conf
    add following :
    localip 192.168.1..1
    remoteip 192.168.1.234-238,192.168.1.245

    vi /etc/ppp/options.pptpd
    name pptpd


    refuse-pap
    refuse-chap
    refuse-mschap
    requirw-mschap-v2
    require-mppe-128

    ms-dns 192.168..0.1


    /etc/init.d/pptpd restart

    chkconfig pptpd on

    cd /etc/ppp

    ls

    vi 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 name
    so I use the next command without any error responce
    iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 1.2.3.4

    iptables-save

    At this time when I want to connect via a XP VPN connection, I receive error 619
    Can anybody help me?
     

Share This Page