nowork configuration hetzner

chimasadus

Member
Jul 25, 2020
2
0
21
53
I have been trying to configure proxmox in Hetzner for almost a month. But I do not make functions the exit of the VM to the Internet. I think I have installed proxmox about 50 times. Using the Hezner Per Perm installation manual, there is no support. Alguen could tell me why my configuration doesn't work. this is what I have


auto lo
iface lo inet loopback

iface lo inet6 loopback

auto eno1
iface eno1 inet static
address 136.243.120.188/26
gateway 136.243.120.129
up route add -net 136.243.120.128 netmask 255.255.255.192 gw 136.243.120.129 dev eno1
# route 136.243.120.128/26 via 136.243.120.129

iface eno1 inet6 static
address 2a01:4f8:212:c87::2/64
gateway fe80::1

iface eth0 inet manual

auto vmbr0
iface vmbr0 inet manual
address 136.243.120.188/26
gateway 136.243.120.129
bridge-ports eno1
bridge-stp off
bridge-fd 0


auto vmbr1
iface vmbr1 inet static
address 192.168.100.1
netmask 255.255.255.0
bridge-ports none
bridge-stp off
bridge-fd 0

#NAT SETTINGS
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '192.168.100.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.100.0.24' -o vmbr0 -j MASQUERADE
 

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!