firewall clarification

This commit is contained in:
ed 2018-01-31 20:41:48 +01:00 committed by GitHub
parent 4ae405c1b6
commit dfb2dd7567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ you can even `exec 147<>/dev/tcp/r0c.int/531;cat<&147 &while read -rN1 x;do prin
## firewall rules
you'll want to port-forward `23` to `2323` for telnet and `531` to `1531` for plaintext:
telnet uses port 23 by default, so on the server you'll want to port-forward `23` to `2323` (and `531` to `1531` for plaintext):
```bash
iptables -A INPUT -p tcp --dport 23 -m state --state NEW -j ACCEPT