Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-15-2014, 02:31 PM   #1
LQ Newbie
Registered: Sep 2010
Posts: 4

Rep: Reputation: 0
Tayga NAT64 configuration to provide IPv6 access to IPv4-only webcam

[I posted an earlier version of this question on the IPv6 forum without success.]

I having trouble getting the Tayga NAT64 implementation to work so I can make an IPv4-only webcam available to the Internet via IPv6. The need for this is for a site dependent on HughesNet Gen4 satellite service which does not offer IPv4 static addresses or the ability to forward ports on their HT1000 modem/router. They are, however, providing native IPv6 service. The camera manufacturer, Foscam, unfortunately, has no schedule for IPv6 support.

The home network on which I am testing all this is dual stack with a Hurricane Electric IPv6 tunnel (2001:470:xxxx:xxxx::/64) and IPv4 with the Internet router at (2001:470:xxxx:xxxx:5a6d:8fff:yyyy:yyyy) and I'm trying to add a Linux system to the LAN to run Tayga to provide an IPv6 to IPv4 bridge to specific devices. No dynamic pool needed. I have assumed that I need to use a different IPv4 subnet for the devices behind Tayga from the rest of my LAN. So the Tayga configuration running on the Linux system with a dynamically assigned IPv4 address from is:

tun-device nat64
ipv6-addr 2001:470:xxxx:xxxx:1000::1
map 2001:470:xxxx:xxxx:1000::10
map 2001:470:xxxx:xxxx:1000::12

Tayga is started with a script containing the following commands:

/usr/local/sbin/tayga --mktun

ip link set nat64 up
ip addr add dev nat64
ip addr add 2001:470:xxxx:xxxx:1000::1 dev nat64
ip route add 2001:470:xxxx:xxxx:1000::/96 dev nat64
ip route add dev nat64

iptables -F
iptables -t nat -A POSTROUTING -o em1 -j MASQUERADE
iptables -A FORWARD -i em1 -o nat64 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i nat64 -o em1 -j ACCEPT

/usr/local/sbin/tayga -d

I confess to using a cookie cutter from other posts about Tayga for the iptables configuration with which I have no prior experience.

When Tayga is running, I can ping both Tayga addresses ( and 2001:470:xxxx:xxxx:1000::1) from the Linux system running Tayga, but not from a different Linux system on my LAN, where ping6 gets destination unreachable errors. The example tayga.conf says it will respond to ping/ping6 at its assigned addresses. I can ping the native IPv6 address of the Tayga Linux system (2001:470:xxxx:xxxx:213:20ff:fe6a:ade) from the other system, just not Tayga's assigned IPv6 address (2001:470:xxxx:xxxx:1000::1). I have stopped both the iptables and ip6tables services with no effect on this problem. Any insights into why the Tayga IPv6 address is not discoverable would be much appreciated since I have already sustained substantial cranial bruising because of this problem. Has anyone else got Tayga to work for this kind of application?
Old 02-17-2014, 02:48 PM   #2
LQ Newbie
Registered: Sep 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Smile Re: Tayga NAT64 configuration to provide IPv6 access to IPv4-only webcam

I discovered an alternate NAT64 implementation "wrapsix"( which worked as soon as I configured and compiled it. None of the hassles of Tayga; no device to create, IP addresses or routes to add manually! Works like a charm.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
In tspc ipv6 tunnelling, does tunnel broker required for ipv4 to ipv4 communication? nyk.mat Linux - Newbie 2 08-13-2013 10:48 PM
IPv6 / IPv4 cheddarcheese Linux - Newbie 9 07-12-2012 05:40 PM
LXer: Linux Apache Dual Stacked IPv4 and IPv6 Configuration LXer Syndicated Linux News 0 08-29-2009 05:50 PM
IPv6 over IPv4 lo-kəy Linux - Networking 1 05-04-2009 02:45 AM
ipv6 and ipv4 Ammad Linux - Networking 1 12-02-2006 04:44 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration