Yggdrasil opens a computer causing other Yggdrasil users to become kind of LAN peers #1297
-
|
Services running on a home computer behind NAT are not usually exposed to internet users/peers, but only to LAN peers. Enabling Yggdrasil in its default configuration exposes the services to all Yggdrasil peers like if they are in same LAN. Can this behavior be changed so by default this does not happen and user needs to manually expose ports to Yggdrasil? How to fix this inside the /etc/yggdrasil/yggdrasil.conf ? My current Linux iptables (sudo iptables -S INPUT) contains: i wanted to have these rules, because OpenVPN also is using tun interface, if I am not mistaken. To me (a layman) i would expect some clear warning on a prominent place of a Yggdrasil site, wiki/docs, that mine mentioned "issue" will happen upon starting Yggdrasil and examples on how to prevent that. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
|
for your specific firewall configuration, changing yggdrasil to use interface ygg0 would solve this issue since both openvpn and yggdrasil are racing to make a tun interface with the default naming scheme (tun+). when setting up network level services this is a well defined issue, documenting it for the lay man would help sure but there is a lot of prerequisite knowledge you are expected to either know or pick up along the way and we're not a networking/sysadmin course. we can't cover it all for the layman. |
Beta Was this translation helpful? Give feedback.
-
|
It's not as simple as just "changing the behaviour", the only two options for fixing this problem are:
|
Beta Was this translation helpful? Give feedback.
It's not as simple as just "changing the behaviour", the only two options for fixing this problem are: