Comments (11)
There might be posibility to acheive this using a hack. Rewriting IP on client in SDP messages.
from neko.
It can accept multiple addresses, separated by space.
from neko.
I see. Thank you
from neko.
My apologies for reopening this, but I'm now getting an error for "invalid 1:1 NAT IP mapping"
from neko.
I am not sure how that works in pion. We are only pasing this variable down to pion.
from neko.
I have this same issue as well, whenever i space two ip addresses out i'm unable to use both of them. It's either using the public ip address, using another ip address, or something when i input the env. so it's likely pion's fault on this one, maybe?
edit: i also get disconnects when im using my public ip address, though i've tested via my phone and it works fine there, just don't know how to configure it so i can be on my local lan and be able to watch..
from neko.
How do you separate the two IPs?
As said before neko expects a whitespace between the IPs, no comma or slash. E.g. 192.168.2.1 192.168.2.5
Further NAT1T is an optional field. Perhaps omitting it work in your case (explanation below)? Have you tried writing the internal IP first?
At last I think the main problem is your router. It does bot support hairpinning [link].
If you enable NAT1to1 neko reponse with the IPs given. The external IP is reachable and known for your local lan, so it tries to connect over it. The traffic stops at your router which without hairpinning does not know what to do and drops the traffic.
from neko.
I've been following original issue, that is introducing this functionality here. It looks like, also name says it, it is only NAT 1:1. Multiple addresses were meant for IPv4 and IPv6, that's why it with different addresses don't work. Although, there is option to add new addres to existing (private) but since we are in Docker, even that private would not work.
Perhaps one solution could be running this with --net=host
and calling SetNAT1To1IPs
with ICECandidateTypeSrflx
option. I didn't try that yet, so that would be only theoretical solution.
from neko.
How do you separate the two IPs?
As said before neko expects a whitespace between the IPs, no comma or slash. E.g.192.168.2.1 192.168.2.5
Further NAT1T is an optional field. Perhaps omitting it work in your case (explanation below)? Have you tried writing the internal IP first?
At last I think the main problem is your router. It does bot support hairpinning [link].
If you enable NAT1to1 neko reponse with the IPs given. The external IP is reachable and known for your local lan, so it tries to connect over it. The traffic stops at your router which without hairpinning does not know what to do and drops the traffic.
Ah, it may be hairpinning at my virtual router. so, it might be a firewall rule i could make somehow. Thanks... it's probably not NAT1TO1's fault at all and can be my own. Nevermind then, 👍🏻
from neko.
Have you tried what happens if you omit the value?
I run neko behind two routers in a docker and I can connect to it with internal and external IP without having to specify NAT1to1.
from neko.
I'll try omitting that and try running it with reverse proxy, if that doesn't work i might have to change the network connection for the machine i guess to my actual LAN instead of the virtual router's LAN.
from neko.
Related Issues (20)
- Automagically disable Broadcast after given Time if no one in the Room
- Support Audio Input (bidirectional audio) HOT 2
- Black Screen Issues while using private docker container behind a nodejs proxy server HOT 17
- Allow setting NAT1TO1 as hostname
- Neko Breaks (cannot login anymore) if dynamic Ip changes HOT 4
- [HELP] Simply stream a PID HOT 2
- Did someone run selenium script in google-chrome docker? It will stuck at webdriver.Chrome HOT 1
- Default login not working. Peer failed HOT 3
- Raspberry pi 5 error HOT 3
- Reversed Proxy with Apache unable to connect externally HOT 3
- Remove all UI HOT 1
- How to search for images, I am unable to upload images HOT 10
- Firefox is already running, but is not responding HOT 1
- How to modify the Web UI HOT 4
- Why can't we share files anymore? HOT 4
- Can I upload pictures to the browser in one step? HOT 2
- HelloGitHub Badge
- Just solve it HOT 1
- Extend desktop width/height a bit to fill in margin on sides
- Post image in chatroom
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neko.