O
O
Oleg2016-06-27 12:16:49
openvpn
Oleg, 2016-06-27 12:16:49

Why might OpenVPn not work over mobile network?

Tell me, please, what could be the problem. There is an OpenVPN server on Debian 8.3 with the config:

port 12345
proto udp
dev tun
ca			ca.crt
cert			server.crt
crl-verify		crl.pem
key			server.key
dh			dh.pem
tls-auth		ta.key 0

client-config-dir ccd
ifconfig-pool-persist 	ipp.txt

server 			1.2.3.0 255.255.255.0
route 			1.2.3.0 255.255.255.0

push 			"dhcp-option DNS 192.168.3.1"
push 			"dhcp-option DNS 8.8.8.8"
push 			"route 192.168.3.0 255.255.255.0"

comp-lzo

user			nobody
group			nogroup
persist-key
persist-tun
status			openvpn-status.log
log			openvpn.log
verb			3
mute			20

Server behind nat. Port forwarded in firewall.
I connect from an android smartphone using OpenVPN Client. If the OpenVPN client establishes a connection via Wifi, there are no problems, but if you try to connect via 3G, then the connection is established, but some applications (in particular CSipSimple) swear "The selected network route is not available with your settings."
If the problem is in the application settings, then I will try to poke around.
In general, is the configuration for openvpn correct? Or something needs to be changed?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2016-06-27
@karabanov

Change proto udp to proto tcp

A
ashum, 2017-08-09
@ashum

In the default settings of CSipSimple, it is allowed to work only via WiFi. It is necessary to allow work through 3G and other cellular networks separately for incoming and outgoing calls.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question