Помогите понять логику NAT Mode / Help to understand the logic of NAT Mode

3Dprinter.org.ua

New Member
Aug 30, 2015
2
0
1
Задача:
У сервера proxmox реальный Ipv4 адрес
1) Две виртуальные машины KVM (100, 101) должны получить реальные Ipv4 адрес от провайдера,
2) Три виртуальные машины KVM (102, 103, 104) должны выходить в интернет через NAT,


Первый вопрос простой. Необходимо настроить мост между vmbr0 и сетевым адресом виртуальной машины (KVM).


А вот как понять алгоритм работы "NAT Mode" ProxMox я не знаю.
Я выбираю в настройках виртуальной машины 102 "NAT Mode". Сразу после запуска виртуальная машина получает от DHCP сервера IP адрес 10.0.2.15. шлюз 10.0.2.2 и ДНС сервер 10.0.2.3


Ping с этой виртуальной машине за пределы сервера ProxMox не работает. Я могу пропинговать шлюз 10.0.2.2, но не могу пропинговать ДНС сервер 10.0.2.3. Но, при этом ДНС служба нормально работает.


У меня остается очень много вопросов. Где можно почитать про логику работы NAT Mode?
Где хранятся настройки DHCP? Как активировать проброс портов?


Могут ли одновременно на одном сервере работать виртуальные машины в режиме моста и в режиме NAT Mode?
-----------------------------------------------


Конечно, я могу отключить NAT Mode и настроить все вручную, но я хочу использовать штатные возможности Proxmox и конфигурировать проброс портов через веб интерфейс.


Заранее спасибо за помощь.

---------------------------------------------------------------------------------------------------------------------------------------------
The task:
The server proxmox real Ipv4 address
1) The two virtual machines KVM (100, 101) should get real Ipv4 address from the ISP,
2) The three virtual machines KVM (102, 103, 104) should go to the Internet via NAT,


The first question is easy. It is necessary to set up a bridge between vmbr0 and network address of the virtual machine (KVM).


But how to understand the algorithm of the "NAT Mode" ProxMox I do not know.
I choose in the settings of the virtual machine 102 "NAT Mode". Immediately after the launch of the virtual machine receives from the DHCP server, the IP address of 10.0.2.15. gateway and DNS server 10.0.2.2 10.0.2.3


Ping with this virtual machine outside the server ProxMox not working. I can ping the gateway 10.0.2.2, but I can not ping the DNS server is 10.0.2.3. But at the same DNS service it works fine.


I still have a lot of questions. Where can I read about the logic of the NAT Mode?
Where are setting DHCP? How to activate port forwarding?


Can the same time on a single server running virtual machines in bridge mode and mode NAT Mode?
-----------------------------------------------


Of course, I can disable NAT Mode and configure everything manually, but I want to use regular opportunities Proxmox and configure port forwarding via the Web interface.


Thank you in advance for your help.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!