Page 1 of 1

redirect gateway not working

Posted: Tue Feb 21, 2023 8:54 am
by maumau222
Hi,

i am using OPENVPN on different devices. On Android everything is working fine. It is a openvpn connection to my firewall.

In Linux Fedora i do have some problems. I can connect via terminal (sudo openvpn --config *.ovpn), it does connect.

But i am still using the same IP adress, not everthing is tunneld, although redirect gateway is on.

Code: Select all

#OpenVPN Client conf
tls-client
client
nobind
dev tun
proto udp
tun-mtu 1400
redirect-gateway def1
remote **adress**.de 443
cert '/home/user.pem'
key '/home/keys.pem'
ca '/home/ca.pem'
cipher AES-256-GCM
auth SHA512
tls-auth ta.key
verb 3
remote-cert-tls server
verify-x509-name **adress**.de name
mssfix 0
auth-nocache
auth-token-user USER
auth-token TOTP
auth-retry interact


Do you know why?

Would be happy to get some help. Thanks

Re: redirect gateway not working

Posted: Sun Apr 02, 2023 8:58 am
by never-stop-learning
Hey man, do you use the same profile for Android and Linux Fedora, or are both devices using different profiles (OVPN)?
If both using different profiles, check on the OpenVPN server you are connecting to If the configuration is meant to be set like that.

What is the VPN IP Address getting by your Android and Linux Fedora?