Installation DSM 7.1.1 on Proxmox and configuration of the NAT network, Hetzner server

esanuvea

New Member
Dec 27, 2022
9
0
1
Hello everyone.

Please help me to solve network problem.
ProxMox already has 2 virtual machines. 1st one has Debian installed with 2nd dedicated IP in vmbr0 and 2nd one has Windows installed on NAT (10.10.10.10) in vmbr1 (10.10.10.1) with port forwarding to main IP.

I install DSM 7.1.1 on the 3rd virtual machine on NAT (10.10.10.30) in vmbr1, but it doesn’t go online, nothing pings, except for NAT, let’s say 10.10.10.10 and 10.10.10.30.

DSM 7.1.1.jpg

Configuration of the interfaces
Code:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface lo inet6 loopback

auto enp0s31f6
iface enp0s31f6 inet manual

auto vmbr0
iface vmbr0 inet static
    address AA.BB.CCC.DDD/26
    gateway AA.BB.CCC.129
    bridge-ports enp0s31f6
    bridge-stp off
    bridge-fd 0
    up route add -net AA.BB.CCC.128 netmask 255.255.255.192 gw AA.BB.CCC.129 dev vmbr0
#    up ip route add AA.BB.CCC.EEE/32 dev vmbr0                 # AA.BB.CCC.EEE second IP Address

auto vmbr1
iface vmbr1 inet static
    address 10.10.10.1/24
    bridge-ports none
    bridge-stp off
    bridge-fd 0

    post-up   echo 1 > /proc/sys/net/ipv4/ip_forward
    post-up   iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o vmbr0 -j MASQUERADE
    post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o vmbr0 -j MASQUERADE
    post-up   iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
    post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1

How to install TCRP on Proxmox

In the case when I put the main IP, the MAC Auto (in this case Hetzner does not authorize the use of other MACs, other than the main IP and the additional one) and in the DSM the eth0 network with DHCP, the IP in the DSM appears only 127.0.0.1.

Any help on this will be much appreciated.
Many thanks in advance.
 
Did you try?

IP Address
10.10.10.30
Network Mask
255.255.255.0
Broadcast 10.10.10.255
Gateway
10.10.10.1
Name Servers
8.8.8.8
 
Did you try?

IP Address
10.10.10.30
Network Mask
255.255.255.0
Broadcast 10.10.10.255
Gateway
10.10.10.1
Name Servers
8.8.8.8
Thanks a lot. Now it is pinging. I changed the IP address, not Gateway. Sorry.
I will try to install the DSM.

If I do this:
Code:
-A PREROUTING -d AA.BB.CCC.DDD/32 -i vmbr0 -p tcp -m tcp --dport 803 -j DNAT --to-destination 10.10.10.30:80
Will I have access to the main IP through port 803?
I need DSM to be installed/accessed on the main ip AA.BB.CCC.DDD.
 
Last edited:
Hello.

In the end, I couldn't install DSM 7.1.1 on the NAT, I found it on the NAT network, but it didn't install.
Thank you for helping me, please, to configure with the main IP address that is AA.BB.CCC.DDD, to install DSM 7.1.1 then on this IP.

Network configuration in DSM 7.1.1:
Panel DSM 7.1.1.jpg

VM102 configuration for DSM 7.1.1:
VM 102.jpg

PorxMox network configuration:
Net Conf. ProxMox.jpg

With these network settings no ping.
 

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!