Results 1 to 7 of 7

Thread: Virtual DMZ and WAN to LAN filter

  1. #1

    Virtual DMZ and WAN to LAN filter

    Hi!

    If WAN to LAN filter enabled, and the not specified packets will be droped, then the Virtual DMZ doesn't work correctly.
    In status page, i see all ports redirected to the definied IP address (Virtual DMZ), but not to gain... The WAN to LAN filter precedence is higher than the Virtual DMZ settings?

  2. #2
    Join Date
    Nov 2004
    Location
    Sweden
    Posts
    259
    I do not know if DMZ is working properly or not on Asus WL-500g but I think of your question is mixing up some basic points on IP security. In the following link you can read a basic document that explains the foundations of DMZ. There you can read:

    DMZ: This is a feature that is included on some routers but is not in Internet sharing software. A DMZ allows a single computer on your LAN to expose ALL of its ports to the Internet. When doing this, the exposed computer is no longer ‘behind’ the firewall.

    Referred link: http://www.homenethelp.com/web/expla...arding-dmz.asp

  3. #3
    Quote Originally Posted by Tamadite
    I do not know if DMZ is working properly or not on Asus WL-500g but I think of your question is mixing up some basic points on IP security. In the following link you can read a basic document that explains the foundations of DMZ. There you can read:

    DMZ: This is a feature that is included on some routers but is not in Internet sharing software. A DMZ allows a single computer on your LAN to expose ALL of its ports to the Internet. When doing this, the exposed computer is no longer ‘behind’ the firewall.

    Referred link: http://www.homenethelp.com/web/expla...arding-dmz.asp

    It's ok. But it looks like doesn't work correctly in firmware v1.8.1.9. As though the WAN to LAN packet filter rules is to apply to DMZ.

  4. #4
    Join Date
    Nov 2004
    Location
    Hong Kong
    Posts
    17

    you're right...

    From the generated filter_rules, yes, the WAN-to-LAN default "DROP" will drop the packets before the rule of forwarding packets to the DMZ ip addr.

    I've tried to set 192.168.1.200 as DMZ, forward port 80 to 192.168.1.201:
    Code:
    # cat /tmp/filter_rules
    *filter
    :INPUT ACCEPT [0:0]
    :FORWARD ACCEPT [0:0]
    :OUTPUT ACCEPT [0:0]
    :logaccept - [0:0]
    :logdrop - [0:0]
    -A INPUT -m state --state INVALID -j logdrop
    -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
    -A INPUT -i lo -m state --state NEW -j ACCEPT
    -A INPUT -i br0 -m state --state NEW -j ACCEPT
    -A INPUT -j logdrop
    -A FORWARD -m state --state INVALID -j logdrop
    -A FORWARD -i br0 -o br0 -j ACCEPT
    -A FORWARD -p tcp --syn -m limit --limit 1/s -j ACCEPT
    -A FORWARD -p tcp --tcp-flags SYN,ACK,FIN,RST RST -m limit --limit 1/s -j ACCEPT
    -A FORWARD -p icmp --icmp-type echo-request -m limit --limit 1/s -j ACCEPT
    -A FORWARD  -i eth0 -o br0  -p tcp -d 192.168.1.201 --dport 80 -j ACCEPT
    -A FORWARD -i eth0 -o br0 -j logdrop
    -A FORWARD -p udp --dport 6112 -j ACCEPT
    -A FORWARD -d 192.168.1.200 -j ACCEPT
    -A logaccept -m state --state NEW -j LOG --log-prefix "ACCEPT " --log-tcp-sequen
    ce --log-tcp-options --log-ip-options
    -A logaccept -j ACCEPT
    -A logdrop -m state --state NEW -j LOG --log-prefix "DROP" --log-tcp-sequence --
    log-tcp-options --log-ip-options
    -A logdrop -j DROP
    COMMIT
    Last edited by whao; 02-12-2004 at 13:48. Reason: highlight the relevant rules

  5. #5
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    This was fixed in the 1.8.1.7-3.

  6. #6
    Quote Originally Posted by Oleg
    This was fixed in the 1.8.1.7-3.
    Whao, Oleg: Thanks for reply! But i use the official firmware v1.8.1.9. Maybe fix it leater... v1.8.2.4?

  7. #7
    Join Date
    Nov 2004
    Location
    Sweden
    Posts
    259
    Quote Originally Posted by Derfel
    Whao, Oleg: Thanks for reply! But i use the official firmware v1.8.1.9. Maybe fix it leater... v1.8.2.4?
    Good point Derfel! There is a misimplementation of the DMZ concept on the WL-500g that should be fixed by a new Asus official firmware release ASAP.

    Thanks Oleg for your efforts!

Similar Threads

  1. Virtual Server on port 80
    By ruprecht in forum WL-500g Q&A
    Replies: 9
    Last Post: 05-09-2005, 12:25
  2. Virtual Servers
    By daninor in forum WL-500g Q&A
    Replies: 15
    Last Post: 20-08-2005, 10:34
  3. Virtual user with vsftpd?
    By the_slider in forum WL-500g Q&A
    Replies: 4
    Last Post: 04-07-2005, 12:06
  4. virtual server
    By rblezer in forum WL-500g Q&A
    Replies: 1
    Last Post: 04-03-2005, 08:38
  5. WWW virtual server working but FTP not why?
    By Satleecher in forum WL-500g Q&A
    Replies: 5
    Last Post: 25-09-2004, 20:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •