Whats the command to open up firewall ports?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
ScratchMonkey
Sent: Sunday, December 26, 2004 12:14 AM
To: [email protected]
Subject: Re: [hlds_linux] Iptables help! ;-)


Some extra stuff to add:

iptables -t mangle -A PREROUTING -p udp -j TOS --set-tos Minimize-Delay

This takes every UDP packet and sets the Type of Service field to request
that routers give it priority.

Now download the Wondershaper from http://lartc.org/ and set the upstream
and downstream values to match your connection and run it with each boot.
It will set up priority queues for your network cards, and the above
iptables command will ensure that your UDP packets go out before any TCP
packets (like P2P and other file transfer stuff). It also gives priority to
TCP acks, which keeps big uploads from interfering with downloads
(including web viewing).

For endpoints, run the same iptables command with PREROUTING changed to
OUTPUT. (PREROUTING is for forwarders (ie. routers), while OUTPUT is used
for endpoints (like game servers).

If you use a Linksys WRT54G/GS (the S version has the super wireless mode
and more memory), you're running a Linux router. Get the replacement
firmware at http://Sveasoft.com/. It has the wondershaper built in (enable
the QoS feature) and you just need to send it the above iptables command
using one of the menus.

All of this also applies for clients, not just servers, and for VOIP as
well as game traffic (since VOIP is usually UDP-based).

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux





_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to