block IP and port for wireless clients

Discussion in 'Tomato Firmware' started by Wolfeen, Oct 14, 2009.

  1. Wolfeen

    Wolfeen Addicted to LI Member

    I am user of Tomato RAF 1.25.8515.2 ND.
    I use WAN port for LAN, also I use AP for wireless clients.
    I want to block some wireless clients with static IP to access to other computer in LAN (wire) at port 20 and 21 and use other port from this computer.

    Can anybody help me?

    I tried to use this
    iptables -I FORWARD -s --dport 21 -j DROP
    iptables -I INPUT -s --dport 21 -j DROP
    iptables -I OUTPUT -s --dport 21 -j DROP

    to block access from (wireless client) to (wired) at port 21 (WRT is But it's now working.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice