Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm looking to route all my traffic from my IPv4 NAT to an IPv6 address I have. I googled around on the Internet for a good tutorial on this, and could not find one. Right now I have my network setup with IPv4 NAT using iptables in Linux.

Can someone please point me to the right direction on this? Maybe a URL that you may know of?

Also is it possible to use ip6tables and iptables together ?

Chris

share|improve this question
add comment

migrated from stackoverflow.com Apr 21 '11 at 21:30

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 3 down vote accepted

Yes, it is possible to use ip6tables and iptables together. Think of IPv4 and IPv6 as completely separate Layer 3 stacks.

Since NAT is currently not supported or recommended for use with IPv6, and there is no standard for it, you will probably need to get a routed /64 for your network rather than use a single IP address. (At least, that's the IETF recommendation.) If you were relying on NAT to protect your network in some way, (prevent connections from the outside to your internal hosts) you'll have to protect it some other way.

I'm not sure what you use for a router, but mine is based on DD-WRT, which has a good tutorial for getting IPv6 up and running. Since you are using a Linux-based router, the basics might apply in your case as well.

share|improve this answer
add comment

You don't say where you're getting your IPv6 connectivity from, but if your ISP doesn't support it natively, I can recommend Sixxs.

Their guide for deploying the setup you want is at http://www.sixxs.net/wiki/Installing_a_Subnet. I use it at home over my existing IPv4 NAT connection, with a Linux machine as my router (using ip6tables) and it works perfectly.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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