summaryrefslogtreecommitdiffstats
path: root/tests/testserver/iptables/iptables.sh
blob: 9a3ffd25d21c6724d4f1c9c5873a105187f07047 (plain)
1
2
3
4
5
6
7
#!/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