Open all ports iptables?

Gmeister4

Well-known member
Registered
Joined
Apr 19, 2016
Messages
178
Points
18
Can I open all ports iptables? or checking which ports are opening or closing? I am using a firewall (csf) but I don't find any options to open all ports iptables.
 

RelateHost

New member
Registered
Joined
Apr 11, 2018
Messages
3
Points
3
Can I open all ports iptables? or checking which ports are opening or closing? I am using a firewall (csf) but I don't find any options to open all ports iptables.
Why you want to open ALL the ports? If you are using CFS, you can enable inbound and outbound ports in the firewall settings.
 

dfmcvn

New member
Registered
Joined
May 17, 2018
Messages
6
Points
3
sudo iptables -X
sudo iptables -F
 

mobin

Well-known member
Registered
Joined
Jun 22, 2017
Messages
234
Points
28
If you want to open all ports, why you have CSF? Disable CSF and thats it.... But this is not recommended in any cases...open only necessary ports after complete your testing..
 

Gmeister4

Well-known member
Registered
Joined
Apr 19, 2016
Messages
178
Points
18
Gmeister4
why you have CSF? Disable CSF and thats it...
Are you sure disabling CSF will open all ports? By default, I think there are closed ports and opened ports on my server for the first time using.
 

mobin

Well-known member
Registered
Joined
Jun 22, 2017
Messages
234
Points
28
mobin
Once CSF is installed all your firewall rules will be removed and replaced by CSF ones. So when CSF is disabled, literally there is no firewall rules
 

Gmeister4

Well-known member
Registered
Joined
Apr 19, 2016
Messages
178
Points
18
Gmeister4
oh thanks for this info, this is the first time i have heard about it. I will try to test this because I also have a server installed CSF.
Can I open or close all ports with CSF? I think it is more easier to do if compared with doing in SSH.
 

bountysite

Well-known member
Registered
Joined
Oct 11, 2017
Messages
109
Points
28
If you are unsure if firewall is causing issues, use tcpdump to troubleshoot.
For eg, to check outbound emails
tcpdump -i any -nn src host My.ip.add.ress and dst port 25

Check if the connection is established or continuously sending SYN requests.


Also you can hping3 to trace, if it is getting blocked on server side.
hping3 -T -S -p 25 des.ti.na.tion
Ctrl Z to increase hop. It works like traceroute. If firewall is blocking, you will not get a TTL timeout reply.
 
Latest Threads
Replies
0
Views
24
Replies
1
Views
38
Replies
0
Views
227
Replies
1
Views
49

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top