iptables

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

 



Where is the best place for iptables help? 

Is there a mailing list? I've tried the one listed at
netfilter.org, but that seems to be Tango Uniform (dead). 

Setting default policy doesn't seem to work with "REJECT"
or "DENY". "ACCEPT" or "DROP" seem to work ok. 

I try adding rules based on interface device, but when I list
the rules in use, I never see the interface listed. 

EX: 
This should or may be unnecessary, but this rule is attempting 
to stop someone outside from masquerading as an internal IP. 

iptables -A INPUT -p tcp -i eth0 -s 192.168.1.0/24 -j REJECT


when I list the rules in effect: (partial display)

#iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
REJECT     tcp  --  192.168.1.0/24       anywhere           reject-with
icmp-port-unreachable

it is rejecting anything from the non-routable address 192,168.1.X .  I
I want that to be rejected from eth0, but ok from eth1 . 

What am I missing? (a clue)

Allan









-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux