feat: configurable listen address and port ranges - #12
Conversation
|
@DarkCat09 This looks way more readable than the PR it supersedes, however I am failing to get it to run as intended. Also I'm thinking we have lost a bit of functionality as I'd like to keep listening on both ipv4 local address with the relay and ipv6 public one. |
Please check that
I guess i can implement specifying multiple addresses like: |
Oh yes, that's my bad. Works fine.
If auto for ipv6 will be possible that would be great. I'm thinking that this should even allow ipv4 only peers to talk to ipv6 only peers when turnserver machine has both ipv4 and ipv6 connectivity and relay address is setup correctly for ipv4. Also I have issues connecting if both the call parties are behind a nat. I am seeing that you are setting up RelayAddressGeneratorRanges like this: Shouldn't the address be the listen_ip.to_string() rather than relay_ip.to_string() ? Thanks once again for making it so awesome. |
Fixes #8
Supersedes #7
Thanks to @pvagner for the initial implementation