[PD] UDP server with Pd

Roman Haefeli reduzent at gmail.com
Thu Jun 3 00:46:05 CEST 2021

On Wed, 2021-06-02 at 17:29 -0400, Martin Peach wrote:
> What is/are the issue{s} with firewall + NAT? Asking because I never
> used either, I only ever use them on a  LAN.

From what I know, NAT firewalls forward packets coming back from a
public server only when previously a matching packet was sent from the
client behind the firewall. They remember src and dst address of the
outgoing packets and forward packets from the server (with reverse src
and dst address) back to the client. If the client doesn't send
anything for a certain while, the firewall "forgets" about the

Client sends packet:
UDP(src:( dst:(

Firewall translates this to:
UDP(src:( dst:(

Server responds:
UDP(src:( dst:(

Firewall looks it up in its translation table and forwards it
to the local client:
UDP(src:( dst:(

If the server uses a different src address (for instance, different
port), the firewall simply discards the packet because it doesn't match
anything in its lookup table. 

Also, some firewall also translate the port number. Many try to keep
the port number, but that's not always possible, if - for example - two
different local clients use the same bind port for a connection to the
same destination address.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210603/4a367cb4/attachment.sig>

More information about the Pd-list mailing list