LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-10-2003, 05:45 PM   #31
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48

OK,
that was from the OUTPUT chain, 'OUT=eth0'
I'm going to ask you to clear all the OUTPUT rules and change the OUTPUT policy to ACCEPT.
It's a safe thing to do, coz If you can't trust what your box is sending out, there are bigger problems to deal with...
Do you know how to start the firewall script again later?
if so, pls do
iptables -P OUTPUT ACCEPT
iptables -F OUTPUT
and try to telnet in from remote, watching /var/log/messages.
 
Old 03-10-2003, 05:58 PM   #32
jrw3179
LQ Newbie
 
Registered: Mar 2003
Posts: 22

Original Poster
Rep: Reputation: 15
OK when i log in locally it says
login(pam_unix) [2061] session opened for xxxxxx
and shows me log out also...

but i tried connecting from outside, and it showed nothing .. and no connection was established

Jay
 
Old 03-10-2003, 06:05 PM   #33
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Ok, add these rules to improve the logging..
iptables -t nat -A PREROUTING -p tcp --dport 22:23 -j LOG --log-prefix "nat_in "
iptables -I INPUT -p tcp --dport 22:23 -j LOG --log-prefix "INPUT_in "
 
Old 03-10-2003, 06:48 PM   #34
jrw3179
LQ Newbie
 
Registered: Mar 2003
Posts: 22

Original Poster
Rep: Reputation: 15
Ok i added those and still cant connect.. I was messing with Firestarter and opened up 23 and it still doesnt work...
I am frustrated beyond belief..
maybe my server is not set up right... wanna try that?
Jay (runnin outta ideas)
 
Old 03-11-2003, 02:48 PM   #35
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
You must be able to see the packets in the /var/log/messages file before doing any more on the RH box.
The PREROUTING log entry will catch the packet as it first arrives in the box, proving that they are arriving ok.

If there's nothing in the logs, we have to go back to the router...

An even look at the possibility that your ISP is blocking some of the common server ports. You can use ANY port number to connect from the outside, make the router pass it ok and just redirect it to 23 once it gets to your box ok.

You are telnetting from an outside location, so check that it can connect ok to another site... (just to prove beyond doubt)
 
Old 03-11-2003, 05:16 PM   #36
jrw3179
LQ Newbie
 
Registered: Mar 2003
Posts: 22

Original Poster
Rep: Reputation: 15
OK so lets say i try to set it at port 5555 from my router... how would i have my rh box recognize port 5555 and throw it to port 23...
Jay
 
Old 03-12-2003, 01:18 AM   #37
jrw3179
LQ Newbie
 
Registered: Mar 2003
Posts: 22

Original Poster
Rep: Reputation: 15
SUCCESSS!!!!!!!!!!

Thanks YOU SO MUCH>> Ended up being my router blocking that port out...

I cant thank you enough for helping me out.. only to run into another stupid problem...
[root@server bin]# redhat-config-users
/usr/share/redhat-config-users/redhat-config-users: line 4: 1945 Segmentation fault /usr/bin/python2.2 /usr/share/redhat-config-users/redhat-config-users.py

I get that error when i try to add a users... I click on the add user button, nothing happened.. so i typed it in terminal.. and i get that error message..
Any clue??
Jay
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
networking redhat linux (newbie stuff) govtlinux Red Hat 1 09-14-2004 09:13 PM
Help Newbie Networking rmsat Linux - Networking 2 06-29-2004 04:26 PM
Networking Newbie Nice Guy Eddie Linux - Networking 6 05-17-2003 07:01 AM
Networking Newbie Nice Guy Eddie Linux - Networking 1 05-04-2003 01:35 AM
Networking newbie lolmc Linux - Networking 3 12-29-2001 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration