I can't browse webs (the connection is estabilished between client - android smartphone,
and server. When I change compression to LZO, everything is fine. In community Track they said snappy is supported
(
https://community.openvpn.net/openvpn/attachment/ticket/271/0002-Added-support-for-the-Snappy-compression-algorithm.patch). Hmm maybe apk not ?
If you have any ideas please answer as fast as you can 🙂 I appreciate it 🙂
My topology: phone -> Internet <- Lan (with openvpn server)
Using this topology I'd like to change phone IP (3g) to external lan ip.
Here are my configs:
Server:
local 192.168.1.3
port 1194
#proto udp
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
dh /etc/openvpn/easy-rsa/keys/dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
tls-auth /etc/openvpn/easy-rsa/keys/ta.key 0
cipher AES-256-CBC
#comp-lzo
#compress snappy
max-clients 10
#user nobody
#group nobody
tun-mtu 1500
persist-key
persist-tun
status /var/log/openopn_status.log
verb 3
push "route 192.168.1.0 255.255.255.0"
#push "dhcp-option DNS 10.8.0.1"
push "dhcp-option DNS 8.8.8.8"
push "redirect-gateway local def1"
push "compress snappy"
Phone:
client
dev tun
#proto udp
proto tcp
remote external_lan_ip_adress 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert ***.crt
key ***.key
tls-auth ta.key 1
ns-cert-type server
cipher AES-256-CBC
#comp-lzo yes
compress
#compress snappy
verb 3
mute 20