ntop / n2n

Peer-to-peer VPN
GNU General Public License v3.0
6.18k stars 930 forks source link

Ping by hostname? #986

Closed Sadtrxsh closed 2 years ago

Sadtrxsh commented 2 years ago

Hello, I am wondering how to make edges able to ping each other by hostname without adding them manually to /etc/hosts Any suggestions? Thanks in advance

Logan007 commented 2 years ago

How about mDNS (or other solutions suggested in that thread)?

As you mention /etc/hosts, I assume you are on Linux. Avahi seems one or the way to go then – should you decide for mDNS. It can possibly be limited to n2n's VPN netowork interface, see allow-interfaces=.

Logan007 commented 2 years ago

Considered answered. Please re-open if required.