Can someone help please. How do I change port 22 on iptables?
I managed to change port 22 on csf for my vps but what I need to do is change port 22 on the main IPtables firewall for my dedicated server. Having very little understanding of IPTables I would like to ask how I delete port 22 and replace it with the new ssh port I have chosen in IPTables.
You mean how you need to change the SSH port? If you already changed it in the firewall, the only thing left is to change it also in your SSHD server.
The file on linux is located under /etc/ssh/sshd_config
There you can define / change the port sshd needs to listen on.
» www.InstantDedicated.com - Online in no time » Dedicated Servers in [EU] Netherlands with DAILY support, also on weekends » DDOS Protected network - 100% Money Back if it doesn't work for you » Streaming / IPTV allowed | Up to 10 Gbit ports | 100% Network Uptime
Be careful if you make a mistake it will screw your server.
I would recommend read this page entirely to know how it works and what you should change for port https://help.ubuntu.com/community/IptablesHowTo its clearly explained how you should perform it.
█ Fraud Record - Stop Fraud Clients, Report Abusive Customers.
█ Combine your efforts to fight misbehaving clients. █ HarzemDesign - Highest quality, well designed and carefully coded hosting designs. Not cheap though. █ Large and awesome portfolio, just visit and see!