LinuxQuestions.org
Review your favorite Linux distribution.
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 01-15-2004, 05:36 PM   #1
countcobolt
LQ Newbie
 
Registered: Nov 2002
Location: Belgium
Distribution: Slackware
Posts: 25

Rep: Reputation: 15
Firewall setting up via iptables not able to get out


Hi everyone,

I am building on a firewall and seem to have a little problem
when connected to the firewall/Router, I cannot ping to other systems. Neither on the inside nor the outside. I have been trying to figure out what went wrong. I accepted the forward by echo ....
I did a simple drop on all protocols. (INPUT, OUTPUT, FORWARD). When I want to do a ping to a system inside or outside the network I can't. I get sendmgr: operation not permitted.
I have opened up all ports between 1024:65665 and dropped everything below.
When I try to ssh to an internal system I also don't get any connection. Any ideas?
All welcome
thx in advance
Steve
 
Old 01-15-2004, 06:43 PM   #2
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
add
iptables -I OUTPUT -p ICMP -j ACCEPT;

also when trying to troubleshoot problems add to the end of the chain a log entry. You can then tail -f /var/log/messages; to see the packets bing droped.
iptables -A OUTPUT -j LOG --log-prefix "OUTPUT";
iptables -A INPUT -j LOG --log-prefix "INPUT";
iptables -A FORWARD -j LOG --log-prefix "FORWARD";
 
  


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
Iptables with iptables-firewall.conf arno's matt3333 Slackware 16 06-28-2007 07:20 AM
iptables firewall ninjaz Linux - Networking 2 10-20-2005 10:19 AM
IPTABLES firewall Vs rc firewall netguy2000 Linux - Security 7 02-28-2004 04:31 AM
Setting up Firewall, iptables duerra Linux - Newbie 3 01-22-2004 12:26 PM
Help!!! Setting up a firewall using IPTables seidren Linux - Networking 2 08-20-2003 02:27 PM

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

All times are GMT -5. The time now is 11:51 AM.

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