N
N
niknik112017-01-14 22:31:40
linux
niknik11, 2017-01-14 22:31:40

How to set up VPN and forward virtual machines because of NAT?

There is a home server (Debian) behind NAT, several virtual machines are spinning on it.
There is a VPS for Linux and your own domain.
You need to get:
The home server and virtual machines are available at virt1.mydomain.ru, virt2.mydomain.ru, etc from the home network or when connected to a VPN on a VPS.
How to implement it correctly?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Кирилл, 2017-01-14
@niknik11

Странная конечно задумка) Я бы на VPS поднял VPN и nginx, который бы роутил запросы на виртуалки. Сети у вас скорее всего разные, так что еще надо будет на VPS и домашнем компе статичные роуты прописать.

A
Alexey Belov, 2017-01-15
@KvakaMen

Raise VPN and connect your servers to it and put together VPN and VPS
Through the tunnel it will work with a bang.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question