Comments (3)
Hello. This is a known limitation, a new feature would be needed to be implemented to support this.
But for now, you should be able to solve it with custom turn server. You can deploy turn server in your LAN with your LAN ip address, and give it to neko. It will try to establish connection through your public IP, where it will fail because of nat hair-pinning issue, and it will fall back to your turn server.
In contrary, this server will not be working for your remote connections, but the direct communication would be.
from neko.
Pretty sure most of canada can't actually use n.eko because of this issue, i'm in the boat.
from neko.
That would not be optimal to exclude neko users in canada.
As mentioned above, using custom turn server it can be acheived. I will definitley include a fix for this issue in v3 rewrite.
Here is the full docker-compose.yaml
with local coturn server:
services:
neko:
image: "m1k1o/neko:firefox"
restart: "unless-stopped"
shm_size: "2gb"
ports:
- "8080:8080"
- "52000-52100:52000-52100/udp"
environment:
NEKO_SCREEN: 1920x1080@30
NEKO_PASSWORD: neko
NEKO_PASSWORD_ADMIN: admin
NEKO_EPR: 52000-52100
NEKO_ICESERVERS: |
[{
"urls": [
"turn:192.168.1.60:3478"
],
"username":"neko",
"credential":"neko"
},
{
"urls": [
"stun:stun.nextcloud.com:3478"
]
}]
coturn:
image: 'coturn/coturn:latest'
network_mode: "host"
command: |
-n
--realm=localhost
--fingerprint
--listening-ip=0.0.0.0
--external-ip=192.168.1.60
--listening-port=3478
--min-port=49160
--max-port=49200
--log-file=stdout
--user=neko:neko
--lt-cred-mech
Please repalce 192.168.1.60
with your LAN IP address, and allow ports 49160-49200/udp
and 3478/tcp
in your LAN, if you use some kind of firewall. This should help you with the missing nat hairpinning.
from neko.
Related Issues (20)
- Where is the clipboard button for Firefox-browsers? HOT 6
- Neko passwords revealed in websocket http get for m1k1o/neko:firefox - Debugging enabled by default? HOT 2
- Blank screen with microsoft-edge image HOT 8
- CDP port not getting forwarded to host HOT 2
- Connections are not terminated after ending the session HOT 5
- Audio pipeline shutdown deadlocks if pulsesrc fails to open PA socket HOT 1
- I'll donate to whoever can make phone layout exactly like it is on caracal.club HOT 14
- Request for Logo Customization Feature HOT 2
- is there any way to use onboard display card for hardware acceleration? HOT 7
- NVidia XFCE client reconnect loop due to peer data channel closed HOT 3
- NAT1TO1 and Stunner Turn Server
- Intel ARC GPU support HOT 9
- Issue with Raspberry Pi 4 HOT 15
- Playwright automation guide HOT 1
- Running neko with caddy - 404 error
- WebRTC with cloudflare HOT 4
- Multiarch images HOT 5
- Is there a way please to clear IP bans without restarting the room? HOT 3
- I cannot control anything ! HOT 4
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.