All of lore.kernel.org
 help / color / mirror / Atom feed
[parent not found: <1581342731182665558@unknownmsgid>]
[parent not found: <20041228170317.34EE82BBF8@tharbad>]
[parent not found: <E1CjK9G-0000Y9-00@mx.ya.com>]
* Vijay - port 25 to be blocked
@ 2004-12-28 16:22 Vijay Kumar
  0 siblings, 0 replies; 5+ messages in thread
From: Vijay Kumar @ 2004-12-28 16:22 UTC (permalink / raw)
  To: netfilter

Hi,

I want to allow my internal network to only connect to some specific email
servers.
Apart from these mail server  I want to block port 25 and 110 from my
internal network to anywhwere. I am doing the following : 

iptables -I INPUT -I eth0 --dport 25 -d  !<ip addr of mail server>  -j
REJECT  
 
This does not seem to block the port 25 traffic. Where am I going wrong? 

Kindly help. 

Regards,
Vijay Kumar

 




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-12-28 19:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <544398739307937211@unknownmsgid>
2004-12-28 19:19 ` Vijay - port 25 to be blocked ASHISH
     [not found] <1581342731182665558@unknownmsgid>
2004-12-28 17:42 ` Askar
     [not found] <20041228170317.34EE82BBF8@tharbad>
2004-12-28 16:38 ` Eric Ellis
     [not found] <E1CjK9G-0000Y9-00@mx.ya.com>
2004-12-28 16:23 ` Javier Sanchez
2004-12-28 16:22 Vijay Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.