So, I just setup a new server on a droplet and looking at eth0 with
ifconfig I can see that the network card is setup for one IPv4 address and one IPv6 address (IPv4 changed for protection):
inet addr:192.168.111.111 Bcast:192.168.111.255 Mask:255.255.240.0 inet6 addr: fe80::601:29ff:fe72:9601/64 Scope:Link
I see that the IPv6 is local since it starts with
Then I setup
Apache2 and attempt a load of the front page using the IPv4 address (because I did not setup the AAAA record for an IPv6, it has to be the IPv4 plus the IPv6 is local.) However, when I look at the listen, the
Apache2 server looks like this:
tcp6 0 0 :::443 :::* LISTEN
The SSH listener does the same thing.
So what I'm wondering is... how can the system connect the incoming IPv4 to the listening IPv6? Before, as I recall, I had to change the
Apache2 setup to force a listen on the IPv4 address instead.
I have another question, since the IPv6 is a local address, I would imagine I can DROP most everything in my ip6tables, correct? Leave the
lo interface alone, but drop anything else, what would you say?