Telnet is not working with iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

i am facing a lil bit problem, hope anyone out there can help me...


i want to open specific port using iptables i.e 3159

Whenever i tried to telnet it generates the following error


# telnet 172.16.4.100 3195
Trying 172.16.4.100...
telnet: connect to address 172.16.4.100: No route to host
telnet: Unable to connect to remote host: No route to hostbut when I stopped iptables 


# service iptables stopIts working fine

i added the ports in iptables i.e.


#iptables -A INPUT -p tcp --dport 3195 -j ACCEPTfor safe side I also added telnet port


#iptables -A INPUT -p tcp --dport 23 -j ACCEPT
but result was same....

In short telnet works without iptables but with iptables it generates the error mentioned above
 

 
Best Regards,

Shariq Siddiqui
Advanced Operations Technology
PO.Box : 25904 - Riyadh 11476
Riyadh Saudi Arabia
Tel : +966 1 291 0605 -
Fax:+966 1 291 3328

 
 


      
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux