-------- Original Message --------
Subject: RE: [Shorewall-users] Hosting Starcraft games
Date: Sat, 17 Jul 2004 06:57:58 -0400
From: Bill Shirley <bill@shirleyfamily.net>
To: Tom Eastep <teastep@shorewall.net>
Thanks, works like a charm. To recap for the archives:
To host Starcraft games on bnet from behind a Shorewall
firewall, remap the port numbers for each PC:
/etc/shorewall/rules
DNAT inet2 lan4:192.168.4.2:6112 udp 6115
DNAT inet2 lan4:192.168.4.3:6112 udp 6116
DNAT inet2 lan4:192.168.4.4:6112 udp 6117
[root@elmo root]# egrep ''^[^#]'' /etc/shorewall/start
run_iptables -t nat -I POSTROUTING -p udp -s 192.168.4.2/32 --sport 6112
-j SNAT --to hide.my.real.ip:6115
run_iptables -t nat -I POSTROUTING -p udp -s 192.168.4.3/32 --sport 6112
-j SNAT --to hide.my.real.ip:6116
run_iptables -t nat -I POSTROUTING -p udp -s 192.168.4.4/32 --sport 6112
-j SNAT --to hide.my.real.ip:6117
Again, thanks!
Bill
PS. I''m not on the list.
> -----Original Message-----
> From: Tom Eastep [mailto:teastep@shorewall.net]
> Sent: Friday, July 16, 2004 1:04 PM
> To: Mailing List for Shorewall Users; bill@shirleyfamily.net
> Subject: Re: [Shorewall-users] Hosting Starcraft games
>
>
> Bill Shirley wrote:
>
> >
> > My question is: How do I enter the iptables command into
> > a Shorewall table?
>
>
> http://shorewall.net/shorewall_extension_scripts.htm
>
> -Tom
> --
> Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
> Shoreline, \ http://shorewall.net
> Washington USA \ teastep@shorewall.net
>
>
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \ http://shorewall.net
Washington USA \ teastep@shorewall.net