Community discussions

MikroTik App
 
paperakis
just joined
Topic Author
Posts: 13
Joined: Mon Jun 26, 2017 10:11 pm

OpenVPN Profile

Sat Sep 16, 2017 9:32 pm

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?
 
User avatar
az1984
newbie
Posts: 28
Joined: Thu Sep 14, 2017 3:58 pm
Location: Germany

Re: OpenVPN Profile  [SOLVED]

Mon Sep 18, 2017 8:02 am

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.
 
paperakis
just joined
Topic Author
Posts: 13
Joined: Mon Jun 26, 2017 10:11 pm

Re: OpenVPN Profile

Mon Sep 18, 2017 7:14 pm

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!
 
paperakis
just joined
Topic Author
Posts: 13
Joined: Mon Jun 26, 2017 10:11 pm

Re: OpenVPN Profile

Fri Dec 01, 2017 8:42 pm

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.
Do you know how to add routes on the clients vpn config?