Le port d'écoute du service est spécifié grace à l'option listen_on:
# The endpoint to listen on.
#
# The endpoint can be in both numeric and hostname format, and must always
# contain a port specification.
#
# Hostnames are resolved using the method specified by
# network.hostname_resolution_protocol.
#
# Using a numeric value is recommended.
#
# Example values: 0.0.0.0:12000, [::]:12000, localhost:12000, 10.0.0.1:12000
# Default: 0.0.0.0:12000
listen_on=0.0.0.0:12000
Le choix des ports est libre sur chaque noeud, il faut simplement contacter un noeud sur le port (public dans le cas d'un NAT) sur lequel il écoute.
Pour les contacts, on peut spécifier autant d'option contact qu'il y a de contacts:
# The contact list.
#
# The list of hosts to connect to.
#
# You may repeat the contact option to add several hosts.
#
# Default: <none>
contact=alice.example.org:12345
contact=bob.example.org:4545
[^] # Re: Ports des contacts ?
Posté par ereOn . En réponse à la dépêche Freelan : un nouveau venu dans le monde des VPN peer-to-peer. Évalué à 5. Dernière modification le 24 avril 2012 à 16:39.
Le port d'écoute du service est spécifié grace à l'option listen_on:
Le choix des ports est libre sur chaque noeud, il faut simplement contacter un noeud sur le port (public dans le cas d'un NAT) sur lequel il écoute.
Pour les contacts, on peut spécifier autant d'option contact qu'il y a de contacts:
J'espère avoir bien répondu à tes questions ?