1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Firewall rules and WallWatcher

Discussion in 'Other Linksys Equipment' started by pokey-pola, Mar 6, 2005.

  1. pokey-pola

    pokey-pola Guest


    Excuse my ignorance as I have only been playing around with my router for a few days.

    I have WallWatcher set-up and successfully logging my router activity. As I got this working I thought I would go for some custom firewall rules so I enabled HTTP and RDP for a single WAN address to access my LAN. The rules were:

    /usr/sbin/iptables -I FORWARD -p TCP -i vlan1 -s <WAN IP> --dport 80 -j ACCEPT
    /usr/sbin/iptables -t nat -I PREROUTING -p tcp -i vlan1 -s <WAN IP> --dport 80 -j DNAT --to-destination 192.168.***.***:80
    ###: RDP :##
    /usr/sbin/iptables -I FORWARD -p TCP -i vlan1 -s <WAN IP> --dport 3389 -j ACCEPT
    /usr/sbin/iptables -t nat -I PREROUTING -p tcp -i vlan1 -s <WAN IP> --dport 3389 -j DNAT --to-destination 192.168.***.***:3389

    Now they work but WallWatcher by default does not seem to log any incoming dropped or received connections for them. Do I have to add something to the rule to get it to log?

    Many thanks.

Share This Page