If you want to open or close a port for a Linux firewall you have to edit the rules in the iptables configuration. By default iptables firewall stores its configuration at /etc/sysconfig/iptables file. You need to edit this file and add rules to open port. Here are the steps to open the port XY using the default visual editor vi: Open port XY Open flle /etc/sysconfig/iptables:
Append rule as follows:
Save and close the file. Restart iptables:
Verify that port is open Run following command:
Make sure iptables is allowing port connections:
|
- Home
-
Store
- Browse All
- Shared Linux Hosting
- Shared Linux Hosting - Mumbai
- Shared Windows Hosting
- Linux Reseller Hosting
- Windows Reseller Hosting
- Shoutcast Hosting
- Shoutcast Reseller Hosting
- Bulk SMS[Normal/Priority/Transactional]
- Shared Nano Hosting
- High RAM VPS
- STORAGE VPS
- Licenses
- Dedicated Server
- Server Management
- External Server Management Plan
- Managed Servers
- WordPress Hosting
- Gsuite - Google WorkSpace
- Cloud KVM VPS - Germany
- US SEO Servers [Multiple Ips - Port25 Blocked]
- Amazing Offers
- CBS Servers
- VPS With Control Panel
- AWS Lightsail
- DirectAdminVPS
- Trial VPS
- Zoho Mail Services
- Testing Products
- DMCA-OFFShore
- SSL Certificate
- Domain/IP Reputation Services
- Register a New Domain
- Transfer Domains to Us
- Announcements
- Knowledgebase
- Network Status
- Affiliates
- Contact Us
- Offers
-
More