Nah, manAlso I would consider blocking port 10011 because it is a telnet => unsecure. Instead of it open port 10022 which is a port for TS3 Query over SSH which is secure
It is so hard to recreate these rules without using the netfilter module, which is ipset. In this case, you should list the ip addresses. That's why, you should use ipset to list the ip addresses.Is there anyway to recreate these rules without using ipset?
Apparently my barebones VPS doesn't support ipset.
-A PREROUTING -j R4P3 // send all packets to main R4P3 chain to block the traffic well"
Please delete quotation mark, which is "Help me please
Error occurred at line: 20
Code:-A PREROUTING -j R4P3 // send all packets to main R4P3 chain to block the traffic well"
What should I do?
-A PREROUTING -j R4P3 // send all packets to main R4P3 chain to block the traffic well
Please delete quotation mark, which is "
So the rule is going to be below;
Code:-A PREROUTING -j R4P3 // send all packets to main R4P3 chain to block the traffic well
root@vps11151:~# iptables-restore < firewall
iptables-restore v1.6.0: Set ts3_allowed doesn't exist.
Error occurred at line: 21
You have to create ts3_allowed ipset.Okay, now this is it ;/
Code:root@vps11151:~# iptables-restore < firewall iptables-restore v1.6.0: Set ts3_allowed doesn't exist. Error occurred at line: 21
Open the script and check where the syntax error is located at. I guess you need to change something related to this.root@ts3:~# sudo ./ts3-protection.sh
./ts3-protection.sh: 12: ./ts3-protection.sh: *raw: not found
./ts3-protection.sh: 13: ./ts3-protection.sh: Syntax error: "(" unexpected
root@ts3:~# nano ts3-protection.sh
how to fix?