IPv6 Firewall; open a port

Documentation shows here how to open a port for IPv6

I followed the example and the port is not open? Running Ngnix on OpenWrt 22.03.0

uci add firewall rule
uci set firewall.@rule[-1].name='IPv6-80'
uci set firewall.@rule[-1].src='wan'
uci set firewall.@rule[-1].proto='tcp'
uci set firewall.@rule[-1].dest='lan'
uci set firewall.@rule[-1].dest_ip='devices_public_ipv6'
uci set firewall.@rule[-1].dest_port='80'
uci set firewall.@rule[-1].family='ipv6'
uci set firewall.@rule[-1].target='ACCEPT'
uci commit firewall
service firewall restart

Suggestions?

Are you trying to open a port on the router or a device connected to the router?

1 Like

Just keep in mind if you get hacked your router and everything in your house can get hacked. It is a good idea to keep servers separate from router.

Trying to open a port to nginx running on the router.

@openwrtforever I am quite capable of managing my own services (as a webmaster of numerous domains), but thanks for the concern

You don't need those then.

1 Like

That was it! Just dropping dest='lan' seems to have done it, dropped both as advised however. Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.