Hello all,
I have a problem with the proxmox host, I am using a proxmox host + a opnsense VM as my home server/firewall setup. Everything works inside the network, vms etc except for apt-get update on the actual proxmox host. I am not sure how to fix this problem so here are some details:
Ip of pve host 192.168.0.2
Ip of VM 192.168.0.1
The VM is configured as pci passtrough for wan and vmbr0 net card as lan (virtio)
the host has the following config in networking:
Doing an apt-get update gives me this:
while doing a wget on an ip in that failed list gives me this:
nc gives me this aswell:
i have no ideea why this is happening, Any help would be greatly appreciated.
Note: i also have a linux vm in the net and that works just fine
I have a problem with the proxmox host, I am using a proxmox host + a opnsense VM as my home server/firewall setup. Everything works inside the network, vms etc except for apt-get update on the actual proxmox host. I am not sure how to fix this problem so here are some details:
Ip of pve host 192.168.0.2
Ip of VM 192.168.0.1
The VM is configured as pci passtrough for wan and vmbr0 net card as lan (virtio)
the host has the following config in networking:
Code:
root@gate:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read 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
iface enp7s0 inet manual
iface enp4s0 inet manual
iface enp5s0 inet manual
iface enp6s0 inet manual
iface enp8s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.0.2/24
gateway 192.168.0.1
bridge-stp off
bridge-fd 0
bridge_ports enp5s0 enp6s0 enp7s0 enp8s0
dns-nameservers 192.168.0.1
Doing an apt-get update gives me this:
Code:
root@gate:~# apt-get update
Err:1 http://security.debian.org bullseye-security InRelease
Connection failed [IP: 199.232.138.132 80]
Err:2 http://download.proxmox.com/debian/pve bullseye InRelease
Connection failed [IP: 212.224.123.70 80]
Err:3 http://ftp.ro.debian.org/debian bullseye InRelease
Connection failed [IP: 130.89.148.12 80]
Err:4 http://ftp.ro.debian.org/debian bullseye-updates InRelease
Connection failed [IP: 130.89.148.12 80]
Reading package lists... Done
W: Failed to fetch http://ftp.ro.debian.org/debian/dists/bullseye/InRelease Connection failed [IP: 130.89.148.12 80]
W: Failed to fetch http://ftp.ro.debian.org/debian/dists/bullseye-updates/InRelease Connection failed [IP: 130.89.148.12 80]
W: Failed to fetch http://security.debian.org/dists/bullseye-security/InRelease Connection failed [IP: 199.232.138.132 80]
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bullseye/InRelease Connection failed [IP: 212.224.123.70 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
while doing a wget on an ip in that failed list gives me this:
Code:
root@gate:~# wget 130.89.148.12
--2022-05-03 10:58:04-- http://130.89.148.12/
Connecting to 130.89.148.12:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://130.89.148.12/debian/ [following]
--2022-05-03 10:58:04-- http://130.89.148.12/debian/
Reusing existing connection to 130.89.148.12:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html.2’
index.html.2 [ <=> ] 6.26K --.-KB/s in 0s
2022-05-03 10:58:04 (170 MB/s) - ‘index.html.2’ saved [6407]
nc gives me this aswell:
Code:
root@gate:~# nc -zv 130.89.148.12 80
klecker-ftp.debian.org [130.89.148.12] 80 (http) open
i have no ideea why this is happening, Any help would be greatly appreciated.
Note: i also have a linux vm in the net and that works just fine