/etc/network/interfaces
auto lo iface lo inet loopback allow-hotplug eth0 iface eth0 inet dhcp
auto lo iface lo inet loopback iface eth0 inet static address 192.168.1.7 network 192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255 gateway 192.168.1.1 dns-nameservers 192.168.1.1
apt-get install telnetd
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd
in.telnetd: 127.0.0.1 192.168.1.0/24
/etc/init.d/openbsd-inetd restart