diff options
author | sven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756> | 2010-10-13 13:54:32 +0200 |
---|---|---|
committer | sven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756> | 2010-10-13 13:54:32 +0200 |
commit | 794f1c6aa886ecc8814765a2dda4a677b7f4376a (patch) | |
tree | bbed0fd84a0953ca9176ddd56c1d5d95d15afd29 /README.txt | |
parent | d0b3e5ef319d68c5b574bcecffc611d254ddc3c8 (diff) | |
download | NPTv6-794f1c6aa886ecc8814765a2dda4a677b7f4376a.tar NPTv6-794f1c6aa886ecc8814765a2dda4a677b7f4376a.zip |
doc
git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@19 3484d885-4da6-438d-b19d-107d078dd756
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -4,7 +4,7 @@ Sven-Ola Tuecke Freifunk -07-OCT-2010 +13-OCT-2010 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ @@ -75,9 +75,9 @@ If not already in place, move/unpack the MAP66 source file archive 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 0.5 +sudo dkms build -m ip6t_MAP66 -v 0.5 +sudo dkms install -m ip6t_MAP66 -v 0.5 Read DKMS details here: https://wiki.kubuntu.org/Kernel/Dev/DKMSPackaging @@ -91,8 +91,8 @@ rule matches incoming packets and reverts the address change by altering their IPv6 destination address. To following 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 --src-to 2001:0DB8:0001::/48 +ip6tables -t mangle -I PREROUTING -i eth0 -d 2001:0DB8:0001::/48 -j MAP66 --dst-to FD01:0203:0405::/48 This example is also printed to the screen if you issue ip6tables -j MAP66 --help. By design, you cannot use an arbitrary prefix length. Only /112, /96 .. @@ -157,10 +157,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 --src-to 2001:4dd0:fe77:1::/64 --nocheck +ip6tables -t mangle -A PREROUTING -i sixxs -d 2001:4dd0:fe77:1::/64 -j MAP66 --dst-to fdca:ffee:babe::/64 --nocheck +ip6tables -t mangle -A POSTROUTING -o tun6to4 -s fdca:ffee:babe::/64 -j MAP66 --src-to 2002:4d57:3007:1::/64 --nocheck +ip6tables -t mangle -A PREROUTING -i tun6to4 -d 2002:4d57:3007:1::/64 -j MAP66 --dst-to 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 smaller than the |