Http In Node in node-red and cellular IP.

Home Forums Conduit: AEP Model Http In Node in node-red and cellular IP.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17224
    Ajay K
    Participant

    I am building a web api using the node-red “http in” node. Also my conduit is connected to the internet via cellular connection. I am able to send http requests using the http request node, but I am not able to get any inbound http requests via the internet facing IP. Its a static IP as well and not a dynamic IP.

    However I am able to make http requests into the conduit using the local ip that is the one I bring up the admin/node-red web UI. i.e. using the default IP. https://192.168.2.1:1880.

    Do I have to configure the Node-red to listen over the internet ip/cellular ip or is there a firewall setting that needs to allow inbound http requests? I think I had done this before prior to using the latest firmware and I was able to call my web api over the internet.

    Thanks,
    Ajay

    #17239
    Peter Ferland
    Blocked

    iptables will be blocking inbound connections over WAN by default. You can add a rule to allow connections over 880 in the firewall settings options in the web interface. ie, https:// /firewall.html

    • This reply was modified 7 years, 2 months ago by Peter Ferland.
    #17280
    Ajay K
    Participant

    Thanks Peter for your inputs, I got this working after I provided access via the access configuration page and also setting up the inbound rules as you suggested, although for testing purposes, I have not added any restrictions based on a specific port.

    I have a follow up question, since our production application will be accessible via the cellular network and is going to be a private lora network, are there any best practices documented by Multitech/wiki page on how best to configure the conduits firewall and the access configuration and any other security configurations at the conduit that can be applied?

    Thanks,
    Ajay

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.