Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Tony Howden 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
-
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
-
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