Changes between Version 2 and Version 3 of Ports


Ignore:
Timestamp:
Mar 17, 2016, 6:04:30 PM (9 years ago)
Author:
Christian Illy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ports

    v2 v3  
    117dtd uses several ports to allow for its functionality. By default these are
    22||= 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 ||
    67|| WebControlPort || 8080 || TCP || In || Web based control panel ||
     8|| WebControlPort+2 || 8082 || TCP || In || Web Panel of the [Server fixes] ||
    79|| TelnetPort || 8081 || TCP || In || Telnet control ||
    810|| 270xx || || UDP || Out || Registering at the server list ||
     
    1719iptables -A OUTPUT -s <yourServerIp>/32 -p udp --dport 27000:27099 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
    1820iptables -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
     21iptables -A INPUT  -d <yourServerIp>/32 -p udp --dport 26900:26902 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
     22iptables -A OUTPUT -s <yourServerIp>/32 -p udp --sport 26900:26902 -m state --state RELATED,ESTABLISHED     -j ACCEPT
     23iptables -A INPUT  -d <yourServerIp>/32 -p tcp --dport 26900 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
     24iptables -A OUTPUT -s <yourServerIp>/32 -p tcp --sport 26900 -m state --state RELATED,ESTABLISHED     -j ACCEPT
    2125}}}
    2226
     
    2529
    2630Opening 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
     32If you have no password set for Telnet the port is only listening on the loopback interface!
    2733
    2834Therefore you should block the ports used for Telnet by a firewall.