UDP Listening a Different Port

Guus Sliepen guus at tinc-vpn.org
Fri Apr 24 11:34:47 CEST 2015


On Wed, Apr 15, 2015 at 10:28:36PM +0900, Benda Xu wrote:

> I am behind a firewall which only let UDP 80 go through.  In order to
> connect to an outside public node by UDP, I can set
> 
>     ...
>     Port = 80
>     ...
> 
> However, an httpd is running on the public node, occupying TCP 80.
> 
> How can I configure tinc to bind on TCP 8080 but listen to UDP 80?
> 
> Redirecting UDP 80 to UDP 8080 on the public node is one method.  Is
> there a more elegant way to achieve this?

At the moment, tinc only wants to bind to both TCP and UDP
simultaneously, so you cannot tell it to bind to port 80 for UDP only.
Redirecting with firewall rules is the easiest option in this scenario.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20150424/f6fcd429/attachment.sig>


More information about the tinc mailing list