Hello,
i use Openvpn 2.3.3. and since upgrade from previous version want work the routing. I try on Desktop and on Android. Before work without problem.
server config:
# server activate
port 1194
proto udp
dev tun
tls-server
mode server
# certifications
ca myhost.com/ca.crt
cert myhost.com/vpn.myhost.com.crt
key myhost.com/vpn.myhost.com.key
dh myhost.com/dh2048.pem
tls-auth myhost.com/ta.key 0
# ip
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-config-dir ccd
connect-freq 1 sec
keepalive 10 120
comp-lzo yes
mssfix
# Other Stuff
user openvpn
group openvpn
persist-key
persist-tun
plugin /usr/lib/openvpn/openvpn-plugin-auth-pam.so login
#Logging
#log /var/log/vpn/openvpn.log
syslog
syslog ovpn
verb 3
client config:
# /etc/openvpn/myhost.com.conf
# client setting
client
dev tun
proto udp
remote myhost.com 1194
# certification
ca myhost.com/ca.crt
cert myhost.com/gentoomobile.crt
key myhost.com/gentoomobile.key
tls-auth myhost.com/ta.key 1
# other stuff
persist-key
persist-tun
ns-cert-type server
auth-user-pass
auth-nocache
comp-lzo yes
verb 3
firewall
# openvpn stuff
iptables -A INPUT -p udp --dport 1194 -j ACCEPT
iptables -A INPUT -i tun+ -j ACCEPT
iptables -A FORWARD -i tun+ -j ACCEPT
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
I try with networkmanager and with shell. But the routing want work.
Has someone an idea?
Greetings
Silvio