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


  Search this Thread
Old 01-28-2010, 01:44 AM   #1
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Rep: Reputation: 30
How to check firewall log, a network application fails if client and server are on

How to check firewall log, a network application fails if client and server are on different machine are but works when the two application are on same the machine. I can ping between those two machine. I just wanted to ensure if the issue is because of firewall. I want to know what all connections were attempted recently and which were allowed and which weren't
Old 01-28-2010, 02:37 AM   #2
Senior Member
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
You could use tcpdump or if you have a gui installed use wireshark.
If you're brave you could write some iptables rules and tail -f on /var/log/syslog

iptables -I INPUT -s -j LOG --log-ip-options
iptables -I OUTPUT -d -j LOG --log-ip-options
Also make sure that the services are listening on the outbound interface and not localhost. Use netstat -tulpn to see where and which process are listening.

Cheers Zhjim


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
when box converted to ldap client, it fails to allow any account to log in naivelinux Linux - General 1 08-15-2008 05:12 PM
server client application in c sarahnetworking Programming 4 03-02-2008 05:23 PM
create network access log, block application/domain r00tb33r Linux - Networking 3 02-04-2007 07:28 PM
how do i block an application from accessing network? firewall? hisnumber666isback Linux - Software 1 05-06-2006 10:45 PM

All times are GMT -5. The time now is 04:23 AM.

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