> If your router does a translation but doesn't keep state, then how do
> you make sure the port numbers of the reply match the port numbers of
> the query?

With a static translation.

> For example: you get a query from IP 1.2.3.4 port 1234 to your router's
> external IP of 8.7.6.5 on port 123.  This translates to 10.0.0.1 port
> 123.  So far, so good.
> The reply from your server has destination 1.2.3.4 port 1234 and source
> 10.0.0.1  port 123.  Your router needs to translate the source address
> and will probably also translate the source port, in case there is no
> state.

You should be able to configure the router ALWAYS to translate packets
from 10.0.0.1 port 123 destined for an outside IP to have source
8.7.6.5 port 123.

This depends on the configurability of the router, of course.

Cheers,

        - Joel
_______________________________________________
timekeepers mailing list
[email protected]
https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers

Reply via email to