1

On my debian6 server is a process that only listen on IPv6 but I also need to listen on IPv4. It seems the program is IPv6 only. Is there a way to route the traffic fom IPv6 to IPv4 on the same host ?

2 Answers 2

2

This happens automatically when IPv4-mapped IPv6 is in use.

Check the sysctl net.ipv6.bindv6only; if it is set to 0, then IPv4-mapped IPv6 is in use, and incoming IPv4 connections will be mapped and sent to the IPv6 listener.

However, individual processes can override this behavior so it's not a cure-all. If you want a specific answer for your circumstance, you'll have to name the program.

0

You can use several reverse proxies which will do this for you (Varnish, HAproxy etc.), in case.

2
  • Adding an example to improve your answer would be great.
    – weeheavy
    Feb 13, 2013 at 9:49
  • The question was "Is there a way" and not "How do I".
    – Ben.
    Feb 14, 2013 at 8:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.