gnu_linux_server:network_configuration:ipv6_tunnel
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gnu_linux_server:network_configuration:ipv6_tunnel [2011/09/19 21:40] – créée guillaume | gnu_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() { | ||
- | | + | [ $# -ne 1 ] && |
- | | + | |
- | fi | + | |
- | | + | |
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 | ||
- | | + | |
} | } | ||
</ | </ |
gnu_linux_server/network_configuration/ipv6_tunnel.1316468448.txt.gz · Last modified: 2021/01/04 20:40 (external edit)