game server rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

was wondering if anyone has successfully setup a ruleset for a quake3 server
with iptables ?

this is the ruleset i have in place so far, but i keep getting the following
error:

NET_SendPacket ERROR: Operation not permitted to <connecting ip>:27960

is there something that i am missing for the ruleset ?

iptables -A INPUT -i $IFACE1 -d $IPADDR3 -p udp --dport 27960 -m state
--state NEW,ESTABLISHED -j ACCEPT
iptables -A INPUT -i $IFACE1 -d $IPADDR3 -p tcp --dport 27960 -m state
--state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o $IFACE1 -s $IPADDR3 -p udp --sport 27960 -m state
--state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -o $IFACE1 -s $IPADDR3 -p tcp --sport 27960 -m state
--state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -i $IFACE1 -d $IPADDR3 -p udp --dport 27960 -m state
--state ESTABLISHED -j ACCEPT
iptables -A INPUT -i $IFACE1 -d $IPADDR3 -p tcp --dport 27960 -m state
--state ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o $IFACE1 -s $IPADDR3 -p udp --dport 27960 -m state
--state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -o $IFACE1 -s $IPADDR3 -p tcp --dport 27960 -m state
--state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -i $IFACE1 -d $IPADDR3 -p udp --sport 27960 -m state
--state ESTABLISHED -j ACCEPT
iptables -A INPUT -i $IFACE1 -d $IPADDR3 -p tcp --sport 27960 -m state
--state ESTABLISHED -j ACCEPT

thanks in advance for any suggestions

Dom


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux