Awesome release buddy. I was seraching for something like this for a long time.
One question: Any way to test that it actually works after putting the command?
You cannot play online with this. Your switch will not know what internet is Also is not safe to play any online game if you have modded your switch.Is it somehow possible to savely play fortnite on a modded switch? Because my friend has a switch and want to mod it but also want to play fortnite.
And i have a second question: Can i run this on a pi zero?
Never used Lighttpd, but you need to return a http 200 OK with the X-Organization headerI would like to implement this kind of functionality in my hacked zsun (since it has sufficient space, and my A5-V11 injector dongle does not), but would like to use lighttpd instead of nginx. Any pointers on how to return proper headers for the query with lighttpd?
$HTTP["host"] =~ "^nintendo\.net$" {
setenv.add-response-header = ( "X-Organization" => "Nintendo" )
}
docker start yadns-nx
Error response from daemon: driver failed programming external connectivity on endpoint yadns-nx (bf55661d97e9d2e2a362be6556934f999dc43df197e672ad0900ee96115b3f27): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)
Any clue what's happening here? MacOS, connected to internet via ethernet and connected to a local network (with no internet) via wifi. The wifi router is plugged in purely to send things from the Mac to the Switch, it has no WAN access or cables plugged into it or anything. Trying to use the Mac's wifi IP as the DNS. Switch will connect to wifi, but fails internet connection test so it won't let me use that connection.
in a terminal or use netstat or another software to see if you have another process using the port 80. Also check if there isn't another instance of docker already running on that port.lsof -n -i:80 | grep LISTEN
Oh whoops, duh, I have apache running on my computer as a webserver. Hmm...can I just change the html file that I serve up (it currently says "It works!" which I think is just some default apache thing) to include the headers and OK 200 and whatnot, and just not have docker run on port 80?
edit: actually maybe I'll just change the port for apache, might be easier that way because I already know how to do it
This docker shouldn't affect your bandwidth, it doesn't act as a proxy or any MitM. The service only responds when the Switch ask for nintendo's servers.is 1.8MB/sec basically my max transfer rate here? seems painfully slow...but I guess I was mostly doing this for novelty's sake anyway...
Never used Lighttpd, but you need to return a http 200 OK with the X-Organization header
Something like this
And the same for nintendowifi.net, I don't know how can lighttpd return a 200, maybe it can work with a blank .html file or with a "Content-Type" => "text/plain" header.Code:$HTTP["host"] =~ "^nintendo\.net$" { setenv.add-response-header = ( "X-Organization" => "Nintendo" ) }
That from the load balancer's side, but also you will need to serve a DNS server, I'm using bind9/named, I don't know if the zsun can serve a dns server or if can intercept or modify the client's queries.
I will see what I can figure out.
The hacked zsun is running openwrt barrier breaker, and has a full implementation of both a DNS server and a full router + firewall implementation. (by default it uses dnsmasq, but bind can also be used. Has a 32mb internal flash, and more than enough processor and ram to run nginx, but I would prefer something lighter, hence the question.
Given the small size of the device (it's about the size of an SX dongle), and the fact that it has a convenient microSD slot (meaning it can function as a poor man's NAS/DLNA server), it is a nearly perfect appliance to live inside the switch's dock on the USB port. (the door will close easily with it installed.)
Before you ask, it is capable of connecting to an SSID, *AND* running another virtual SSID in STA mode, at the same time. The only caveat with that is that both need to be on the same channel. This means it can quietly be a man in the middle for the switch, and when tinfoil gets network install functionality, it can be the go-to device to put NSP files on for network installation.
No, but you run the command to start yaDNS everytime you boot up or restart your pc.Nice. My only question is...do I have to rerun the command and keep Terminal open every time I use this on my Switch? Sorry if that's a dumb question.
Ah, all right. Thank you.No, but you run the command to start yaDNS everytime you boot up or restart your pc.