source and destination rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there all

I would like to add a rule that has a source ip and a destination ip
address and have a problem doing con someone point me in the correct
direction.
this is the rule i have tried

$IPTAB -A FORWARD -p tcp --dport 22 -i eth1 -s 192.168.1.0/24 -d
192.168.45.0/24 -syn -m state --state NEW -j ACCEPT


______________________________________
Mail has been scanned and protected by No Barrier Communications
www.nobarrier.co.za


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux