A
A
Alexander2020-04-23 13:39:25
openvpn
Alexander, 2020-04-23 13:39:25

How to access a corp network from a PC through a vpn client installed on a vpn server?

What we have:
1) VPS with ubuntu 16, OpenVpn is raised there, everything works, all traffic when connected goes through vpn.
2) A VPN client is installed on the server that accesses the corp network from the server itself, it also works
3) Some knowledge of networks in the skull :)

What you need:
Somehow miraculously, with the help of magic and someone's mother, do tunnel in such a way that I would connect to OpenVpn from a PC, have access to the corp network.
I do not ask for a simple solution if it is not there) What are the MB manuals?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drno, 2020-04-23
@Drno

So allow the exchange of traffic in vpn server, between clients.
Well, or configure routing on a vpn server.
For example, on certain ports.
This is done in openvpn by routes that fit into the client's config.
The logic is this
The route is added to the config, like the network 192.168.10.0/24 (working for example) look through such and such a gateway (in this example, the gateway is the vpn address of the server, internal)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question