* RE: DROP command
@ 2003-07-03 20:58 ISPList John
0 siblings, 0 replies; 3+ messages in thread
From: ISPList John @ 2003-07-03 20:58 UTC (permalink / raw)
To: 'netfilter@lists.netfilter.org'
Switch the order of the lines around. Your packets are getting DROPPED
before the ACCEPT can see them. <smile>
John
> Hi folks,
>
> I have a Linux box firewall (iptables 1.2.7a) with NAT/MASQUERADING.
> How I can block all local network access to my firewall excluding some
> local[John Friel III] IP addresses?
> I tried these command but it doesn't work:
>
> /usr/local/sbin/iptables -A INPUT -i eth2 -s 10.105.105.0/24 -j DROP
> /usr/local/sbin/iptables -A INPUT -i eth2 -s 10.105.105.20 -j ACCEPT
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: DROP command
@ 2003-07-03 20:55 Daniel Chemko
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Chemko @ 2003-07-03 20:55 UTC (permalink / raw)
To: Remus, netfilter
Reverse the order
-----Original Message-----
From: Remus [mailto:rmocius@auste.elnet.lt]
Sent: Thursday, July 03, 2003 1:44 PM
To: netfilter@lists.netfilter.org
Subject: DROP command
Hi folks,
I have a Linux box firewall (iptables 1.2.7a) with NAT/MASQUERADING.
How I can block all local network access to my firewall excluding some
local
IP addresses?
I tried these command but it doesn't work:
/usr/local/sbin/iptables -A INPUT -i eth2 -s 10.105.105.0/24 -j DROP
/usr/local/sbin/iptables -A INPUT -i eth2 -s 10.105.105.20 -j ACCEPT
Thank you in advance
Remus
^ permalink raw reply [flat|nested] 3+ messages in thread
* Patch-o-matic help
@ 2003-07-03 19:01 System Administrator
2003-07-03 20:43 ` DROP command Remus
0 siblings, 1 reply; 3+ messages in thread
From: System Administrator @ 2003-07-03 19:01 UTC (permalink / raw)
To: netfilter
anybody arround that can assist a new iptables administrator--I
Hope..............
I have iptable 1.26 setup on a Redhat 8 server. This server also needs to
function as a PPTP VPN server. It appears that PoPToP is the only reasonable
way to acomplish that. I can get PoTPoP to work but I am told that I need to
be able to pass GRE packets.
It looks like there is a patch to do this but requires patch-o-matic.
Looking at the README, it looks like I run a command called runme. and then
recompile the Kernel.
I'm yet to go through the recompile. Anybody willing to help the
inexperienced become experienced?
Thanks (in advance)
--
Leon Sonntag
^ permalink raw reply [flat|nested] 3+ messages in thread
* DROP command
2003-07-03 19:01 Patch-o-matic help System Administrator
@ 2003-07-03 20:43 ` Remus
0 siblings, 0 replies; 3+ messages in thread
From: Remus @ 2003-07-03 20:43 UTC (permalink / raw)
To: netfilter
Hi folks,
I have a Linux box firewall (iptables 1.2.7a) with NAT/MASQUERADING.
How I can block all local network access to my firewall excluding some local
IP addresses?
I tried these command but it doesn't work:
/usr/local/sbin/iptables -A INPUT -i eth2 -s 10.105.105.0/24 -j DROP
/usr/local/sbin/iptables -A INPUT -i eth2 -s 10.105.105.20 -j ACCEPT
Thank you in advance
Remus
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-07-03 20:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-03 20:58 DROP command ISPList John
-- strict thread matches above, loose matches on Subject: below --
2003-07-03 20:55 Daniel Chemko
2003-07-03 19:01 Patch-o-matic help System Administrator
2003-07-03 20:43 ` DROP command Remus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox