Firewall rules

Hello everybody,

I don’t really know where to turn, but I thought in the Teamspeak forum that could be right because it is also Teamspeak specific:

I once put together a few firewall rules, but I have a little problem: Unfortunately the Sinusbot page was not accessible :frowning: (sinusbot.mydomain.tld)

iptables -N SERVICES
iptables -A SERVICES -p tcp -m tcp --dport 53 -m comment --comment “Erlaube: DNS” -j ACCEPT
iptables -A SERVICES -p udp -m udp --dport 53 -m comment --comment “Erlaube: DNS” -j ACCEPT
iptables -A SERVICES -p tcp -m tcp --dport 8087 -m comment --comment “Erlaube: SINUSBOT” -j ACCEPT
iptables -A SERVICES -p udp -m udp --dport 21 -m comment --comment “Erlaube: FTP-Zugriff” -j ACCEPT
iptables -A SERVICES -p tcp -m tcp --dport 22 -m comment --comment “Erlaube: SSH-Zugriff” -j ACCEPT
iptables -A SERVICES -j RETURN

iptables -N TEAMSPEAK
iptables -A TEAMSPEAK -p tcp -m tcp --dport 2008 -m comment --comment “Erlaube: TeamSpeak Accounting” -j ACCEPT
iptables -A TEAMSPEAK -p udp -m udp --dport 9987 -m comment --comment “Erlaube: TeamSpeak Voiceport” -j ACCEPT
iptables -A TEAMSPEAK -p tcp -m tcp --dport 10011 -m comment --comment “Erlaube: TeamSpeak ServerQuery” -j ACCEPT
iptables -A TEAMSPEAK -p tcp -m tcp --dport 30033 -m comment --comment “Erlaube: TeamSpeak Avatar” -j ACCEPT
iptables -A TEAMSPEAK -p tcp -m tcp --dport 41144 -m comment --comment “Erlaube: TeamSpeak TSDNS” -j ACCEPT
iptables -A TEAMSPEAK -j RETURN

I quickly tinkered in the accounting port today so that I wouldn’t lose my license :slight_smile:

twitch instagram twitter facebook