The syntax is:
block in on vr1 proto tcp from any to ! 1.2.3.4 port 3306
In the above example, block access for tcp port number 3306 for all except an IP address called 1.2.3.4
Read answer to: "MySQL Server: Bind To Multiple IP Address"by nixCraft on December 6, 2012· last updated at December 6, 2012
The syntax is:
block in on vr1 proto tcp from any to ! 1.2.3.4 port 3306
In the above example, block access for tcp port number 3306 for all except an IP address called 1.2.3.4
Read answer to: "MySQL Server: Bind To Multiple IP Address"
BSD PF Firewall Block FTP Bruteforce Attacks
How Do I Block an IP Address on My Linux server?
OpenBSD / FreeBSD / NetBSD: PF Firewall List Rules
Linux: Iptables Forward Multiple Ports
FreeBSD Jail Access Private Network Via NAT and PF
APF Linux Firewall Open Port 22 From Specific / Selected IP Address Only
Linux iptables: Port Redirection Example
Iptables Limits Connections Per IP
Debian / Ubuntu: Set Port Knocking With Knockd and Iptables
Restrict ssh access using Iptable
Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum.