please show your config, /etc/network/interfaces and /etc/network.d/
and alsoiptable -L -t nat
# https://pve.proxmox.com/wiki/Network_Configuration
Code:
root@pve:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface enp2s0 inet manual
auto wlo1
iface wlo1 inet manual
address 192.168.50.20/24
gateway 192.168.50.1
auto vmbr0
iface vmbr0 inet static
address 192.168.51.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
auto vnet1
iface vnet1 inet static
address 192.168.52.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
hwaddress 6e:08:e2:74:e7:61
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -A FORWARD -i wlo1 -j ACCEPT
post-up iptables -A FORWARD -o wlo1 -j ACCEPT
post-up iptables -A FORWARD -i vnet1 -j ACCEPT
post-up iptables -A FORWARD -o vnet1 -j ACCEPT
Code:
root@pve:~# cat /etc/network.d
cat: cannot access '/etc/network.d': No such file or directory
I have
network
and networks
in /etc though.
Code:
root@pve:~# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Last edited: