• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1iptables-translate -A INPUT -p sctp --dport 80 -j DROP
2nft add rule ip filter INPUT sctp dport 80 counter drop
3
4iptables-translate -A INPUT -p sctp --sport 50 -j DROP
5nft add rule ip filter INPUT sctp sport 50 counter drop
6
7iptables-translate -A INPUT -p sctp ! --dport 80 -j DROP
8nft add rule ip filter INPUT sctp dport != 80 counter drop
9
10iptables-translate -A INPUT -p sctp ! --sport 50 -j DROP
11nft add rule ip filter INPUT sctp sport != 50 counter drop
12
13iptables-translate -A INPUT -p sctp --sport 80:100 -j ACCEPT
14nft add rule ip filter INPUT sctp sport 80-100 counter accept
15
16iptables-translate -A INPUT -p sctp --dport 50:56 -j ACCEPT
17nft add rule ip filter INPUT sctp dport 50-56 counter accept
18
19iptables-translate -A INPUT -p sctp ! --sport 80:100 -j ACCEPT
20nft add rule ip filter INPUT sctp sport != 80-100 counter accept
21
22iptables-translate -A INPUT -p sctp ! --dport 50:56 -j ACCEPT
23nft add rule ip filter INPUT sctp dport != 50-56 counter accept
24
25iptables-translate -A INPUT -p sctp --dport 80 --sport 50 -j ACCEPT
26nft add rule ip filter INPUT sctp sport 50 dport 80 counter accept
27
28iptables-translate -A INPUT -p sctp --dport 80:100 --sport 50 -j ACCEPT
29nft add rule ip filter INPUT sctp sport 50 dport 80-100 counter accept
30
31iptables-translate -A INPUT -p sctp --dport 80 --sport 50:55 -j ACCEPT
32nft add rule ip filter INPUT sctp sport 50-55 dport 80 counter accept
33
34iptables-translate -A INPUT -p sctp ! --dport 80:100 --sport 50 -j ACCEPT
35nft add rule ip filter INPUT sctp sport 50 dport != 80-100 counter accept
36
37iptables-translate -A INPUT -p sctp --dport 80 ! --sport 50:55 -j ACCEPT
38nft add rule ip filter INPUT sctp sport != 50-55 dport 80 counter accept
39