This is an old revision of the document!
Just some random stuff, not a real configuration
UCI forwarding
firewall.cfg3b3837=redirect firewall.cfg3b3837.dest=dmz_pub firewall.cfg3b3837.dest_ip=172.16.10.20 firewall.cfg3b3837.dest_port=22 firewall.cfg3b3837.enabled=1 firewall.cfg3b3837.name=test1 firewall.cfg3b3837.proto=tcp firewall.cfg3b3837.src=wan firewall.cfg3b3837.src_dport=2222 firewall.cfg3b3837.target=DNAT --------------------------------------------------------------- firewall.@redirect[0]=redirect firewall.@redirect[0].enabled='1' firewall.@redirect[0].target='DNAT' firewall.@redirect[0].src='wan' firewall.@redirect[0].dest='dmz_pub' firewall.@redirect[0].proto='tcp' firewall.@redirect[0].src_dport='2222' firewall.@redirect[0].dest_ip='172.16.10.20' firewall.@redirect[0].dest_port='22' firewall.@redirect[0].name='test1' -------------------------------------------------------------- config redirect option target 'DNAT' option src 'wan' option dest 'dmz_pub' option proto 'tcp' option src_dport '2222' option dest_ip '172.16.10.20' option dest_port '22' option name 'test1'