git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6052 818b1a75-f10b-46b9-bf7c-635c3b92a50f
19 lines
395 B
Bash
Executable File
19 lines
395 B
Bash
Executable File
# Clear the iptables mangle table
|
|
iptables -t mangle -F
|
|
|
|
# Remove GTPU KLM
|
|
rmmod xt_GTPUAH
|
|
|
|
# Insert the GTPUAH KLM
|
|
insmod ./Bin/xt_GTPUAH.ko
|
|
|
|
# Copy the userland iptables extenstion library
|
|
if [ -d /lib/xtables ]; then
|
|
/bin/cp -f ./Bin/libxt_GTPUAH.so /lib/xtables/
|
|
fi
|
|
|
|
if [ -d /lib/iptables ]; then
|
|
/bin/cp -f ./Bin/libxt_GTPUAH.so /lib/iptables/libipt_GTPUAH.so
|
|
fi
|
|
|