iptables subnetz blocken

Post new topic   Reply to topic    DD-WRT Forum Index -> Allgemeine Fragen
Author Message
UreshiiTora
DD-WRT Novice


Joined: 17 Apr 2011
Posts: 16

PostPosted: Sat Oct 04, 2014 17:25    Post subject: iptables subnetz blocken Reply with quote
Habe mal eine Frage zum blocken eines Subnetzes.
habe zwei lokale Netze.

WRT54GL LAN: 10.2.1.1/24
WAN: 10.1.1.251/24

Mein Ziel ist es nun, den Zugriff auf 10.1.1.0/24 zu unterbinden. Was mit

iptables -I FORWARD -s 10.1.1.0/24 -j DROP auch wunderbar

klappt.

was mir nun nicht gelingen will, der Host 10.1.1.5 soll weiter auf Port 80 erreichbar sein.

iptables -I FORWARD -s 10.1.1.5 -p tcp --dport 80 -j ACCEPT

bringt nur leider nichts.
wüsste nun gern wo mein Denkfehler ist.


Danke schon mal für die Hilfe
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Allgemeine Fragen All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum