New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Best Method for routing IPv6 traffic to IPv4?
grillmaster
Member
in Help
I have 2 servers with IPv6 and only 1 has IPv4. I want to tunnel all the incoming and outgoing mail traffic, so the server with IPv4 will utilize the external address. What is the most efficient way to accomplish this?
Comments
Cloudflare Reverse IPv6 to IPv4 proxy.
Its a popular method with Lowendspirit users.
http://forum.lowendspirit.com/viewtopic.php?id=441
Cloudflare seems to be the most popular choice from what I have seen.
this
Yes.
Just build a IPv6 tunnel between the two boxes, pass IPv4 over the tunnel to the server with the IPv4 address.
WOW, this is why I think LET fails. Cloudflare is for web traffic _______ONLY_________ as such your best bet maybe a GRE tunnel, or a tunnel from he.net, which is probably the best.
http://www.gogo6.com/profiles/blogs/manual-ipv6-gre-tunnel-over-ipv4
http://wiki.buyvm.net/doku.php/gre_tunnel
https://tunnelbroker.net/
You are going to have to really think about the GRE if you do it, never done it, but it looks like it should work.
Mun
Tunnelbroker is the way to go.
I have not tried this but for incoming you can set on IPv6 only server:
nohup socat TCP6-LISTEN:25,fork,su=nobody TCP4:FQDN.com:25 &
first install socat ofc. For outgoing mail from IPv6 only server try to use IPv4+IPv6 server as remote mail server maybe try here http://help.directadmin.com/item.php?id=153 , its for exim but you could probably find something like that for any package.
Many SMTP servers have the option to forward emails received to another server. I think you can do that with exim4, and forward the mail.
Mun
Unfortunately cloudflare won't work and gre/sit tunnels are not an option. I am currently researching the other recommendations here.
That was my original idea, but I'm not sure how to translate the ipv4 and ipv6 between one another once the mail reaches the relay server.
Can you rephrase for me, I'm not fully understanding.
Mun