Setting up a Bridge to access Squid Proxys on Host

hussi130

New Member
Jul 9, 2020
1
0
1
40
Hey,
i'm trying to setup a couple Windows 10 VMs with Proxmox.
I got like 30 IPs i wanted to use on my hostsytem as Squid proxys for all the VMs on it.
The VMs don't need an external own IP. They just have to use the Squid Proxys on the Hostsystem.

first i tried to setup a bridge to get access to the internet via the physical interface enp4s0.

i already tried a couple settings but i can't get internet on the vms

Code:
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp4s0

iface enp4s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 146.0.52.232/25
        netmask 255.255.255.128
        gateway 146.0.52.129
        bridge_ports enp4s0
        bridge_stp off
        bridge_fd 0

other method i tried is just a bridge to enp4s0 without IP and have enp4s0 as static IP.

Maybe someone can help me out? Would be great.
 

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!