Hello,
i need help with an iptables rule.
I would like the requests from my WLAN (192.168.30.0/24) to be redirected to the destination IP 192.168.0.1 (WAN), port 80 to the IP 192.168.20.100, 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 192.168.30.0/24 is to the IP address 192.168.0.1 on port 80, a redirection to the IP address 192.168.20.100 port 80 takes place.
config redirect
list proto 'tcp'
option src_dport '80'
option dest_ip '192.168.20.100'
option reflection '0'
option src 'wlan'
option name 'some name'
option src_dip '192.168.0.1'
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.