Changes between Version 2 and Version 3 of Ports
- Timestamp:
- Mar 17, 2016, 6:04:30 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ports
v2 v3 1 1 7dtd uses several ports to allow for its functionality. By default these are 2 2 ||= Port =||= Default =||= Protocol =||= Direction =||= Used for =|| 3 || BasePort || 25000 || UDP || In || Game || 4 || BasePort+1 || 25001 || UDP || In || Game || 5 || BasePort+2 || 25002 || UDP || In || Game || 3 || BasePort || 26900 || UDP || In || Game || 4 || BasePort+1 || 26901 || UDP || In || Game || 5 || BasePort+2 || 26902 || UDP || In || Game || 6 || BasePort || 26900 || TCP || In || Game || 6 7 || WebControlPort || 8080 || TCP || In || Web based control panel || 8 || WebControlPort+2 || 8082 || TCP || In || Web Panel of the [Server fixes] || 7 9 || TelnetPort || 8081 || TCP || In || Telnet control || 8 10 || 270xx || || UDP || Out || Registering at the server list || … … 17 19 iptables -A OUTPUT -s <yourServerIp>/32 -p udp --dport 27000:27099 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT 18 20 iptables -A INPUT -d <yourServerIp>/32 -p udp --sport 27000:27099 -m state --state RELATED,ESTABLISHED -j ACCEPT 19 iptables -A INPUT -d <yourServerIp>/32 -p udp --dport 25000:25002 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT 20 iptables -A OUTPUT -s <yourServerIp>/32 -p udp --sport 25000:25002 -m state --state RELATED,ESTABLISHED -j ACCEPT 21 iptables -A INPUT -d <yourServerIp>/32 -p udp --dport 26900:26902 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT 22 iptables -A OUTPUT -s <yourServerIp>/32 -p udp --sport 26900:26902 -m state --state RELATED,ESTABLISHED -j ACCEPT 23 iptables -A INPUT -d <yourServerIp>/32 -p tcp --dport 26900 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT 24 iptables -A OUTPUT -s <yourServerIp>/32 -p tcp --sport 26900 -m state --state RELATED,ESTABLISHED -j ACCEPT 21 25 }}} 22 26 … … 25 29 26 30 Opening the 7dtd Telnet port to the whole internet may pose security issues as the connection has no protection. The least that could happen is people doing random stuff on your 7dtd server but it could also be that attackers find security holes in the engine and gain further access to the host. 31 32 If you have no password set for Telnet the port is only listening on the loopback interface! 27 33 28 34 Therefore you should block the ports used for Telnet by a firewall.