Practical example: I use the domain [https://openwrt.router.io.vn] and want to reach [https://openwrt.router.io.vn:5353] remotely to configure the OpenWrt router at home. I use DDNS and open port 5353, forwarding it to the router's port 80.
Log in to OpenWrt
Open Network > Firewall.
 Screenshot

Open the Port Forward tab and click Add.
 Screenshot

Fill in the popup as follows:
- Name: Any memorable name.
- External port: The Internet-facing port, such as 5353.
- Internal IP address: The LAN IP of the target device. For example, the router may be
192.168.1.1, with its web interface on port 80. For a camera, use its IP, such as192.168.1.10. - Internal port: The port used by the target device. If a camera uses port 1234, enter 1234 here.
Click Save.
 Screenshot

Do not forget to click Save & Apply to apply the change.
 Screenshot

Most residential connections use a dynamic public IP that changes after a reconnect. Use a DDNS service to solve this; see
How to configure DDNS on OpenWrt
.
Good luck.


Góp Ý / Bình Luận / Đánh giá