AS201281 Wiki

Your check engine light is on!

User Tools

Site Tools


gnu_linux_server:network_configuration:ipv6_tunnel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gnu_linux_server:network_configuration:ipv6_tunnel [2011/09/19 21:40] – créée guillaumegnu_linux_server:network_configuration:ipv6_tunnel [2021/01/04 20:41] (current) – external edit 127.0.0.1
Line 42: Line 42:
 <code bash> <code bash>
 allow_6in4_protocol() { allow_6in4_protocol() {
-    if [ $# -ne 1 ]; then +    [ $# -ne 1 ] && exit 1
-        exit 1 +
-    fi+
  
-    log_action_begin_msg "Allowing IPv6 in IPv4 protocol"+    print_debug "Allowing IPv6 in IPv4 protocol"
  
     iptables -t filter -A INPUT  -s ${1} -p 41 -j ACCEPT     iptables -t filter -A INPUT  -s ${1} -p 41 -j ACCEPT
     iptables -t filter -A OUTPUT -p 41 -j ACCEPT     iptables -t filter -A OUTPUT -p 41 -j ACCEPT
  
-    log_action_end_msg $?+    end_debug $?
 } }
 </code> </code>
gnu_linux_server/network_configuration/ipv6_tunnel.1316468448.txt.gz · Last modified: 2021/01/04 20:40 (external edit)