OpenWRT UCI Action #10

Open
opened 2024-04-18 05:29:29 +00:00 by steven · 0 comments
Owner

Something like this

uci set firewall.hypd_10_69_69_102=redirect
uci set firewall.hypd_10_69_69_102.dest=lan
uci set firewall.hypd_10_69_69_102.target=DNAT
uci set firewall.hypd_10_69_69_102.name="hypd_10.69.69.102"
uci set firewall.hypd_10_69_69_102.src=wan
uci set firewall.hypd_10_69_69_102.src_dport=51820
uci set firewall.hypd_10_69_69_102.dest_ip=10.0.100.1
uci set firewall.hypd_10_69_69_102.dest_port=51820
uci set firewall.hypd_10_69_69_102.src_ip=10.69.69.102
uci add_list firewall.hypd_10_69_69_102.proto=udp
uci commit firewall
service firewall restart
Something like this ```sh uci set firewall.hypd_10_69_69_102=redirect uci set firewall.hypd_10_69_69_102.dest=lan uci set firewall.hypd_10_69_69_102.target=DNAT uci set firewall.hypd_10_69_69_102.name="hypd_10.69.69.102" uci set firewall.hypd_10_69_69_102.src=wan uci set firewall.hypd_10_69_69_102.src_dport=51820 uci set firewall.hypd_10_69_69_102.dest_ip=10.0.100.1 uci set firewall.hypd_10_69_69_102.dest_port=51820 uci set firewall.hypd_10_69_69_102.src_ip=10.69.69.102 uci add_list firewall.hypd_10_69_69_102.proto=udp uci commit firewall service firewall restart ```
steven added the
hypd / Server
label 2024-04-18 05:29:29 +00:00
steven self-assigned this 2024-04-18 05:29:29 +00:00
steven added this to the dd-wrt/openwrt support project 2024-04-18 05:29:29 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: steven/hyp#10
No description provided.