[SOLVED] Hetzner routed setup

Drag_and_Drop

Member
Jul 17, 2015
26
5
23
Hi,
Since my new ISP dose not support yet IPv6, I need to setup my Hetzner Proxmox server with an IPv4.
I followed the Proxmox wiki and the Hetzner wiki (https://wiki.hetzner.de/index.php/Proxmox_VE) but I'm not able to ping the vm or the outside world from the Internet.

Ping from the host to the the VM works, Ping from the VM to the Host works, but not from the VM to the hosts gateway or internet.

Anyone an Idea what could be wrong?

Host config:
Code:
auto lo
iface lo inet loopback

iface enp2s0 inet manual

iface enp2s0 inet6 manual

auto vmbr0
iface vmbr0 inet static
        address  78.47.XX.XXX
        netmask  255.255.255.224
        gateway  78.47.XX.XXX
        pointopoint 78.47.15.XXX
        bridge_ports enp2s0
        bridge_stp off
        bridge_fd 0
        up ip route add 78.47.XX.XX7/32 dev vmbr0
        up ip route add 78.47.XX.XX9/32 dev vmbr0
        #up ip route add <Add-On IP3>/32 dev vmbr0

iface vmbr0 inet6 static
        address  2a01:XXXX:XXXX:XXXX::2
        netmask  64
        gateway  fe80::1

VM config:

Code:
auto ens18
iface ens18 inet static
   address <Add-On IP>
   netmask 255.255.255.255
   gateway <Server-IP>
   pointopoint <Server-IP>
   
iface ens18 inet6 static
   address <IPv6-Network>::4
   netmask 64
   gateway fe80::1
 
Ok fogett it :)
IP-Forwarding was not enabled (I thought it was enabled by default in proxmox ;-) )

an simple:

Code:
sysctl -w net.ipv4.ip_forward=1
solved it
 
Hello,
Currently i have the same issue on Proxmox 6.
ip_forward already enabled but no internet on VMs.

auto vmbr1
iface vmbr1 inet static
address 5.9.XXX.XXX -> usable subnet IP
netmask 29 -> subnet mask
bridge_ports none
bridge_stp off
bridge_fd 0

i have also vmbr0 used for single IPs , bridged and working


Any suggestion please
Best Regards
 

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!