Hi,
I have a node.js based dns program on port 53 and have it working as
localhost on debian 8.5 but I cannot seem to get it to work externally
despite getting the firewall rules right having tested them with Bind9.
-A INPUT -p udp --dport 53 --sport 1024:65535 -j ACCEPT
-A OUTPUT -p udp --sport 53 --dport 1024:65535 -j ACCEPT
-A OUTPUT -p udp --sport 53 --dport 1024:65535 -j ACCEPT
-A INPUT -p udp --dport 53 --sport 1024:65535 -j ACCEPT
-A OUTPUT -p udp --sport 53 --dport 53 -j ACCEPT
-A INPUT -p udp --dport 53 --sport 53 -j ACCEPT
Also I have done :-
setcap cap_net_bind_service=+ep /usr/bin/nodejs
to allow node to work with ports less than 1024.
I have my node dns program working on port 53 UDP with dig from localhost
but Basically not externally on the local network and cannot work out why ?
I have mainly been using :-
https://github.com/tjfontaine/node-dns/blob/master/examples/forwarder.js
for testing.
Its probably something obvious hope someone can help !
--
Aaron Gray
Independent Open Source Software Engineer, Computer Language Researcher,
Information Theorist, and amateur computer scientist.
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/CANkmNDcoUELigH7fJSWHLOM%3DRP%2BD280Bmq2AVcdqCLa4wUWS%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.