V
V
Valery Sotnikov2014-11-04 02:38:38
openvpn
Valery Sotnikov, 2014-11-04 02:38:38

How to give a subdomain completely to VPN clients?

Hello!
There is a VPN server that has a white permanent IP and domain (for example, 123.4.5.6 and abc.com). This machine is an OpenVPN server (10.10.0.1) and clients are connected to it.
You need to contact some OpenVPN clients from the Internet at client1.abc.com, but where and how to register it? Of course the subdomains (*.abc.com) point to the OpenVPN server.
I know you can set up an Nginx proxy server and tell it what to show on certain subdomains, but I need to pass not only certain ports (such as 80, etc.). It is necessary to forward the entire range of ports across subdomains to clients.
Thanks everyone, looking forward to your advice

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2014-11-04
@web_user

No way. For these purposes, you need a pool of white IP addresses + your own DNS.
If there are addresses, then this is a matter of technology - put a DNS server on the VPN, set these addresses as level 3 domains and route packets from these IPs inside the VPN network to a specific client.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question