Hi,
I want to create a DMZ with a 3 Port Router.
From LAN to DMZ and WAN to DMZ everything work.
But from WAN to LAN and DMZ to LAN all ports are open.
I set everything to Drop
Delete SNAT
Why I can access the LAN from WAN and DMZ
config defaults
option syn_flood '1'
option forward 'DROP'
option input 'DROP'
option output 'DROP'
config include
option path '/etc/firewall.user'
config zone
option name 'lan'
option network 'lan'
option forward 'DROP'
option output 'ACCEPT'
option input 'ACCEPT'
config zone
option name 'wan'
option network 'WAN'
option input 'DROP'
option output 'DROP'
option family 'ipv4'
option forward 'DROP'
config zone
option name 'dmz'
option network 'DMZ'
option input 'DROP'
option output 'DROP'
option forward 'DROP'
onfig redirect
option target 'SNAT'
option src 'lan'
option dest 'dmz'
option proto 'all'
option src_dip '192.168.170.190'
option name 'DMZ'
option dest_ip '10.168.170.25'
option dest_port '443'
config rule
option target 'ACCEPT'
option src 'lan'
option dest 'dmz'
option family 'ipv4'
option dest_ip '10.168.170.25'
option dest_port '443'
option name 'LAN->DMZ '
option enabled '0'
config rule
option target 'ACCEPT'
option src 'lan'
option dest 'dmz'
option family 'ipv4'
option dest_ip '10.168.170.25'
option dest_port '22'
option name 'LAN->DMZ ssh'
option enabled '0'
config rule
option target 'ACCEPT'
option src 'lan'
option name 'LAN->DMZ webmin'
option dest 'dmz'
option dest_ip '10.168.170.25'
option dest_port '10000'
option enabled '0'
config rule
option target 'ACCEPT'
option src 'wan'
option dest 'dmz'
option name 'WAN->DMZ '
option dest_ip '10.168.170.25'
option dest_port '443'
option enabled '0'
config forwarding
option dest 'wan'
option src 'lan'
config forwarding
option dest 'wan'
option src 'dmz'
Where is my mistake?
Regards
(Last edited by helldunkel on 3 Sep 2017, 17:55)