Update 'maint-scripts/freedmr_update.sh'

Set port map for IPSC2
This commit is contained in:
Shane Daley 2021-10-09 20:54:10 -04:00
parent e864887eb5
commit 6d13315784

View File

@ -41,9 +41,9 @@ docker pull hacknix/freedmr:development-latest &&
echo Removing old containers..... echo Removing old containers.....
docker container rm freedmr --force && docker container rm freedmr --force &&
echo Installing new containers..... echo Installing new containers.....
docker run --name=systemx -d --read-only -v /etc/freedmr/freedmr.cfg:/opt/freedmr/freedmr.cfg \ docker run --name=freedmr -d --read-only -v /etc/freedmr/freedmr.cfg:/opt/freedmr/freedmr.cfg \
-v /var/log/freedmr/freedmr.log:/opt/freedmr/freedmr.log \ -v /var/log/freedmr/freedmr.log:/opt/freedmr/freedmr.log \
-v /etc/freedmr/rules.py:/opt/freedmr/rules.py -p 62031:62031/udp -p 62036-62046:62036-62046/udp \ -v /etc/freedmr/rules.py:/opt/freedmr/rules.py -p 62031:62031/udp -p 62034-62046:62034-62046/udp \
-p 4321:4321/tcp hacknix/freedmr:development-latest && -p 4321:4321/tcp hacknix/freedmr:development-latest &&
echo Flushing NAT tracking table ..... echo Flushing NAT tracking table .....
conntrack -F && conntrack -F &&