Re: Forwarding Protocol 41 (ipv6)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

claudio987@xxxxxxxxx a écrit :
Hi, I have a problem.
I have a Dlink router working with a linux based firmware
This router uses an "outbound" nat and then is not possible to
forwarding protocol 41 (protocol used to ipv6 tunnel) on an internal ip
address of my lan. Now I ask you if is possible to change nat into
bidirectional nat and than have the bossibility to set an entry in
iptables to forward protocol 41

Assuming that the local IPv6 tunnel endpoint IPv4 address is 192.168.0.2 and the router's external interface is ppp0, try this :

# inbound destination NAT for IPv6 tunnel
iptables -t nat -A PREROUTING -i ppp0 -p 41 -j DNAT --to 192.168.0.2
# inbound forwarding for IPv6 tunnel
iptables -t filter -A FORWARD -i ppp0 -p 41 -d 192.168.0.2 -j ACCEPT



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux