Hi everybody,
i get crazy: my VMs are not reachable from outside via IPV4. Surely a configuration problem, but I can't find it.
First I configurated all my servers to IPV6 only, all went fine until I found out, that Thunderbird has troubles with IPV6-Adresses (but this is another theme). So I ordered two IPV4-Addresses and MACs and configured like described:
Via IPV6, all fine, but via IPV4-addresses I can't reach the VMs... :-(
HOST:
According to the configuration manual of Hetzner (https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve) I did a
first.
----
/etc/network/interfaces:
----
Guestsystem:
/etc/network/interfaces:
Adding an "iptables ... -j MASQUERADE" helped and I was able to ping from VM to web, but not from web to VM...
Help me please to stay normal... %-)
Greetz and Thanks, Thomas
i get crazy: my VMs are not reachable from outside via IPV4. Surely a configuration problem, but I can't find it.
First I configurated all my servers to IPV6 only, all went fine until I found out, that Thunderbird has troubles with IPV6-Adresses (but this is another theme). So I ordered two IPV4-Addresses and MACs and configured like described:
Via IPV6, all fine, but via IPV4-addresses I can't reach the VMs... :-(
HOST:
According to the configuration manual of Hetzner (https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve) I did a
Code:
sysctl -w net.ipv4.ip_forward=1
sysctl -w net.ipv6.conf.all.forwarding=1
first.
----
/etc/network/interfaces:
Code:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet static
address 95.216.244.184
netmask 255.255.255.255
pointopoint 95.216.244.129
gateway 95.216.244.129
iface eno1 inet6 static
address 2a01:4f9:2b:26ec::2/128
gateway fe80::1
up sysctl -p
auto vmbr0
iface vmbr0 inet static
address 95.216.244.184
netmask 255.255.255.255
bridge-ports none
bridge-stp off
bridge-fd 0
up ip route add 95.216.244.147/32 dev vmbr0
up ip route add 95.216.244.154/32 dev vmbr0
iface vmbr0 inet6 static
address 2a01:4f9:2b:26ec::2:1/64
up ip -6 route add 2a01:4f9:2b:26ec::/64 dev vmbr0
----
Guestsystem:
/etc/network/interfaces:
Code:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto ens18
iface ens18 inet static
address 95.216.244.154
netmask 255.255.255.255
pointopoint 95.216.244.184
gateway 95.216.244.184
iface eno1 inet6 static
address 2a01:4f9:2b:26ec::2:7
netmask 64
gateway 2a01:4f9:2b:26ec::2:1
up sysctl -p
Adding an "iptables ... -j MASQUERADE" helped and I was able to ping from VM to web, but not from web to VM...
Help me please to stay normal... %-)
Greetz and Thanks, Thomas
Last edited: