From 794f1c6aa886ecc8814765a2dda4a677b7f4376a Mon Sep 17 00:00:00 2001 From: sven-ola Date: Wed, 13 Oct 2010 11:54:32 +0000 Subject: doc git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@19 3484d885-4da6-438d-b19d-107d078dd756 --- README.dbk | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'README.dbk') diff --git a/README.dbk b/README.dbk index c52ef16..5009c94 100644 --- a/README.dbk +++ b/README.dbk @@ -1,6 +1,10 @@ +"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + + + +]>
MAP66 (NAT from IPv6 to IPv6, NAT66) for Linux @@ -15,7 +19,7 @@ - 07-OCT-2010 + 13-OCT-2010 These files implement a Linux netfilter target that changes the IPv6 @@ -82,9 +86,9 @@ below /usr/src/. To register the MAP66 source to DKMS and compile/install, issue these commands: - sudo dkms add -m ip6t_MAP66 -v 0.4 -sudo dkms build -m ip6t_MAP66 -v 0.4 -sudo dkms install -m ip6t_MAP66 -v 0.4 + sudo dkms add -m ip6t_MAP66 -v &VERSION; +sudo dkms build -m ip6t_MAP66 -v &VERSION; +sudo dkms install -m ip6t_MAP66 -v &VERSION; Read DKMS details here: https://wiki.kubuntu.org/Kernel/Dev/DKMSPackaging @@ -103,8 +107,8 @@ sudo dkms install -m ip6t_MAP66 -v 0.4 commands correspond to the Address Mapping Example given in the IETF discussion paper: - ip6tables -t mangle -I POSTROUTING -o eth0 -s FD01:0203:0405::/48 -j MAP66 --to 2001:0DB8:0001::/48 -ip6tables -t mangle -I PREROUTING -i eth0 -d 2001:0DB8:0001::/48 -j MAP66 --to FD01:0203:0405::/48 + ip6tables -t mangle -I POSTROUTING -o eth0 -s FD01:0203:0405::/48 -j MAP66 &OPTSRCTO; 2001:0DB8:0001::/48 +ip6tables -t mangle -I PREROUTING -i eth0 -d 2001:0DB8:0001::/48 -j MAP66 &OPTDSTTO; FD01:0203:0405::/48 This example is also printed to the screen if you issue ip6tables -j MAP66 --help. By design, you cannot @@ -182,10 +186,10 @@ ip6tables -t mangle -F FORWARD grep -q ^ip6t_MAP66 /proc/modules && rmmod ip6t_MAP66 insmod /usr/src/map66/ip6t_MAP66.ko -ip6tables -t mangle -A POSTROUTING -o sixxs -s fdca:ffee:babe::/64 -j MAP66 --to 2001:4dd0:fe77:1::/64 --nocheck -ip6tables -t mangle -A PREROUTING -i sixxs -d 2001:4dd0:fe77:1::/64 -j MAP66 --to fdca:ffee:babe::/64 --nocheck -ip6tables -t mangle -A POSTROUTING -o tun6to4 -s fdca:ffee:babe::/64 -j MAP66 --to 2002:4d57:3007:1::/64 --nocheck -ip6tables -t mangle -A PREROUTING -i tun6to4 -d 2002:4d57:3007:1::/64 -j MAP66 --to fdca:ffee:babe::/64 --nocheck +ip6tables -t mangle -A POSTROUTING -o sixxs -s fdca:ffee:babe::/64 -j MAP66 &OPTSRCTO; 2001:4dd0:fe77:1::/64 --nocheck +ip6tables -t mangle -A PREROUTING -i sixxs -d 2001:4dd0:fe77:1::/64 -j MAP66 &OPTDSTTO; fdca:ffee:babe::/64 --nocheck +ip6tables -t mangle -A POSTROUTING -o tun6to4 -s fdca:ffee:babe::/64 -j MAP66 &OPTSRCTO; 2002:4d57:3007:1::/64 --nocheck +ip6tables -t mangle -A PREROUTING -i tun6to4 -d 2002:4d57:3007:1::/64 -j MAP66 &OPTDSTTO; fdca:ffee:babe::/64 --nocheck ip6tables -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu Because for both IPv6 networks the external prefix length is -- cgit v1.2.3