Move the SysmoBTS source directory

This commit is contained in:
Keith Whyte 2021-11-30 21:40:30 +01:00
parent 203f92084c
commit 89c7f9ad59
36 changed files with 10 additions and 10 deletions

View file

@ -0,0 +1,9 @@
#!/bin/bash
. /home/rhizomatica/bin/vars.sh
/sbin/iptables -t nat -vnL | egrep "MASQUERADE.*all.*$_PUB_IF.*172.16.0.0/16.*0.0.0.0/0"
if [ $? != 0 ] ; then
# Add the Masquerade RULE
iptables -t nat -I POSTROUTING -s 172.16.0.0/16 -o $_PUB_IF -j MASQUERADE
fi