F
F
frankiedsf2015-09-22 14:27:06
openvpn
frankiedsf, 2015-09-22 14:27:06

How to create subnets in Openvpn?

Good afternoon.
I'm sorry for the idiotic question, but how?
The office has an Openvpn server on CentOS with tunnel address 10.8.0.1 and local 192.168.1.58
There are clients whose ip is set using client-config-dir. Some of them are in the office, some are on the Internet.
Task: to separate clients by subnets 10.8.0.0(office), 10.8.1.0(clients), 10.8.2.0(clients)... I am attaching
the server config:
b7873978548b441fa156570a79a2b387.PNG
Also ccd-files of clients (all are identical, except for addresses):
cc6af91877b4433999b1226246b15dd2.PNG
Thank you in advance.
PS New to UNIX system administration.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
eCat3, 2015-10-01
@frankiedsf

For me, the solution was to run multiple copies of openvpn, which was helped by this question on the archlinux forum.You can run multiple clients and servers on the same machine at once.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question