redirect gateway not working

Need help configuring your VPN? Just post here and you'll get that help.

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.
Post Reply
maumau222
OpenVpn Newbie
Posts: 1
Joined: Tue Feb 21, 2023 8:48 am

redirect gateway not working

Post by maumau222 » Tue Feb 21, 2023 8:54 am

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

never-stop-learning
OpenVPN User
Posts: 43
Joined: Sat Oct 02, 2021 3:57 pm

Re: redirect gateway not working

Post by never-stop-learning » Sun Apr 02, 2023 8:58 am

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?

Post Reply