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:
connection problem over GPRS
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Fri Feb 25, 2011 3:46 am
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: connection problem over GPRS
are you using
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 .
Code: Select all
redirect-gateway
-
- OpenVpn Newbie
- Posts: 2
- Joined: Fri Feb 25, 2011 3:46 am
Re: connection problem over GPRS
Thanks, janjust, it does help. connection become more stable with 'redirect-gateway'.