Hi
enable firewall VM (Hardware -> Network Device -> checkbox firewall )
Internet disappears in a VM.
even ping does not pass
network Settings
firewall VM
Tell me what could be the problem ?
Best regards
Code:
root@pve:~# pve-firewall status
Status: enabled/running
enable firewall VM (Hardware -> Network Device -> checkbox firewall )
Internet disappears in a VM.
even ping does not pass
network Settings
Code:
auto lo
iface lo inet loopback
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet static
address 111.222.333.444
netmask 255.255.255.192
gateway 111.222.333.44
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr2
iface vmbr2 inet static
address 10.1.1.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.1.1.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.1.1.0/24' -o vmbr0 -j MASQUERADE
firewall VM
Code:
root@pve:~# cat /etc/pve/firewall/102.fw
[OPTIONS]
log_level_in: info
enable: 1
radv: 0
log_level_out: info
ipfilter: 0
dhcp: 0
policy_in: ACCEPT
[RULES]
OUT Ping(ACCEPT)
IN Ping(ACCEPT)
Best regards