connection problem over GPRS

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
fslittlenew
OpenVpn Newbie
Posts: 2
Joined: Fri Feb 25, 2011 3:46 am

connection problem over GPRS

Post by fslittlenew » Fri Feb 25, 2011 4:05 am

Hello everyone. Thanks for your help in advance.
Here is my case:

Server: openwrt-embedded router, openwrt verstion: Backfire 10.03.1-rc4, openvpn server installed.
Client: Samsung cell phone I5700 running Android 2.2, installed openvpn-setting.

I use tap and tls-atuth mode, connection setup fine. Android connect the openvpn server over GRPS. Connection work fine once the established. But after 20-40 seconds, the server and client can not ping each other. Afte 1 min, android reconnect the openvpn server automately. Then reconnection come again and again, never go to a end.

Why this happen? Is it related to GPRS, as i did not test over wifi yet.

Here are logs of server:

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: connection problem over GPRS

Post by janjust » Fri Feb 25, 2011 10:44 am

are you using

Code: Select all

  redirect-gateway 
at all? If so , the *always* add the 'def1' parameter ; sometimes it is also useful to add an explicit route to the openvpn server prior to starting the VPN connection. GPRS connections are notoriously bad in defining a default gateway .

fslittlenew
OpenVpn Newbie
Posts: 2
Joined: Fri Feb 25, 2011 3:46 am

Re: connection problem over GPRS

Post by fslittlenew » Mon Feb 28, 2011 7:17 am

Thanks, janjust, it does help. connection become more stable with 'redirect-gateway'.

Post Reply