[SOLVED] Traffic not leaving VM after entering.

ZemaToxic

Member
Feb 25, 2021
3
0
21
30
Okay so I freely admit that I'm out of my depth here.
To provide some background info, I had a physical box with an Apache webserver in it which was configured to route subdomain requests to individual processes on the box, I have since shifted everything to a Proxmox VM which is using a separate ethernet port on the motherboard then Proxmox server itself eno1 for the VM and enp7s0 for the host.

The issue I have now is traffic going to `subdomain.domain.com` will follow the same path it used to do
Requester -> Router -> Forwarded to VM IP -/> Return to Router -> Return to Requester
however it now doesn't leave the VM as far as I can tell the traffic hits the VM and just disappears, It doesn't make it back to the requester along the subdomain that called it. Manually entering in the IP of the VM works and all GET and POST requests return correctly.

I'm stumped I don't know if the issue is Proxmox, the VM or somewhere else. I'm hoping someone will be able to help, thank you for your help
 
Can you show the /etc/network/interfaces files so we can take a look at the network config? If you have some public IPs in there, please mask them in a way that we can still distinguish different IPs.
 
Hosts file is as follows:
Code:
auto lo
iface lo inet loopback

iface enp7s0 inet manual

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.2/24
        gateway 192.168.1.1
        bridge-ports enp7s0
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
        bridge-vids 2-4094

VM's interfaces file is empty, Thanks again for the help :D