Web access only available in IPv6

verinux

New Member
Jul 10, 2010
1
0
1
Hi,

I am new to proxmox mailgateway.
I had install mailgateway in OpenVZ, and set it up using Venet, and configure the HW iptables rule to forward the packet to port 80 to CT.
and I also set it up using Veth and assign the ip to CT as well.
But I cannot access the web or SSH of the mailgateway.
On vnc console and using netstat -pan, I got these:

tcp 0 0 192.168.100.2:5432 0.0.0.0:* LISTEN 5189/postmaster
tcp 0 0 192.168.100.2:25 0.0.0.0:* LISTEN 5598/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 5128/named
tcp 0 0 192.168.100.2:26 0.0.0.0:* LISTEN 5598/master
tcp 0 0 127.0.0.1:10022 0.0.0.0:* LISTEN 5730/perl
tcp 0 0 127.0.0.1:10023 0.0.0.0:* LISTEN 5751/perl
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 5751/perl
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 5598/master
tcp 0 0 192.168.100.2:83 0.0.0.0:* LISTEN 5691/perl
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 5128/named
tcp6 0 0 :::22 :::* LISTEN 5654/sshd
tcp6 0 0 ::1:953 :::* LISTEN 5128/named
tcp6 0 0 :::443 :::* LISTEN 5799/apache2
tcp6 0 0 :::80 :::* LISTEN 5799/apache2
udp 0 0 127.0.0.1:53 0.0.0.0:* 5128/named
udp 0 0 0.0.0.0:34705 0.0.0.0:* 5128/named
udp 0 0 192.168.100.2:35133 192.168.100.2:35133 ESTABLISHED5189/postmaster
udp6 0 0 :::60939 :::* 5128/named


It seem the apache only open to IPv6 instead of IPv4 ?
How do I change the configuration to make apache acccept IPv4 ?

Thank you

Indra
 
the mail gateway should work out of the box (as a container, venet). => check your iptables configuration.