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
desk top
Parsing XML in Oracle
Mounting CDROM
Kernel update broke NVIDIA driver
Self-Extracting ZIP (exe) receiving "license enforcement" error on Windows 2003 Server - installing Crystal Reports Server
Oracle 11g Installation on VMWare
ajax loader
Veritas 10 not backing up on server where new install of SQL 2005 was done
After changing TCP/IP settings (IP from other IP range) windows firewall has switched the active profile from domain to standard. WHY ?
Exchange 2003 no inbound and local delivery