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

Firewall help

Discussion in 'Tomato Firmware' started by icemanv3, Feb 10, 2008.

  1. icemanv3

    icemanv3 LI Guru Member

    Can somebody tell me how I input this rules into Tomato through telnet please?

    add drop tcp any to 192.168.1.0 6883-6885 tcpflags rst

    Everytime I try I get

    # iptables add drop tcp any to 192.168.1.0 6883 tcpflags rst
    Bad argument `add'
    Try `iptables -h' or 'iptables --help' for more information.

    I'm guessing -A instead or similar? Sorry if its a stupid question

    Have also tried

    iptables -I Firewall -p tcp -m tcp -s 192.168.1.0 -dport 6883-6885 --syn -j DROP
     
  2. icemanv3

    icemanv3 LI Guru Member

Share This Page