Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm build a OpenVPN tunnel between my home network and my server. Here's my current scenario:

Server
(IPv4: 198.x.x.5)
IPv6: 2001:xxx:xxx:xxx::abcd) <-----------> My ISP (CGN) <------------> Home Gateway <--------> Home computers
(Public Pool: 2001:xxx:xxx::/64)     (Some public IP addresses)        (172.16.6.22)          (192.168.99.x/24)

Server has a single public IPv4 address, a public IPv6 address and a global routable IPv6 IP address block. This is the left side of OpenVPN tunnel.

Home Gateway is a Linux machine with OpenVPN installed. This device runs radvd(IPv6) and dhcpd(IPv4). OpenVPN tunnel endpoint is here. It also supply Internet access for Home Computers with native IPv4/IPv6 dual-stack Internet access experience. This device should get and allocate a block of IPv6 addresses.

How to configure my OpenVPN to implement this?

EDIT:

I googled and found something like this but it seems that's for the scenario below which is different than the case above:

Server
(IPv4: 198.x.x.5)
IPv6: 2001:xxx:xxx:xxx::abcd) <-----------> My ISP (CGN) <--------->   Home computers
(Public Pool: 2001:xxx:xxx::/64)     (Some public IP addresses)        (172.16.6.22)          (192.168.99.x/24)

In this case, each Home Computer need to install OpenVPN and run it as client.

share|improve this question

migrated from serverfault.com Jul 17 '13 at 14:48

This question came from our site for system and network administrators.

1 Answer 1

If your goal is to have routable IPV6 addresses at both sites, then consider using an IPV6 tunnel broker instead of a VPN tunnel. It tried VPN myself and it was fraught with problems. Look into sixxs and hurricane electric. They can offer you IPV6 blocks.

share|improve this answer
    
I know there are plenty of tunnel brokers available, but I still want to build my own one. VPN is just one approach, if you have better idea, please let me know :-) –  Lingfeng Xiong Jul 17 '13 at 17:26

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.