client
dev tun
proto tcp-client
remote
port 51194
nobind
persist-key #persist-tun
tls-client
remote-cert-tls server
ca cert_export_CA-ITN.crt
cert cert_export_.crt
key cert_export_.key
verb 4
mute 10
I use this commands for my openvpn profile. The problem is everything i do goes to the vpn gateway that i’m connected to and i dont want that. Any ideas?
just comment out or delete this line in your config:
redirect-gateway def1
It tells your client to send all the traffic via the VPN-Gateway. Depending on the IP-subnets your network an your clients are working, you have to add a route to your network into your ovpn-config.