Closed ndo360 closed 1 year ago
There is generally 3 levels of connectivity you want to consider:
Layer 2 (like a physical network, very few VPNs because it carries overhead while needed by very few applications) Layer 3, Common broadcast domain (like nebula, and some other VPNs) Layer 3, Different broadcast domain (like the internet, and some other VPNs)
Layer 2 would be a physical ethernet network, this is usually provided by a virtual device called TAP, where hardware addresses (MACs) are mapped to IPs over ARP. Layer 3 is looking at it without the physical network, usually using a virtual device called TUN, nebula sits here.
Nebula does provide broadcast capabilities - check if your IPs are in the same subnet. (using a /24 subnet mask will give you all addresses in the last byte, e.g. 10.0.0.x/24, excluding x=0 and x=255)
Some games however will directly use ARP, you wouldn't be able to discover gameservers here. I happen to know you can still directly connect over the console if you want to play SCCT Versus, but you might be out of luck on Coop.
@schittler Thanks for the detailed response!
It seems that it may use ARP to discover game sessions... however I will test later today by setting both interface metrics to one and confirm. (To ensure broadcasts are sent through the adapters.)
Also how do you connect through the console? There isn't a direct connect button when searching for a LAN session, so could you explain what console command that is used to directly connect?
Thanks again!
@schittler Greetings again! I just did a test, this time setting the adapter metric to one, and the server still wasn't visible in the server listing... Unsure what to do at the present moment that could fix this.
P.S. If you know the console command off hand, please do post it so I can give that a try. Cheers!
I'm also doing the exact same thing, my goal is to setup a nebula lighthouse on my raspberry pi at home and then connect all of my friends devices using nebula, so that i don't have to be the one who always hosts the server.
I'm pretty sure this would be possible using nebula, i did it with wireguard and it worked.
Also i know that there's multiple ciphers for nebula, which one is the least demanding on the CPU? My goal is to play videogames so the lighter the encryption the better.
After revisiting the issue #136 it appears that using cipher: chachapoly
is better when you're running hardware that doesn't support AES in hardware, however it will be more expensive for normal machines that have AES built in. So i assume, since i haven't found any other cipher possible, that for gaming the best would be to use the default setting given that the machines will be communicating between each other (all with recent hardware of course) and the Raspberry Pi 4 will merely act as a lighthouse all the time, am i correct?
Also if you're not being able to use this game to show up in LAN, try to use direct connect. That happened to me quite often with wireguard and Stardew Valley or even Minecraft, for some reason the host doesn't show up on LAN servers, but if you perform direct connect it will work, if i had to guess it's the way that some games look for hosts that don't allow them to see everybody.
Also is there any setting we should tweak in the firewall section to achieve the biggest performance?
Am I mistaken or is there still a requirement to have the lighthouse on a completely external IP. If I'm understanding correctly the remote friends won't be able to connect to the devices you have on your internal network unless the raspberry pi can only be accessed via an external IP address.
Unless you are using the unsafe routes options. I'm still trying to figure that configuration out.
On Fri, Jul 17, 2020 at 6:22 AM JPUnD notifications@github.com wrote:
After revisiting the issue #136 https://github.com/slackhq/nebula/issues/136 it appears that using cipher: chachapoly is better when you're running hardware that doesn't support AES in hardware, however it will be more expensive for normal machines that have AES built in. So i assume, since i haven't found any other cipher possible, that for gaming the best would be to use the default setting given that the machines will be communicating between each other (all with recent hardware of course) and the Raspberry Pi 4 will merely act as a lighthouse all the time, am i correct?
Also if you're not being able to use this game to show up in LAN, try to use direct connect. That happened to me quite often with wireguard and Stardew Valley or even Minecraft, for some reason the host doesn't show up on LAN servers, but if you perform direct connect it will work, if i had to guess it's the way that some games look for hosts that don't allow them to see everybody.
Also is there any setting we should tweak in the firewall section to achieve the biggest performance?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/slackhq/nebula/issues/168#issuecomment-660052725, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIK3CW72EIRKGJYRUMJHMULR4AX7TANCNFSM4KI3BREA .
I have an open port directed to my raspberry pi like i had with wireguard and it worked just fine, i haven't had the opportunity to test it with somebody else from the outside but that was my next step.
I have a free account for a dns which is pointing to my home IP address, as soon as somebody tries to connect to my IP using nebula the port 1337, which is the only i'm using for all nebula communication, will be forwarded to my Raspberry Pi and connection will be established.
Then what i assumed it was going to happen next is that my computer, where i'll be gaming, would punch a hole through the NAT and connect to all my friends, since i know all their ip addresses because i'm connected to the lighthouse aswell.
Is that not what's going to happen?
So the way it worked originally (I haven't followed up on any changes since official launch) is the lighthouse knows how it talks to someone. When a computer requests a connection, the lighthouse says here this is how I talk to them try that.
If your internal computers are talking to the lighthouse by an internal lan ip:port then the lighthouse will give the external user the internal connection information.
Thus your internal computers could talk out to external but the external computers could not talk to the internal computers if your lighthouse isn't on an external connection for all the devices that connect to it.
This is where the digital ocean or some related service is useful.
I think (I'm a very old c programmer not a network admin), if you force the main computer to go out to the internet and then back in to get a connection to the lighthouse it might work. I'm not certain of that though.
On Fri, Jul 17, 2020 at 1:25 PM JPUnD notifications@github.com wrote:
I have an open port directed to my raspberry pi like i had with wireguard and it worked just fine, i haven't had the opportunity to test it with somebody else from the outside but that was my next step.
I have a free account for a dns which is pointing to my home IP address, as soon as somebody tries to connect to my IP using nebula the port 1337, which is the only i'm using for all nebula communication, will be forwarded to my Raspberry Pi and connection will be established.
Then what i assumed it was going to happen next is that my computer, where i'll be gaming, would punch a hole through the NAT and connect to all my friends, since i know all their ip addresses because i'm connected to the lighthouse aswell.
Is that not what's going to happen?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/slackhq/nebula/issues/168#issuecomment-660269772, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIK3CW5TB5TU3F7F6EVMWYLR4CJQTANCNFSM4KI3BREA .
That's a good point, i probably won't have any time that soon to test that out, but as soon as i figure out how it works i'll report back, or hopefully the devs show up and shine some light on the matter.
I'm closing this issue out as stale. If you continue to experience issues using Nebula please open a new ticket. Thanks!
Greetings! I have come with a quite unique question for this software.
I have been trying to get the network created, and I managed to create a connection between myself and the lighthouse with relative ease. I am able to connect, and ping the lighthouse. (The lighthouse can also ping me.) What I wanted to do for the next step is to host a dedicated server for a video game, to see if once connected to the network I could see the server and join.
The server uses different ports, I have adjusted the adapter's metrics to be a lower number, and so far I am unable to see the lighthouse's server. Here are the configs below, is it not possible to host a server and have people join... or am I missing something? Thanks in advance!
P.S The game in question is 'Splinter Cell Chaos Theory'.
Again if it turns out that this program wouldn't be able to support LAN emuation play then I understand. The reason I was drawn to it was due to the hole punching features, and had be believe it could be possible to host a mesh P2P network for playing older games.
If anyone helps, it would be much apprieated!