APF Linux Firewall Open Port 22 From Specific / Selected IP Address Only

Posted on in Categories , , , , , , , last updated June 9, 2008

Q. I’ve CentOS Linux server configured with APF firewall. How do I open port 22 from specific IP address only? I’ve fix static ADSL IP address assgined and I’d like to open port 22 from my IP 202.5.1.3 only using APF firewall script. How do I configure firewall?
Continue reading “APF Linux Firewall Open Port 22 From Specific / Selected IP Address Only”

Display the Natted / Routed Connections on a Linux Iptable Firewall

Posted on in Categories , , , , , , , last updated February 26, 2008

Q. I’ve Linux box acting as software router (natted) for over 100 computer connected via LAN. Regular netstat command is not displaying the list of all natted connections. How do I find out connections managed by netfilter / iptables which comes with the Debian 4.x system?
Continue reading “Display the Natted / Routed Connections on a Linux Iptable Firewall”