2001-02-14 05:56:47

by TeknoDragon

[permalink] [raw]
Subject: Destination Loose UDP in 2.4 (net/ipv4/netfilter)


What is the status of "dloose udp" in 2.4.x? From my reading in a few list
archives it seems to have been some sort of a hack, yet it is needed for
games such as Asheron's Call to be played behind a firewall.

In 2.2.18 the code implementing this seems to be in net/ipv4/ip_masq.c
and was controlled by a sysctl "ip_masq_udp_dloose".

Is there anything in 2.4.x to replace this functionallity? Is there a way
to replace it with an iptables rule? Any help would be much appreciated.


-karl


2001-02-14 16:42:16

by Jeremy Jackson

[permalink] [raw]
Subject: Re: Destination Loose UDP in 2.4 (net/ipv4/netfilter)

TeknoDragon wrote:

> What is the status of "dloose udp" in 2.4.x? From my reading in a few list
> archives it seems to have been some sort of a hack, yet it is needed for
> games such as Asheron's Call to be played behind a firewall.

I use Starcraft behind a 2.4.0 (RH7) masq firewall using
netfilter/nat/iptables and it works fine by default.

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE (or something very
close)

Under redhat 6.2, stock kernel, it also worked. Under 7.0 stock kernel, I
had to echo 1 to that
/proc file you mention below.

>
>
> In 2.2.18 the code implementing this seems to be in net/ipv4/ip_masq.c
> and was controlled by a sysctl "ip_masq_udp_dloose".
>
> Is there anything in 2.4.x to replace this functionallity? Is there a way
> to replace it with an iptables rule? Any help would be much appreciated.
>
> -karl
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/