OpenVPN Profile

Hello Sirs,

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

cipher AES-256-CBC
auth-user-pass auth.cfg
auth SHA1

auth-nocache
redirect-gateway def1

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?

Hi,

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.

Thanks mate!

Do you know how to add routes on the clients vpn config?