LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   VPN issue (http://www.linuxquestions.org/questions/slackware-14/vpn-issue-4175466802/)

aihaike 06-20-2013 08:09 PM

VPN issue
 
Dear all,

My using Slackware 14.0 and I'm having an issue creating a vpn client.

I followed the instruction of section 3.2 from this page : https://www.linuxquestions.org/linux...ackware_How_to

My problem is ppp0 is not used.

Here is what /var/log/messages contains:
Code:

pppd 2.4.5 started by root, uid 0
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 22528).
CHAP authentication succeeded
MPPE 128-bit stateless compression enabled
local  IP address local-ip
remote IP address remote-ip
anon log[logecho:pptp_ctrl.c:677]: Echo Reply received.
anon log[logecho:pptp_ctrl.c:677]: Echo Reply received.
anon log[logecho:pptp_ctrl.c:677]: Echo Reply received.
anon log[logecho:pptp_ctrl.c:677]: Echo Reply received.
anon log[logecho:pptp_ctrl.c:677]: Echo Reply received.
anon log[logecho:pptp_ctrl.c:677]: Echo Reply received.
anon log[logecho:pptp_ctrl.c:677]: Echo Reply received.
anon log[logecho:pptp_ctrl.c:677]: Echo Reply received.

the default destination shows by netstat -r is not the one shows by ifconfig ppp0.

I tried to use route as the following but did not work out:

Code:

/sbin/route add -host remote-ip dev ppp0
Can someone tell me what am I doing wrong?
Thanks,

Éric.

aihaike 06-20-2013 10:41 PM

For some obscure reason it gets working after starting a vpnc client ....


All times are GMT -5. The time now is 04:23 PM.