Regel für speicher hinzugefügt

ip 193.96.224.237
This commit is contained in:
4ndr3 2020-04-16 20:38:47 +02:00 committed by GitHub
parent cf30c70749
commit f7b2cf2397
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@ CLOUD_IPV4=/lib/gluon/ebtables/109-local-forward-allow-cloud
if [ ! -f $CLOUD_IPV4 ]; then if [ ! -f $CLOUD_IPV4 ]; then
echo "Installing cloud IPv4 rule" echo "Installing cloud IPv4 rule"
echo "rule('LOCAL_FORWARD -p IPv4 --ip-src 193.96.224.238/32 -j RETURN')" > $CLOUD_IPV4 echo "rule('LOCAL_FORWARD -p IPv4 --ip-src 193.96.224.238/32 -j RETURN')" > $CLOUD_IPV4
echo "rule('LOCAL_FORWARD -p IPv4 --ip-src 193.96.224.237/32 -j RETURN')" >> $CLOUD_IPV4
/etc/init.d/gluon-ebtables start $CLOUD_IPV4 /etc/init.d/gluon-ebtables start $CLOUD_IPV4
else else
echo "Cloud IPv4 rule already exists" echo "Cloud IPv4 rule already exists"