Hello everybody,
I have a dedicated on Hetzner on which I have installed Proxmox.
The problem I have is that with both Bridge and Routed configuration, I only have ping which works 100% while TCP connections only work sometimes (3/10 or so).
Configuration:
Host with Debian 10 and Proxmox (public and private IP)
VM: Pfsense (with only private IP and gateway on private HOST IP)
HOST Network: (/etc/network/interfaces):
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp4s0
iface enp4s0 inet static
address 144.7x.xx.xx
netmask 255.255.255.224
pointopoint 144.7x.xx.xx
gateway 144.7x.xx.xx
up route add -net 144.7x.xx.xx netmask 255.255.255.224 gw 144.7x.xx.xx dev enp4s0
auto vmbr0
iface vmbr0 inet static
address 144.7x.xx.xx
netmask 255.255.255.255
bridge_ports none
bridge_stp off
bridge_fd 0
# LAN
auto vmbr1
iface vmbr1 inet manual
address 192.168.10.254
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 1
VM NETWORK:
192.168.10.1/24
Gateway 192.168.10.254 (HOST Private IP)
Forward on HOST is enabled and there is also a masquerade rule for the enp4s0 interfaces:
15585 1083K MASQUERADE all -- * enp4s0 0.0.0.0/0 0.0.0.0/0
TEST:
on the VM ping always work.
but curl (TCP,. HTTP), works only 3-4 times on 10):
When is KO:
[2.5.2-RELEASE][root@xxxxxx]/root: curl -L -I https://1.1.1.1
When is OK:
[2.5.2-RELEASE][root@xxxxxxxx/root: curl -L -I https://1.1.1.1
HTTP/2 200
date: Thu, 15 Jul 2021 07:46:55 GMT
content-type: text/html
last-modified: Thu, 17 Jun 2021 15:48:54 GMT
x-amz-request-id: tx00000000000003f1c71ae-0060efe665-424d0ed-default
strict-transport-security: max-age=31536000
served-in-seconds: 0.002
cache-control: public, max-age=14400
cf-cache-status: HIT
age: 394
expires: Thu, 15 Jul 2021 11:46:55 GMT
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
server: cloudflare
cf-ray: 66f161376854dfd7-FRA
On the HOST ping and TCP are always ok.
I also opened a ticket to Hetzner but they told me that there are no problems on their side.
What am I doing wrong?
Thank you!
I have a dedicated on Hetzner on which I have installed Proxmox.
The problem I have is that with both Bridge and Routed configuration, I only have ping which works 100% while TCP connections only work sometimes (3/10 or so).
Configuration:
Host with Debian 10 and Proxmox (public and private IP)
VM: Pfsense (with only private IP and gateway on private HOST IP)
HOST Network: (/etc/network/interfaces):
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp4s0
iface enp4s0 inet static
address 144.7x.xx.xx
netmask 255.255.255.224
pointopoint 144.7x.xx.xx
gateway 144.7x.xx.xx
up route add -net 144.7x.xx.xx netmask 255.255.255.224 gw 144.7x.xx.xx dev enp4s0
auto vmbr0
iface vmbr0 inet static
address 144.7x.xx.xx
netmask 255.255.255.255
bridge_ports none
bridge_stp off
bridge_fd 0
# LAN
auto vmbr1
iface vmbr1 inet manual
address 192.168.10.254
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 1
VM NETWORK:
192.168.10.1/24
Gateway 192.168.10.254 (HOST Private IP)
Forward on HOST is enabled and there is also a masquerade rule for the enp4s0 interfaces:
15585 1083K MASQUERADE all -- * enp4s0 0.0.0.0/0 0.0.0.0/0
TEST:
on the VM ping always work.
but curl (TCP,. HTTP), works only 3-4 times on 10):
When is KO:
[2.5.2-RELEASE][root@xxxxxx]/root: curl -L -I https://1.1.1.1
When is OK:
[2.5.2-RELEASE][root@xxxxxxxx/root: curl -L -I https://1.1.1.1
HTTP/2 200
date: Thu, 15 Jul 2021 07:46:55 GMT
content-type: text/html
last-modified: Thu, 17 Jun 2021 15:48:54 GMT
x-amz-request-id: tx00000000000003f1c71ae-0060efe665-424d0ed-default
strict-transport-security: max-age=31536000
served-in-seconds: 0.002
cache-control: public, max-age=14400
cf-cache-status: HIT
age: 394
expires: Thu, 15 Jul 2021 11:46:55 GMT
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
server: cloudflare
cf-ray: 66f161376854dfd7-FRA
On the HOST ping and TCP are always ok.
I also opened a ticket to Hetzner but they told me that there are no problems on their side.
What am I doing wrong?
Thank you!
Last edited: