1753770 Members
4917 Online
108799 Solutions
New Discussion

Re: About telnet

 
SOLVED
Go to solution
Steven E. Protter
Exalted Contributor

Re: About telnet

To permanently disable the firewall,
mv /etc/rc3.d/S08iptables /etc/rc3.d/s08iptables

making it a little s preserves if for after you get attacked and want to bring it back.

bad idea. firewalls are GOOD.


rename the softlink that starts it or null out the config file. Firewalls are good though, you might just want to add a line to iptables(I don't think ipchains was in RH8)

/etc/sysconfig/iptables

-A INPUT -i eth0 -p tcp -m tcp --dport 22 -j okay

Same basic idea in ipchains. enable telnet.

Also make sure the service is enabled in /etc/xinetd.d/telnet file

disable=no

service xinetd restart

SEP
Will work for points or money.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Stuart Browne
Honored Contributor

Re: About telnet

Incidentally, the easier/cleaner way to disable the firewall is to use:

chkconfig iptables off

It does all the messing around with the /etc/rc.d/* files for you.
One long-haired git at your service...