[mohaa] Question about server

Jacob Huizenga jhuizenga at home.nl
Fri Feb 14 05:56:20 EST 2003


<Quote>
All,

I think this 2 question is stuppid in you're eyes, but i'm getting
desperate. After 3 long nights (upon 4 o'clock in the morning) still my
server is not up.

Here are my questions :

1. When i startup my server everything is working fine, but the server
is not shown in gamespy or in mohaa itself. Now you think oooh you
didn't open you're upd/tcp ports.. That's not the issue all the ports
(found on several internet sites) are open. But to be sure here they are
:
</Quote>


Hello Quint,

You forgot the OUTPUT rules in your IPTABLES script I'm affraid.
Below you can find the part of my Firewall script, it works fine with
MOHAAS server overhere..
When have Xtra questions about this, you can  mail me directly - in
Dutch :) -.


if [ $MOHAAS_SERVER = yes ] ; then
  echo "Allow Medal of Honor Spearhead server.."
  $IPTABLES -A INPUT  -i $EXTERNAL_INTERFACE -p udp \
            -s $ANYWHERE -d $IPADDR \
            --source-port $UNPRIVPORTS --destination-port 12203  -j
ACCEPT

  $IPTABLES -A OUTPUT -o $EXTERNAL_INTERFACE -p udp \
            -s $IPADDR -d $ANYWHERE \
            --source-port 12203 --destination-port $UNPRIVPORTS -j
ACCEPT

  $IPTABLES -A INPUT  -i $EXTERNAL_INTERFACE -p udp \
            -s $ANYWHERE -d $IPADDR \
            --source-port $UNPRIVPORTS --destination-port 12210  -j
ACCEPT

  $IPTABLES -A OUTPUT -o $EXTERNAL_INTERFACE -p udp \
            -s $IPADDR -d $ANYWHERE \
            --source-port 12210 --destination-port $UNPRIVPORTS -j
ACCEPT

  $IPTABLES -A INPUT  -i $EXTERNAL_INTERFACE -p udp \
            -s $ANYWHERE -d $IPADDR \
            --source-port $UNPRIVPORTS --destination-port 12300  -j
ACCEPT

  $IPTABLES -A OUTPUT -o $EXTERNAL_INTERFACE -p udp \
            -s $IPADDR -d $ANYWHERE \
            --source-port 12300 --destination-port $UNPRIVPORTS -j
ACCEPT


fi



-- Jacob





More information about the Mohaa mailing list