Skip to content

Instantly share code, notes, and snippets.

@cympfh
Created December 26, 2019 08:17
Embed
What would you like to do?
#!/bin/bash
for i in $(seq 8000 8900); do
iptables -I INPUT 6 -p tcp -m tcp --dport $i -j ACCEPT
done
iptables -L --line-numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment