≡ Menu


MySQL/MariaDB Server: Bind To Multiple IP Address

I have MySQL/MariaDB database system running on a FreeBSD/Linux server. The server has multiple ip address. The mysqld used by many websites hosted on two other CentOS Linux based servers. I would like to bind MySQL sever running on a Linux or Unix-like server to more than one IP address such as,, and How can I bind mysqld to multiple ips?
[click to continue…]

How do I configure Apache IPv6 networking under a UNIX / Linux / BSD operating system? How do I configure httpd IPv6 and IPv4 under a RHEL / CentOS / Fedora / Debian / Ubuntu Linux?
[click to continue…]

BSD PF Firewall Block FTP Bruteforce Attacks

I see lots of failed FTP login attempts in my log file. How do I stop FTP bruteforce attack? What should I do to solve this problem under FreeBSD 7.x server operating systems?
[click to continue…]

I would like to tell my BSD based PF firewall to flush out the current configuration every 2 minutes. This will help me, when I'm testing a new rules and configuration options.
Tutorial details
DifficultyEasy (rss)
Root privilegesYes
Estimated completion time1m
Some time I find myself locked out of my own remote server. How do I reset PF firewall automatically without issuing hard reboot?
[click to continue…]

I'm not able to ping from FreeBSD prison (jail). I'm able to resolve the names or use ftp / http for ports but ping and traceroute access is disabled. How do I allow virtualized jail application / users to perform traceroute and ping commands?
[click to continue…]

FreeBSD Jail Access Private Network Via NAT and PF

I've FreeBSD 7.x server with 3 jails are configured to run a mail, web and MySQL services. My FreeBSD box has two network interfaces. First, interface is connected to LAN and other is directly connected to the Internet via public IP. My DNS servers are hosted on private network (LAN). FreeBSD 7.x jail only support one interface and one IP address. How do I configure jail (FreeBSD vps) to access my DNS servers hosted inside my LAN using PF firewall?
[click to continue…]

Q. I've FreeBSD based Apache webserver. I need to allow outgoing ftp client requests so that BSD ports collection can download from various ftp sites. How do I allow outgoing FTP connection via PF network firewall software under FreeBSD or OpenBSD operating system?
[click to continue…]