Koozali.org: home of the SME Server

Asheron's Call

Tony Howden

Asheron's Call
« on: December 16, 2002, 03:10:34 PM »
Hi All

I searched the forums and could not see anything that explained this, so I figured I'd post the results of what I found out as a fix.

You want to play Asherons Call game from behind the SME firewall and the connection to the server in the game appears but then drops out (i.e. the first blue bar completes but the second doesn't even start).

To fix this from the SME server console enter

#echo "2" > /proc/sys/net/ipv4/ip_masq_udp_dloose

the to confirm

#cat /proc/sys/net/ipv4/ip_masq_udp_dloose

should result in an output of

2

Do this before you start the AC game from your workstation, or reboot if necessary.

The one thing I'd really like to know is how to include this line in the start up sequence of the server, so that I do not need to repeat this process after each server reboot.

cheers
Tony

Dan G.

Re: Asheron's Call
« Reply #1 on: December 16, 2002, 05:13:16 PM »
This seems appropriate for the masq template.

mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/
cd /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/

Create a file called 47LooseUDP:

vi (or pico or mcedit) 47LooseUDP

Add this line:
echo "2" > /proc/sys/net/ipv4/ip_masq_udp_dloose

Save file and rebuild the template with:

/sbin/e-smith/expand-template /etc/rc.d/init.d/masq

Update running config:
/etc/rc.d/init.d/masq restart

Tony Howden

Re: Asheron's Call
« Reply #2 on: December 31, 2002, 08:58:09 AM »
Thanks Dan. That seems to do the trick. If I find time, I'll do a quick copy and paste of this into a how-to.

cheers
Tony