IPTABLES question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using iptables to block all computers except of internal mail server
from connecting to offsite SMTP servers using the following rule:

/sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp -s ! 192.168.1.5  --dport
25 -j DROP

We now have a second mail server that needs to send out, but I can firgure
out how to add two exceptions.  If I add another -s I just get an error.
How can I do this?

	-Dan


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux