UDP packets to PC behind NAT

Paul Rubin http
Sat Sep 16 16:11:17 EDT 2006


"Janto Dreijer" <jantod at gmail.com> writes:
> > Most dynamic NAT gateways will respond to an outgoing UDP datagram by
> > mapping the internal client's UDP port to a UDP port on the NAT
> > gateway's external interface, and setting a converse mapping that will
> > allow the server to respond, even though technically there isn't a
> > "connection". The NAT table entries will typically be timed out after a
> > short period of non-use.
> 
> So are you saying one can't use TCP to punch a hole for UDP?

You might look at some of the Q2Q stuff that simulates TCP over UDP.

http://divmod.org/trac/wiki/DivmodVertex

http://twistedmatrix.com/users/moshez/q2q.html



More information about the Python-list mailing list