On Wed, Jan 30, 2008 at 06:09:46PM +0100, sich wrote:

> > I have trouble making a tinc daemon on a Windows XP machine behave properly.
> > In order to let the connection go through the (NAT) firewall I need to
> > be able to pinpoint the exact portnumber used, so I can make the
> > proper rewriting rules.
> > 
> > However when I don't specify any Port number the firewall receives
> > connection attempt for the other tinc machine on the internet from a
> > "random" high port number (1025 and up, increasing with each attempt).
> > 
> > If I *do* specify a Port directive in the Host configuration then the
> > daemon is still using the "random" high portnumbers.
[...]
> The tinc port is the destination port. The source port is randomly generate.

The source port of tinc's TCP connections is random, but each tinc
daemon will use a fixed source port for UDP packets. If you see UDP
packets from random port numbers, there is a NAT somewhere in your
network. You can add "TCPOnly = yes" to tinc.conf to tunnel everything
via TCP.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to