S
S
Sergey Null2017-02-10 21:18:55
Domain Name System
Sergey Null, 2017-02-10 21:18:55

How to forward all ports from VirtualBox to a subdomain?

There is a server under Windows, on it is a virtual machine with debian.
Is it possible to somehow redirect all connections to a subdomain like server1.site.ru
Here I tried to forward ports, but it doesn’t work to enter the lines there.
2f6d81dac0ad4d28aeb23ce9302a2855.png
You need to forward ports in the range 1-35000, so that the virtulka responds only to server1.site.ru
and Windows responds to site.ru

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem @Jump, 2017-02-11
@MaDestro

Is it possible to somehow redirect all connections to a subdomain like server1.site.ru
Of course, you just need to set up port forwarding.
Here I tried to forward ports, but it doesn’t work to enter the lines there.
Of course, because the IP address consists of numbers.
You need to forward ports in the range 1-35000, so that the virtulka responds only to server1.site.ru
and Windows responds to site.ru
Nobody responds to anything. A host can be accessed either by IP address or by a name that resolves to an IP address. Ports here are generally not important in any way, and do not matter.

J
Janus74, 2017-02-10
@Janus74

Make a network bridge in the network settings of the virtual machine. And you won't need to do any forwarding.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question