From the FreeBSD 6.1-RELEASE Announcement “It is my great pleasure and privilege to announce the availability of FreeBSD 6.1-RELEASE. This release is the next step in the development of the 6.X branch, delivering several performance improvements, many bugfixes, and a few new features as follows“:
- Addition of a keyboard multiplexer. This allows USB and PS/2 keyboards to coexist without any special options at boot.
- Many fixes for filesystem stability. High load stress tests are now run successfully on a regular basis as part of the normal FreeBSD QA process.
- Automatic configuration for man Bluetooth devices, as well as automatic support for running WiFi access points.
- Addition of drivers for new ethernet and SAS and SATA RAID controllers.
- BIND updated to 9.3.2
- sendmail updated to 8.13.6
FreeBSD 6.1 Download
It is time to update my local FreeBSD server 🙂
SMTP is used to send mail. Sendmail, Qmail, Postfix, Exim etc all are used on Linux as mail server. Mail server uses the TCP port 25. Following two iptable rule allows incoming SMTP request on port 25 for server IP address 220.127.116.11 (open port 25):
iptables -A INPUT -p tcp -s 0/0 –sport 1024:65535 -d 18.104.22.168 –dport 25 -m state –state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -p tcp -s 22.214.171.124 –sport 25 -d 0/0 –dport 1024:65535 -m state –state ESTABLISHED -j ACCEPT
In order to block port 25 simply use target REJECT instead of ACCEPT in above rules.
And following two iptables rules allows outgoing SMTP server request for server IP address 126.96.36.199:
iptables -A OUTPUT -p tcp -s 188.8.131.52 –sport 1024:65535 -d 0/0 –dport 25 -m state –state NEW,ESTABLISHED -j ACCEPT
iptables -A INPUT -p tcp -s 0/0 –sport 25 -d 184.108.40.206 –dport 1024:65535 -m state –state ESTABLISHED -j ACCEPT