Iptables rule forwarding

i need help with an iptables rule.
I would like the requests from my WLAN ( to be redirected to the destination IP (WAN), port 80 to the IP, port 80 (DMZ). Can you support me here?
Greetings from Stefan Harbich

Can you be a bit more clear? You can redirect to only one address:port. So, which one do you want the packets to be redirected?

1 Like

I would like that if the access from the network is to the IP address on port 80, a redirection to the IP address port 80 takes place.

config redirect
        list proto 'tcp'
        option src_dport '80'
        option dest_ip ''
        option reflection '0'
        option src 'wlan'
        option name 'some name'
        option src_dip ''
        option dest 'dmz'
        option target 'DNAT'
1 Like

Hi trendy,
thanks for the solution.
Greetings from Stefan Harbich

1 Like

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