Activities

March 2011
M T W T F S S
« Feb   Apr »
 123456
78910111213
14151617181920
21222324252627
28293031  

How do I verify UDP port is open or not

This is very rare scenario, you need to verify the status of udp service running on the port. I found this tricks will helpful if you are trying to verify NTP server availability or VPN server presence.

Eg: nmap -p [port] -sU -P0 [host name | ip address]

a. For verify the NTP server is […]

APF : Adding custom rules in firewall

APF is installed on one of my server and I need to add one additional rule to apf firewall. I need to enable post routing in firewall for vpn server purpose.

It’s just simple add your iptables rules in “/etc/apf/postroute.rules”

[root@godisgr8t ~]# cat  /etc/apf/postroute.rules | grep "iptables" /sbin/iptables  -t nat -I POSTROUTING -s 10.10.10.0/24  -o […]