Q. How do I view active connections with PF firewall under FreeBSD / OpenBSD UNIX operating system?

{ 1 comment }

I’ve couple of remote servers and I’d like to access few admin only application running on port 10000 and 3001. My firewall only allows port 80, 443, 25, 22 and 110 for public access. Do I need to open port 10000 and 3001 for everyone using firewall? How do I access my admin only apps without opening port 10000 and 3001?


How do I open a network port range in the firewall under OpenSuse / Suse Enterprise Linux server? How do open a port range in my firewall, such as the TCP ports 30000 to 35000?


H do I stop Iptables firewall under Debian Linux server system?


Q. I’d like to change ssh port from 22 to 2346. I changes the ssh port and reloaded OpenSSH but didn’t get through my firewall. I’m using APF firewall script under cPanel control panel? How do I open port 2346? A. By default APF configured via /etc/apf/conf.apf file. All you have to do is login […]


Q. How do I display / list all rules in the selected chain? How do I find out which rules are active? What is blocked and opened with my firewall? A. To List all rules in the selected chain use the -L option. If no chain is selected, all chains are listed. As every other […]

{ 1 comment }

Q. I am running SSH/MySQL/Webserver and setup iptables based firewall. But my logs are send to console rather than the system log files. How do make sure that iptables LOG target messages are send to /var/log/messages file? A. IPTABLES LOG module turns on kernel logging of matching packets. When this option is set for a […]