IPTables filtering what should be allowed outbound traffic
From: SmittyBroham (smittybroham_at_hotmail.com)
Date: 09/30/05
- Next message: Moe Trin: "Re: Router Recommendations"
- Previous message: holiday: "Re: nfs mount problems"
- Next in thread: Llanzlan Klazmon: "Re: IPTables filtering what should be allowed outbound traffic"
- Reply: Llanzlan Klazmon: "Re: IPTables filtering what should be allowed outbound traffic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Sep 2005 16:18:41 -0700
Hello all,
I have a very simple firewall ruleset on a single interface which
should only be blocking everything inbound except to ports 22, 80, and
90.
My iptables rules are:
[root@ddcpq mlewis]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp
dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:90
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
DROP tcp -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@ddcpq mlewis]#
As you can see, I have no output filters defined.
The problem is, with these exact rules above loaded, I am unable to
send any outbound traffic save for ICMP. For example, I can ping our
mail server, but I can not 'telnet mail.server.com 110', it just hangs.
I would like to allow all outbound traffic from our server with no
restrictions.
I'm running Red Hat Linux release 8.0 (Psyche) with iptables v1.2.6a.
These same symptoms are present on an entirely different virtual server
we manage as well, so I must be missing something fundamental. Anyone
know what it is?
- Next message: Moe Trin: "Re: Router Recommendations"
- Previous message: holiday: "Re: nfs mount problems"
- Next in thread: Llanzlan Klazmon: "Re: IPTables filtering what should be allowed outbound traffic"
- Reply: Llanzlan Klazmon: "Re: IPTables filtering what should be allowed outbound traffic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|