Z
Z
zhaar2019-11-18 14:32:59
openvpn
zhaar, 2019-11-18 14:32:59

How to configure OpenVPN to be used only for a specific address?

Question, is there a config file
client
dev tun
proto udp
remote <>
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth <>
cipher <>
ignore-unknown-option block-outside-dns
block-outside -dns
verb 3
pull-filter ignore "redirect-gateway" This will cause
all traffic to go through the remote server, which is unnecessary. I added the last line, having found a similar problem here, but it did not help.
So the question is:
1) What needs to be changed in the current config so that it does not redirect all traffic through the VPN
2) What else to register in the config so that it uses OVPN for a specific IP? Or then it will be necessary to configure routes through route?
OS Win7 SP1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2019-11-18
@ky0

Have you read the official manuals? There is just a case when not everything flies to vpn is default.
https://openvpn.net/community-resources/how-to/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question