LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   openvpn fails to connect to its server over a gprs modem ppp connection (http://www.linuxquestions.org/questions/linux-networking-3/openvpn-fails-to-connect-to-its-server-over-a-gprs-modem-ppp-connection-640616/)

nass 05-07-2008 03:41 PM

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
file...

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 :

Quote:

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
192.168.200.10:9401 [nonblock]
Wed May 7 23:12:10 2008 TCP connection established with 192.168.200.10:9401
Wed May 7 23:12:10 2008 Send to HTTP proxy: 'CONNECT
synthnassizer.no-ip.org:443 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
root@starlight:~#
the MSP's proxy is obviously the 192.168.200.10:9401.... but what is this
Quote:

' recv_line: TCP port read timeout expired: Operation now in progress
(errno=115)'
?????

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

Quote:

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
server 192.168.145.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
comp-lzo
user nobody
group nobody
persist-key
persist-tun
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...
nass


All times are GMT -5. The time now is 02:24 PM.