iptables
tak, aby: misko
měl povoleno iniciovat pouze spojení na TCP port 80 a 443 do vnitřní sítěiptables -L -n
)FTP démon nainstalujete příkazem apt-get install proftpd. Chodí out-of-box. Uživatele přidáte do systému příkazem adduser.
student@student-desktop:~$ telnet 192.168.9.2 3128 Trying 192.168.9.2... Connected to 192.168.9.2. Escape character is '^]'. ^]quit telnet> quit Connection closed.
student@student-desktop:~$ telnet 192.168.9.2 3123 Trying 192.168.9.2... telnet: Unable to connect to remote host: Connection timed out
student@student-desktop:~$ telnet localhost 23 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused