summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot2022-11-09 13:33:19 +0000
committerroot2022-11-09 13:33:19 +0000
commita4c8a99b6fb9f711c5a2fd6fe1b37bd97aeb0673 (patch)
tree01eaeb123a8fe9aedfdab771a9a54ee58e9eac0d
parent8b304d501d052262dd6b725b9f84d7e634c67e9f (diff)
downloadufw rules-a4c8a99b6fb9f711c5a2fd6fe1b37bd97aeb0673.tar.gz
.
-rwxr-xr-xufw.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/ufw.sh b/ufw.sh
index d08acc2..739d279 100755
--- a/ufw.sh
+++ b/ufw.sh
@@ -3,12 +3,9 @@
main() {
ufw --force reset
-
- #ufw default allow incoming
ufw default deny incoming on enp2s0
ufw default allow outgoing
ufw allow in on virbr0
- #ufw allow in on enp2s0 from 95.91.211.71
ufw allow in on enp2s0 to any port 22