config redirect
option dest 'lan'
option target 'DNAT'
option name 'port just internal'
option src 'wan'
option dest_ip '192.168.2.160'
list proto 'tcp'
list proto 'udp'
option dest_port '1-65535'
What is your goal here? Port forwarding is intended to direct external connections with a specific (or range of) destination port(s) to a specific host behind the router. If you wish to forward all ports, put that in the source destination port field.
If you have something else in mind, please describe what you hope to have happen.
/dev/stdin:216:68-74: Error: transport protocol mapping is only valid after transport protocol match
ip saddr 192.168.2.0/24 ip daddr ¨¨¨¨¨¨ dnat 192.168.2.160:1-65535 comment "!fw4: DMZ (reflection)"
~~~~ ^^^^^^^
/dev/stdin:224:48-54: Error: transport protocol mapping is only valid after transport protocol match
meta nfproto ipv4 counter dnat 192.168.2.160:1-65535 comment "!fw4: DMZ"
~~~~ ^^^^^^^
```¨
i would like skip this error in a precis goal