Re: Help with UDP + IP Masqueraded Networks

Ben Abarbanel (root@baces.com)
Sat, 14 Sep 1996 23:47:39 +0100


Thanks,
Ben

On Sat, 14 Sep 1996, Jos Vos wrote:

> > I have not gotten a reply from anyone, does that mean you don't know the
> > answer or don't care?
>
> Everybody thought someone else would answer :-)
>
> > > > > I am trying to run some applications that pass UDP packets from my
> > > > > masqueraded linux gateway from the Internet to one of my masqueraded
> > > > > hosts (win 95). It appears that UDP packets are getting lost.
> > > > > Do we have a fix for the IP masquerade code that works around this problem?
>
> What are you _exactly_ trying to do and in what order?
>
> UDP (de)masquerading (as far as implemented) for a pseuso-UDP-session
> (UDP has no sessions) is initiated when a first packet is passing, from a
> masqueraded host to "the outside world". Then (and only then) reply
> packets (as far as you can speak about replies with UDP) from the outside
> world to the masqueraded host will be demasqueraded and forwarded.
>
> Reading your question more carefully, you _might_ want to send the "first"
> UDP packet of a "session" (again, just using bad terminology) from the
> outside world.
>
> If this is what you want/need: this just can't be done with masquerading.
> In future versions of Linux, IP address remapping will be supported, which
> will make possible what you want to do.
>
> --
> -- Jos Vos <jos@xos.nl>
> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
> -- Amsterdam, The Netherlands | Fax: +31 20 6948204
>