You are not logged in.

#1 2012-07-27 19:40:50

Giroscopic
Member
Registered: 2012-07-26
Posts: 10

Trouble with PPTP conections

Hello, im having a bit of a problem with my vpn conections. I am using a new arch install, and i got all the packages.

I followed this wiki info> https://wiki.archlinux.org/index.php/Mi … pptpclient

Because this is a work vpn and im trying to set it up to work from home.
My config file in /etc/ppp/peers/

pty "pptp XXXX.XXXXXXX.XXX\:XXXX --nolaunchpppd"
name XXXX\\XXXXXX
remotename PPTP
require-mppe-128
file /etc/ppp/options.pptp
ipparam name_of_file

i run the recomended debug:
$ sudo pon name_of_file debbug dump logfd 2 nodetach
and results in the output.

pppd options in effect:
debug		# (from command line)
nodetach		# (from command line)
logfd 2		# (from command line)
dump		# (from command line)
noauth		# (from /etc/ppp/options.pptp)
refuse-pap		# (from /etc/ppp/options.pptp)
refuse-chap		# (from /etc/ppp/options.pptp)
refuse-mschap		# (from /etc/ppp/options.pptp)
refuse-eap		# (from /etc/ppp/options.pptp)
name XXXX\\XXXXXX		# (from /etc/ppp/peers/name_of_file)
remotename PPTP		# (from /etc/ppp/peers/name_of_file)
		# (from /etc/ppp/options.pptp)
pty pptp XXXX.XXXXX.com:XXXX --nolaunchpppd		# (from /etc/ppp/peers/name_of_file)
crtscts		# (from /etc/ppp/options)
		# (from /etc/ppp/options)
asyncmap 0		# (from /etc/ppp/options)
lcp-echo-failure 4		# (from /etc/ppp/options)
lcp-echo-interval 30		# (from /etc/ppp/options)
hide-password		# (from /etc/ppp/options)
ipparam name_of_file		# (from /etc/ppp/peers/name_of_file)
proxyarp		# (from /etc/ppp/options)
nobsdcomp		# (from /etc/ppp/options.pptp)
nodeflate		# (from /etc/ppp/options.pptp)
require-mppe-128		# (from /etc/ppp/peers/name_of_file)
noipx		# (from /etc/ppp/options)
using channel 6
Using interface ppp0
Connect: ppp0 <--> /dev/pts/3
anon fatal[get_ip_address:pptp.c:430]: gethostbyname 'XXXX.XXXXX.com:XXXX': HOST NOT FOUND
Modem hangup
Connection terminated.
Script pptp XXXX.xxxxx.com:xxxx --nolaunchpppd finished (pid 1497), status = 0x1

i switches the server dns and username \passwords with XXX for security reasons.
The main problem i think i encounter is this: Host not found error. I Have the dns address with the port with it "dom.example.com\:4443" in the configuration file because its needed to connect. The VPN works because i can connect from the MS Windows tool.

What am i missing? Is the port specified in another place rather than the configuration file?
Thank you all for you help.
Giro


Lenovo ThinkPad X230. i5-3360m. Memory: 8GB 1666mhz. Crucial m8 SSD 128GB(root/home/boot) and 16GB mSATA (Swap/var). Running ArchLinux@KDE

Offline

Board footer

Powered by FluxBB