LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 01-23-2011, 08:27 PM   #1
schapman43
LQ Newbie
 
Registered: May 2005
Posts: 24

Rep: Reputation: 15
Traffic not passing through iptables


I did some playing around changing up the configuration of my server and now cannot pass traffic through to port 22. I have since restored everything back to the way it was but am still not able to ssh into the server.

nmap only shows port 80 and 5222 open. Both ports that I want open. However I am unable to get 22 to pass.

iptables -nL shows
http://www.theprepared.com/images/tech/iptables_nL.PNG

netstat -an |grep 22 shows
http://www.theprepared.com/images/tech/netstat.PNG

I've tried clearing the routing table with the following which did no good.
ip route flush table main

Can somone point me in the right direction?

Last edited by schapman43; 01-23-2011 at 08:34 PM.
 
Old 01-23-2011, 10:05 PM   #2
schapman43
LQ Newbie
 
Registered: May 2005
Posts: 24

Original Poster
Rep: Reputation: 15
I'm an idiot, please disregard. The machine I was using to test SSH is behind a firewall that I reconfigured yesterday. I failed to open port 22 outgoing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Passing traffic to Squid using Iptables Yahooguntu Linux - Networking 1 08-29-2009 12:57 AM
[HELP] redirect traffic to spesific port based on Traffic Content using iptables summersgone Linux - Server 2 06-22-2009 11:26 AM
passing internet traffic through a vpn granduke Linux - Networking 1 10-03-2008 02:52 PM
Router not passing internet traffic Spinlock Linux - Wireless Networking 2 02-02-2006 04:55 PM
PPP Through Slackware 9.1 -- No traffic passing bburgy Linux - Software 4 08-05-2004 01:13 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration