Activating Free DDNS AX3600


image

STEP 1 (Activate WAN redirection on the router) STEP 2 (Register a domain at duckdns.org) STEP 3 (Configure duckdns on AX3600)

Method to Activate Free DDNS AX3600

(Last edited on 11/06/2023)

Tutorial created by Anonymous and edited by @JuanMa_89:


image

STEP 1. (Activate WAN redirection on the router)

  • Open winscp and go to /etc/config/firewall - The third line says:
    config zone
    option name 'wan'
    list network 'wan'
    list network 'wan6'
    option input 'ACCEPT'
    option output 'REJECT'
    option forward 'REJECT'
    option masq '1'
    option mtu_fix '1'
  • Change EVERYTHING that says REJECT to ACCEPT.
    - This is to allow entry through WAN, so it should look like this:
    config zone
    option name 'wan'
    list network 'wan'
    list network 'wan6'
    option input 'ACCEPT'
    option output 'ACCEPT'
    option forward 'ACCEPT'
    option masq '1'
    option mtu_fix '1'
  • Now we need to open ports so that we can access from outside. We have to open port 80 and 443 (for when we enter through https). So, this cannot be done from the router, it must be opened through the terminal as well. In this same firewall file, we go to the end and add all this:
    config rule
    option name 'Allow-wan-access'
    option src 'wan'
    option proto 'tcp'
    option dest_port '80'
    option target 'ACCEPT'
    option family 'ipv4'

    config rule
    option name 'Allow-wan-access-ssl'
    option src 'wan'
    option proto 'tcp'
    option dest_port '443'
    option target 'ACCEPT'
    option family 'ipv4'
  • And that's all for the firewall file, save it and you are done. We should restart the firewall for the changes to take effect, for this open ssh and enter:
    /etc/init.d/firewall reload
  • image

    STEP 2. (Register a domain at duckdns.org)

  • Go to https://duckdns.org.

    image

    - Click on the top right and sign in with Google account or any account you wish.
    - In the domains box, write the name your domain will have:

    image

    - For this test, I will use pruebadeddns.duckdns.org
    - Once you add the domain, a line will appear just below:

    image

  • image

    STEP 3. (Configure duckdns in AX3600)

  • On the same website duckdns.org, click on the top left where it says: install

    image

    - For routers select openwrt

    image

    - Where it says first step - choose a domain, select yours and scroll down and copy the third green code, the one that says config service “duckdns”

    image

    - Then open /etc/config/ddns and paste it at the end of the document, save it.
    - Enter through the terminal:
    sh
    . /usr/lib/ddns/dynamic_dns_functions.sh # note the leading period
    start_daemon_for_all_ddns_sections "wan"
    exit
  • image

    image

Xiaohack Chatbot Asistente XiaoHack

Xiaohack V 3.2 | © Copyright 2023 | Musk Logo