sonosaurus / sonobus

Source code for SonoBus, a real-time network audio streaming collaboration tool.
https://sonobus.net
GNU General Public License v3.0
1.56k stars 115 forks source link

this software DO not work behind firewall #95

Open ledufakademy opened 3 years ago

ledufakademy commented 3 years ago

UDP , port redirection etc not work at all

Jamulus work perfectly.

essej commented 3 years ago

Would you care to leave some more info about what you tried when you were configuring the port forwarding? Have you read this part of the user guide?

https://sonobus.net/sonobus_userguide.html#If-You-Cannot-Connect

ledufakademy commented 3 years ago

box => firewall => computer with SONOBUS (UDP 12000 ticked).... Box redirect all traffic to Firewall (DMZ) Then NAT with UDP port 12000 on firewall to computer (which have no firewall activated) ... nothing appear in firewall logs ...

ledufakademy commented 3 years ago

https://clients.dh2i.com/NatTest/: Completed: Symmetric NAT

ledufakademy commented 3 years ago

Would you care to leave some more info about what you tried when you were configuring the port forwarding? Have you read this part of the user guide?

https://sonobus.net/sonobus_userguide.html#If-You-Cannot-Connect

Not working (i'm network skilled engineer)

essej commented 3 years ago

Is it possible that the “Box” is doing additional port remapping on outgoing packets? With this setup it is important that the source address that the connection server (and all other people) see has the same port that you specified and that is forwarded. Usually when you have fixed forwarding rules the router will propagate that same port number publicly as well (or at least a consistent one for all remote hosts). The main point for doing a manual port forwarding is to have it override the symmetric NAT behavior where each remote host sees a different source port… that won’t work with a pure P2P setup like SonoBus.

ledufakademy commented 3 years ago

thank you essej, i will take a look to this.

ledufakademy commented 3 years ago

i dont' know what you mean ... sorry ...

ledufakademy commented 3 years ago

which protocol are you using with sonobus ? i will try to analyze it

ledufakademy commented 3 years ago

Debuging your option : 12000 udp , it seems your software is only using source:port ... so how using NAT ? 192.168.1.5:12000 dest:random_port ? this weird.

ledufakademy commented 3 years ago

Find the solution swaasssss , please update the doc .... !!! option port udp : 12000 in sonobus (no need changing something on your first fw/router/box !)

On pfsense / opnsense (the firewall behind first the fw/router/box) the only thing you need to do is to create Firewall\ NAT \ Outbound (first move to "Hybrid rules mode")=> rules like it :

interface:WAN Source:sonobusComputer_IP/32 Source Port:udp/ 12000 Destination: Destination Port:udp/ NAT Address:Interface address NAT Port:12000 Static Port:NO Description:SONOBUS

ledufakademy commented 3 years ago

first live with brazilian musicians : GREEEAAAATTTTT !!!!

iTris666 commented 2 weeks ago

Hi, Awesome. This post should be in the help page. I use a pfsense firmwall at home and had to do the same thing. It now works, but didn't until I defined a static IP for my laptop running sonobus. Small precision "NAT Address" should be "WAN address" if your WAN is indeed WAN.