Fix setup of offline tests
Relates to: gitlab-org/gitlab#390287 (comment 1479361220)
Makes sure that the IP Tables are setup correctly using the same setup as used in the python-pipenv test project.
Additionally we add It's already set in https://gitlab.com/gitlab-org/security-products/ci-templates/-/blob/master/includes-dev/qa-dependency_scanning.ymlFF_ENABLE_BASH_EXIT_CODE_CHECK
to make sure that if a command fails the script fails.
Testing
Edited by Nick Ilieskou