LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RHEL 5.5 on Oracle Linux Download iptables - telnet, ftp et al (https://www.linuxquestions.org/questions/linux-newbie-8/rhel-5-5-on-oracle-linux-download-iptables-telnet-ftp-et-al-861265/)

rendcomb@btinternet.com 02-07-2011 06:01 PM

RHEL 5.5 on Oracle Linux Download iptables - telnet, ftp et al
 
Maybe Newbie now haven't played around on Unix for years but 30 years as a User and not a career I want.
I am rebuilding machines at home using some old systems now a RHEL5 and NT Server 4 Pack 6a Enterprise, 2000 Pro and another rebuilt with Windows 98 and I use an Internet (Wi-fi) Router but on Cat 5 mainly linked to an other Router both using NATS and a hub below the second Router but 2 machines on that LAN Segment have dual Network Boards using DHCP on the sub-net router and Gateway on the Internet Router and they do with exception of the RHEL5 have the Internet Access and before I rebuilt the RHEL5 with Oracle VM so did this machine Internet Access.
Question: The 2000 pro and the RHEL 5.5 are on the same subset LAN but to play safe (NATS protects) I modified the Router access permissions. Modified the Iptables for Telnet. pgrep telnet - no. /etc/xinetd.d/telnet - No.
I do appreciate the lack of security on Telnet but 2 machines on the same hub with 2 routers both using NATS creating the "deadfield" and not using IE at all ... so I dont get the "holes!" I dont understand "why on the same subnet, with Port 23 allowed on the RHEL Box and the subnet router" can I not get it too work.

regards

Dave

misconfiguration 02-07-2011 06:05 PM

Telnet isn't recommended be wary of the risks! SSH is installed by default and you should be able to connect right now using port 22!!

Albeit, telnet runs under the xinetd superdaemon now; to install it do this:

*** NOTE ***
You may copy and paste these commands directly to your command line and run them; exclude the '#'

Quote:

# yum install telnet-server -y
# sed -i /etc/xinet.d/telnet -e 's/^disable = yes/disable = no/'
Quote:

# service xinetd restart
Add it to IPtables:
Quote:

# iptables -I INPUT -p tcp --dport 23 -j ACCEPT
Quote:

# service iptables save;service iptables restart
*** Please note ***

You cannot download any packages unless you have an active subscription with RHEL.

rendcomb@btinternet.com 02-09-2011 10:22 AM

Many thanks for the reply
 
Many thanks for the reply. I have now downloaded Ptty and I will install that instead of using Telnet.

Dave


All times are GMT -5. The time now is 04:54 PM.