iptables

From: damien hull <dhull@digitaloverload.net>
Date: Thu Mar 10 2005 - 15:47:21 AKST

I'm trying to setup iptables so I can play games. According to a few
websites iptables has stateful packet filtering. If setup correctly I
should be able to play my games with out any problems. However, I am
unable to play games.

I'm either doing something wrong or Linux firewalls suck. I may be
building an OpenBSD firewall soon. On an OpenBSD firewall I can play
games with out any problems.

Here's my iptables rules. I'm using Fedora Core 3 if that helps any. If
you see something I'm doing wrong let me know.

# Generated by iptables-save v1.2.11 on Thu Mar 10 13:08:05 2005
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Thu Mar 10 13:08:05 2005
# Generated by iptables-save v1.2.11 on Thu Mar 10 13:08:05 2005
*filter
:FORWARD ACCEPT [0:0]
:INPUT DROP [0:0]
:OUTPUT ACCEPT [0:0]
# accept traffic from all interface but not eth1
-A INPUT ! -i eth1 -j ACCEPT
# setup stateful connections on eth1
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
COMMIT
# Completed on Thu Mar 10 13:08:05 2005
# Generated by iptables-save v1.2.11 on Thu Mar 10 13:08:05 2005
*nat
:OUTPUT ACCEPT [0:0]
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -o eth1 -j MASQUERADE
COMMIT

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Mar 10 15:47:29 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 10 2005 - 15:47:29 AKST