You are not logged in.

#1 2012-11-21 16:22:51

odp
Member
Registered: 2012-04-26
Posts: 136

[SOLVED]vpn connection issues

Hi all,

I'm trying to establish a vpn between home and work using the pptpclient.

I have followed the instructions found in the wiki and according to the debug output I am connected.

but then I get this message

Cannot determine ethernet address for proxy ARP
local  IP address 10.242.1.2
remote IP address 10.242.1.1

When I do an ip addr, ppp0 is bound to ip 10.242.1.2 and I can ping 10.242.1.1

I did the routing according to the guide so, ip route add default dev ppp0

and then that should be it.

But, 10.242.1.0 is not the subnet of my work(192.168.254.0) and so I don't have access to any of the servers.

Second, when I try to terminate the connection poff <tunnel-name> I get this message: /usr/bin/poff: I could not find a pppd process for provider.

So, how do I connect properly?
How do I utilize the connection correctly, lets say connect with rdp to 192.168.254.140?
How do I terminate the connection?

Last edited by odp (2012-12-02 20:26:13)

Offline

#2 2012-11-22 02:08:31

odp
Member
Registered: 2012-04-26
Posts: 136

Re: [SOLVED]vpn connection issues

I found out that 10.242.1.1 and 10.242.1.2 were some kind of loop back to my loopback interface so while I established a connection it was to my own machine.

So what have I done wrong? I have followed the guide

Offline

#3 2012-11-22 02:17:48

odp
Member
Registered: 2012-04-26
Posts: 136

Re: [SOLVED]vpn connection issues

this is my peers file

pty "pptp <SERVER FQDN> --nolaunchpppd"
name <MY USERNAME ON THE REMOTE SYSTEM>
remotename PPTP
require-mppe-128
file /etc/ppp/options.pptp
ipparam <ALIAS FOR THE CONNECTION>


Here is my chap-secrets file

# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
<USERNAME ON REMOTE SYSTEM>  PPTP <MY PASSWORD ON REMOTE SYSTEM> *

Last edited by odp (2012-11-22 02:18:20)

Offline

#4 2012-11-22 02:54:17

odp
Member
Registered: 2012-04-26
Posts: 136

Re: [SOLVED]vpn connection issues

this is well frustrating, even if I change the <SERVER FQDN> to the remote ip in the peers file and the * in the chap-secrets file to the remote ip. It does the same. Loops back to my local machine.

I read some where that arp can prove a problem since the tunnel interface does not have a MAC address so I uncommented the arp feature in the options file. Same result

Offline

#5 2012-12-02 20:25:46

odp
Member
Registered: 2012-04-26
Posts: 136

Re: [SOLVED]vpn connection issues

It was an error in the setup in the server end and a sys admin in denial. problem solved

Offline

Board footer

Powered by FluxBB