OpenVPN tunnel and routing


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
23 views
A correctly configured vpn tunnel between windows-client (10.9.8.2) and a remote server on debian (10.9.8.1).
Configured according to this manual: wiki.debian.org/HowTo/openvpn
How to configure routing/anything else to access the Internet from the client through the tunnel, and not through its own connection to the Internet?

Tried "route add 0.0.0.0 MASK 0.0.0.0 10.9.8.1" — did not help. Perhaps you need something to configure on the server?
by | 23 views

3 Answers

0 like 0 dislike
Yes, to configure the server NAT, for example, using iptables.
by
0 like 0 dislike
push "redirect-gateway"
by
0 like 0 dislike
Here's my article on this subject, it may seem useful
\rwww.odmin4eg.ru/2010/ubuntu-openvpn-server-nastrojka-soedinenie-filialov-set/
by

Related questions

0 like 0 dislike
3 answers
asked May 12, 2019 by freezl
0 like 0 dislike
2 answers
asked Mar 28, 2019 by juffinhalli
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
26,919 users