I use OpenWrt 19.07 x86 version. I setup a tftp server on wan side.
opkg update; opkg install kmod-nf-nathelper-extra; service firewall restart and now the device on lan side can access the tftp server on wan side.
I want my router access the tftp server on wan side also. I put
iptables -t raw -I OUTPUT -j CT -p udp -m udp --dport 69 --helper tftp in
/etc/firewall.user and it works.
My question is can I put this rule in /etc/config/firewall and how to do it. Can anybody give an example. Thanks a lot.