Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-07-2008, 04:41 PM   #1
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 640

Rep: Reputation: 36
openvpn fails to connect to its server over a gprs modem ppp connection

hello everyone,
i am trying to connect the openvpn client of a laptop to the server
but i fail miserably and googling about it does not help..

first of let me state that the client is verified to work properly,
since i have been able to connect when connecting to the server
through a wireless connection, and the 56k internal modem of the
laptop... yet when i use as a modem, a sub connected GPRS modem from my mobile phone
it fails to connect....

the mobile phone provider (MSP) is offering web services through a
proxy server.... i use the necessary options in openvpn config

note also that using wvdial to connect works correctly and if manually add the proxy address and port to say firefox, i get to surf the web...

the connecting log appears as :

root@starlight:~# openvpn /etc/openvpn/client.conf
Wed May 7 23:12:08 2008 OpenVPN 2.1_rc7 i486-pc-linux-gnu [SSL]
[LZO2] [EPOLL] built on Feb 20 2008
Wed May 7 23:12:08 2008 LZO compression initialized
Wed May 7 23:12:08 2008 Control Channel MTU parms [ L:1544 D:140
EF:40 EB:0 ET:0 EL:0 ]
Wed May 7 23:12:08 2008 Data Channel MTU parms [ L:1544 D:1450 EF:44
EB:135 ET:0 EL:0 AF:3/1 ]
Wed May 7 23:12:08 2008 Local Options hash (VER=V4): '69109d17'
Wed May 7 23:12:08 2008 Expected Remote Options hash (VER=V4): 'c0103fa8'
Wed May 7 23:12:08 2008 NOTE: UID/GID downgrade will be delayed
because of --client, --pull, or --up-delay
Wed May 7 23:12:08 2008 Attempting to establish TCP connection with [nonblock]
Wed May 7 23:12:10 2008 TCP connection established with
Wed May 7 23:12:10 2008 Send to HTTP proxy: 'CONNECT HTTP/1.0'
Wed May 7 23:12:10 2008 Attempting Basic Proxy-Authorization
Wed May 7 23:12:17 2008 recv_line: TCP port read timeout expired:
Operation now in progress (errno=115)
Wed May 7 23:12:17 2008 TCP/UDP: Closing socket
Wed May 7 23:12:17 2008 SIGTERM[soft,init_instance] received, process exiting
the MSP's proxy is obviously the but what is this
' recv_line: TCP port read timeout expired: Operation now in progress

note that the MSP is very strict on the use of its internet services
and has blocked access to all ports but 53 (i presume), 80 and 443
(verified), i havent run a port scan though for other ports too. is it
possible it can 'sniff' openvpn traffic (which i transmit through port
TCP 443) and block it???

the server config file is

port 443
proto tcp
dev tun
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key # This file should be kept secret
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
ifconfig-pool-persist ipp.txt
keepalive 10 120
user nobody
group nobody
status /var/log/openvpn/openvpn-statusTCP.log
verb 3
mute 20
any ideas that might be slipping my mind and i could use to connect?
thank you in advance for your help...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 03:20 AM
problem with GPRS connection to outside world (ppp) kevinuu Linux - Wireless Networking 1 02-28-2007 02:43 AM
Trying to connect to Internet via GPRS always fails, why? onorua Linux - Networking 1 01-10-2007 09:35 PM
Help GPRS ppp Connection ibibiking Linux - Wireless Networking 3 04-10-2006 07:26 AM
I've got a OK ppp connection, but cannot connect anywhere! minike Slackware 21 04-15-2005 05:13 PM

All times are GMT -5. The time now is 02:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration