Hi,
I've tried the Proxmox pve-firewall during the last days and I have some (acutal only two) problems with IPv6.
My system:
Here are some of my configurations:
/etc/network/interfaces on the host:
These are my NAT-rules:
Of course ipv4-forwarding is enabled.
The network configuration of the container with 172.27.13.23:
Any idea how to fix this? The log just says "IPV6 logging not implemented"...
Thanks very much!
//EDIT: I just saw that outgoing IPv4 is not a problem with the firewall since is does not work with firewall disabled too.
I've tried the Proxmox pve-firewall during the last days and I have some (acutal only two) problems with IPv6.
My system:
- Debian 8 with kernel 4.2.6-1-pve
- pve-firewall 2.0-14
- one LXC
- one IPv4 address for the host
- NAT-IPv4 subnet with routing by ports for accessing the LXC via IPv4
- one IPv6 /64-network, so the LXC gets its own IPv6-address
- enabled everywhere (Datacenter, Host, Container, network interfaces and whereever I found an option to enable it)
- Default Input: DROP
- Default Output: ACCEPT
- NeighborDiscovery allowed on data center level
- incoming port 22 and 8006 on the host allowed
- incoming port 80 and 443 allowed on a (test-) container
- incoming IPv6 does not work (is blocked?) for the container on all ports
- outgoing IPv4 does not work (is blocked?) for the container on all ports
Here are some of my configurations:
/etc/network/interfaces on the host:
Code:
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto eth0
iface eth0 inet static
address IPv4
netmask IPv4-netmask
gateway IPv4-gateway
pointopoint IPv4-gateway
iface eth0 inet6 static
address First-IPv6
netmask 64
gateway IPv6-gateway
up sysctl -p
auto vmbr0
iface vmbr0 inet static
address 172.27.13.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
iface vmbr0 inet6 static
address Second-IPv6
netmask 64
bridge_ports none
bridge_stp off
bridge_fd 0
up route -6 add THIRD-IPv6 dev vmbr0 # for each VM IPv6
These are my NAT-rules:
Code:
iptables -t nat -A PREROUTING -i eth0 -p tcp -m multiport --dports 80,443 -j DNAT --to 172.27.13.23
iptables -t nat -A POSTROUTING -s 172.27.13.0/24 -o eth0 -j MASQUERADE
Of course ipv4-forwarding is enabled.
The network configuration of the container with 172.27.13.23:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 172.27.13.23
netmask 255.255.255.255
post-up ip route add 172.27.13.1 dev eth0
post-up ip route add default via 172.27.13.1
pre-down ip route del default via 172.27.13.1
pre-down ip route del 172.27.13.1 dev eth0
iface eth0 inet6 static
address THIRD-IPv6
netmask 64
gateway SECOND-IPv6
Any idea how to fix this? The log just says "IPV6 logging not implemented"...
Thanks very much!
//EDIT: I just saw that outgoing IPv4 is not a problem with the firewall since is does not work with firewall disabled too.
Last edited: