1
0
Fork 0
mirror of synced 2024-12-19 12:41:10 -05:00

fix configure

This commit is contained in:
Sprait 2023-11-24 13:47:13 +00:00
parent 227bec6ed8
commit b365790dec

View file

@ -20,6 +20,7 @@ else
sleep 5
done
fi
fi
iptables -t nat -D POSTROUTING -s ${OVPN_SRV_NET}/${OVPN_SRV_MASK} ! -d ${OVPN_SRV_NET}/${OVPN_SRV_MASK} -j MASQUERADE || true
iptables -t nat -A POSTROUTING -s ${OVPN_SRV_NET}/${OVPN_SRV_MASK} ! -d ${OVPN_SRV_NET}/${OVPN_SRV_MASK} -j MASQUERADE