Networking issues with virtual firewall

steve87

New Member
Dec 27, 2015
4
0
1
36
Hey guys, I am having some issues with Proxmox and not being able to connect to web-facing services from outside the network. I recently moved from ESXI, where the networking was relatively straight forward. Proxmox seems to be a bit lacking in this department.

I have an R710 (4 Port NIC) with Proxmox installed on it, and Sophos running in a VM. I have another VM running a TeamSpeak server. I have all the DNAT rule(http://i.imgur.com/N0JEWx7.png) set Any > TeamSpeak Service Ports > WAN, Destination Translates to TeamSpeak VM. No issues there, as far as I can tell. There is nothing in the logs that indicates wether something has connected, or is trying to connect, there are no other firewalls active, unless Proxmox Firewall is automatic, I read it wasn't.

The Proxmox networing looks like this(http://imgur.com/Edo0zWZ) with Eth1 being the physical WAN port (Connects to Modem), and eth2 the physical LAN port (Connects to Physical switch). These are both assigned to the Sophos VM. The VM bridges correspond to the physical port, 0 >1, 1 > 2, 2 >3, 3 > 4.

This is generally how I had ESXi set up, but there was something else that connected from (I think) the LAN port to a vSwitch that I could then connect all my VMs to to allow them internet access but behind the firewall. So I think that this is the problem, there is no virtual switch between Sophos and the VMs. Is this correct? How do I create a virtual switch in Proxmox that would act like ESXi's virtual switch?
 
Hi,
your second link is not working, please load your pics up to the forum.
Can you send the content of /etc/network/interfaces
 
Sure, sorry about that.

Edo0zWZ.png


Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage part of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

iface eth1 inet manual

auto eth2
iface eth2 inet manual

auto eth3
iface eth3 inet manual

auto bond0
iface bond0 inet manual
        slaves vmbr1 vmbr2
        bond_miimon 100
        bond_mode 802.3ad

auto vmbr0
iface vmbr0 inet static
        address  192.168.2.2
        netmask  255.255.255.0
        gateway  192.168.2.100
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

auto vmbr2
iface vmbr2 inet manual
        bridge_ports eth2
        bridge_stp off
        bridge_fd 0

auto vmbr3
iface vmbr3 inet manual
        bridge_ports eth3
        bridge_stp off
        bridge_fd 0

auto vmbr1
iface vmbr1 inet manual
        bridge_ports eth1
        bridge_stp off
        bridge_fd 0

auto vmbr4
iface vmbr4 inet manual
        bridge_ports bond0
        bridge_stp off
        bridge_fd 0
 
The bond is your problem.
The Bond should be between the eth and vmbr.


auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

iface eth1 inet manual

auto eth2
iface eth2 inet manual

auto eth3
iface eth3 inet manual

auto bond0
iface bond0 inet manual
slaves eth1 eth2
bond_miimon 100
bond_mode

auto vmbr0
iface vmbr0 inet static
address 192.168.2.2
netmask 255.255.255.0
gateway 192.168.2.100
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet manual
bridge_ports bond0
bridge_stp off
bridge_fd 0

auto vmbr3
iface vmbr3 inet manual
bridge_ports eth3
bridge_stp off
bridge_fd 0
 

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!