[SOLVED] VE5.2 auf Kimsufi mit nur einer IP

treki

Well-Known Member
Sep 7, 2016
33
5
48
54
Hat das schon jemand gemacht?
Brachte es auf meiner Testkiste ab VE5 nie zum laufen (ältere VEs gingen).
Wäre um Tips (oder gar Tutorials) sehr dankbar.
Laufen werden 2 VMs, wobei nur eine von extern über einen einzigen Port erreichbar sein muss.

Edit:
Ich glaub, ich habs geschafft!
auto lo
iface lo inet loopback

iface enp1s0 inet manual

iface enp2s0 inet manual

# for Routing
auto vmbr1
iface vmbr1 inet manual
post-up /etc/pve/kvm-networking.sh
bridge_ports dummy0
bridge_stp off
bridge_fd 0


auto vmbr0
iface vmbr0 inet static
address x.x.x.x/24
gateway x.x.x.x
bridge-ports enp1s0
bridge-stp off
bridge-fd 0

auto vmbr2
iface vmbr2 inet static
address 192.168.0.254
netmask 255.255.255.0
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 '192.168.0.0/24' -o vmbr0 -j MASQUERADE
post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 63333 -j DNAT --to 192.168.0.2:3389
post-down iptables -t nat -D POSTROUTING -s '192.168.0.0/24' -o vmbr0 -j MASQUERADE
 
Last edited:

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!