[mohaa] Linux IPTABLES and MOHA

André Rivotti Casimiro rivotti at netcabo.pt
Sat Nov 9 09:17:49 EST 2002


Hi Ed,

Supose u have a mohaa server using the port 12203... u must edit the
/etc/sysconfig/iptables file and add the following lines before the COMMIT
line:

-A INPUT -p udp -m udp --sport 12203 -j ACCEPT
-A INPUT -p udp -m udp --dport 12203 -j ACCEPT
-A INPUT -p udp -m udp --sport 12300 -j ACCEPT
-A INPUT -p udp -m udp --dport 12300 -j ACCEPT

I'm using four servers with the ports 12203, 12204, 12205 and 12206...

-A INPUT -p udp -m udp --sport 12203:12206 -j ACCEPT
-A INPUT -p udp -m udp --dport 12203:12206 -j ACCEPT
-A INPUT -p udp -m udp --sport 12300 -j ACCEPT
-A INPUT -p udp -m udp --dport 12300 -j ACCEPT

The 12300 port is needed ... I'm not sure why but I thing it's used by
gamespy.
One thing... I have all OUTPUT accepted.

After edit the file do /etc/init.d/iptables restart. I thing this will help.
If anyone has a better configuration please say so.

Regards
André Rivotti Casimiro
Contifax.com

-----Mensagem original-----
De: Eduardo E. Silva [mailto:esilva at silvex.com]
Enviada: sábado, 9 de Novembro de 2002 6:49
Para: mohaa at icculus.org
Assunto: [mohaa] Linux IPTABLES and MOHA


Has anybody setup a MOH server behind IPtables using a Non-plublic IP
(178.16,
198.168, etc) on the MOH server ?

If so let me know!

Ed Silva
Silvex Consulting Inc.
(714) 504-6870 Cell







More information about the Mohaa mailing list