TECHNOLOGY BLOGS


JOIN OUR COMMUNITY NOW! AND STAY CONNECTED!

Technology Tips

TECHNOLOGY TIPS

IPTables – Opening up Multiple Ports – One Liner

#—for all subnets / tcp protocol—# #iptables -A INPUT -m state --state NEW -m tcp -p tcp -s 192.168.122.0/24 --match multiport --dports 22,25,123,53 #—for subnet – 192.168.122.0/24 / tcp protocol —# #iptables -A INPUT -m state --state NEW -m tcp -p tcp -s 192.168.122.0/24 --match multiport --dports 22,25,123,53 Note:...

Read More
Technology Tips

TECHNOLOGY TIPS

Opening Port on Iptables

By default iptables is the firewall that is enabled on linux systems. It is very simple to open ports without totally disabling the iptables service. Here are simple steps: iptables -I INPUT -p tcp --dport <port> -m state --state NEW,ESTABLISHED -j ACCEPT iptables -I OUTPUT -p tcp --sport <port>...

Read More