Hi! I've installed Proxmox VE 6 on top of Debian 10 (as my hosting provider does not provide IPMI or console access).
Since I also cannot buy additional IPs, I resorted to use the masquerade network to make all my VMs/LXC connect to the outside world.
I've managed to make it ping any IP from inside the VMs, but I cannot make DNS work, so I can't install any packages or anything else.
Here's my host network config
I don't what I'm actually doing wrong and I'd live if someone can help me out.
Also, I've tried setting up the
Thank you!
Since I also cannot buy additional IPs, I resorted to use the masquerade network to make all my VMs/LXC connect to the outside world.
I've managed to make it ping any IP from inside the VMs, but I cannot make DNS work, so I can't install any packages or anything else.
Here's my host network config
Bash:
# 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!
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet static
address 144.xxx.xxx.xxx
netmask 24
gateway 144.xxx.xxx.1
dns-nameservers 8.8.8.8
dns-search vitor.pw
# dns-* options are implemented by the resolvconf package, if installed
iface eth1 inet manual
auto vmbr2
iface vmbr2 inet static
address 10.0.0.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o eth0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s 10.0.0.0/24 -o eth0 -j MASQUERADE
I don't what I'm actually doing wrong and I'd live if someone can help me out.
Also, I've tried setting up the
/etc/resolv.conf
file with nameserver values, but it didn't work. I've searched extensively on the subject, but as this is my first time, there is probably something that I'm missing.Thank you!