Microsoft
Software
Hardware
Network
Question : Trying to block outbound SMTP port 25 with iptables...not sure if it's working
Hi, I would like to temporarly block all outbound SMTP traffic through my iptables firewall. I've tried both these commands:
iptables -A OUTPUT --protocol tcp --dport 25 -j DROP
and
iptables -A OUTPUT --protocol tcp --dport 25 -j REJECT
but when those rules are in place, I can still telnet to an smtp server on port 25. I wouldn't think I'd be able to. Is something wrong with my rules?
Answer : Trying to block outbound SMTP port 25 with iptables...not sure if it's working
Use FORWARD rather than OUTPUT since the traffic isn't originating on the server self but rather being forwarded from another host:
iptables -A FORWARD --protocol tcp --dport 25 -j DROP
Random Solutions
Microsoft OLE DB Provider for SQL Server error '80040e31' Timeout expired .
Lightest fasted method of sending data back to the server
javascript over flash in firefox
cannot execute the NWAdmn32.EXE ?
Replace a primary domain controller procedure question
to draw a image using red or green color
FileMaker Pro 8.5 hidden field control
Name resolution is not functional. _ldap._tcp.<mydomain>.co.n<wbr />z. failed on the DNS server
How to create a WMF or EMF for use in Xara 3d
Exchange User cannot recieve external emails