qtbase/tests/testserver/iptables/iptables.sh

8 lines
222 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
# Copyright (C) 2019 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
set -ex
iptables -A INPUT -p tcp --destination-port 1357 -j DROP