View Single Post
Posts: 53 | Thanked: 40 times | Joined on May 2009 @ Brooksville, Florida
#1
T-Mobile's new IPv6 APN has a different NAT64 subnet: fd01:353:dead:beef:face::/96
I've updated nat64d with this and built a replacement for myself. I'm posting it here in case anyone else needs it. Note that I compiled this natively on my N900's hardfp GCC 4.5 Gentoo install, and I make no guarantees that it's binary-compatible with Maemo (though it seems to work for me in Maemo too), or really ANY guarantees AT ALL. ie, no warranty, standard disclaimer.

Don't forget to "Thank" me

nat64d is under the Apache 2.0 license. Changes made to source follow:
Code:
diff -r 2f869feb1fda tun/nat64d.h
--- a/tun/nat64d.h      Sat Dec 10 12:05:38 2011 -0600
+++ b/tun/nat64d.h      Sun Dec 18 16:10:33 2011 -0500
@@ -27,10 +27,10 @@
 // 10.255.255.0/24
 #define IPV4_LOCAL_SUBNET 0x0affff00
 
-// 2607:fb90:beef:feed::/96
-#define IPV6_NAT64_SUBNET_1 0x2607fb90
-#define IPV6_NAT64_SUBNET_2 0xbeeffeed
-#define IPV6_NAT64_SUBNET_3 0x0
+// fd01:353:dead:beef:face::/96
+#define IPV6_NAT64_SUBNET_1 0xfd010353
+#define IPV6_NAT64_SUBNET_2 0xdeadbeef
+#define IPV6_NAT64_SUBNET_3 0xface0000
 #define IPV6_NAT64_SUBNET_4 0x0
 
 #endif /* __NAT64D_H__ */
Attached Files
File Type: zip nat64d.zip (8.0 KB, 136 views)

Last edited by Luke-Jr; 2011-12-19 at 02:31.
 

The Following 6 Users Say Thank You to Luke-Jr For This Useful Post: