Open all ports iptables?

Gmeister4

Well-known member
Joined
Apr 19, 2016
Messages
144
Best answers
0
Ratings
10
Points
18
#1
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
Joined
Apr 11, 2018
Messages
3
Best answers
0
Ratings
1
Points
3
#2
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
Joined
May 17, 2018
Messages
6
Best answers
0
Ratings
5 1
Points
3
#5
sudo iptables -X
sudo iptables -F
 

mobin

Well-known member
Joined
Jun 22, 2017
Messages
205
Best answers
0
Ratings
75 1
Points
28
#13
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
Joined
Apr 19, 2016
Messages
144
Best answers
0
Ratings
10
Points
18
#14
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
Joined
Jun 22, 2017
Messages
205
Best answers
0
Ratings
75 1
Points
28
#15
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
Joined
Apr 19, 2016
Messages
144
Best answers
0
Ratings
10
Points
18
#16
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

Corporate Member
Corporate Member
Joined
Oct 11, 2017
Messages
21
Best answers
0
Ratings
12
Points
3
#17
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
8
Replies
3
Views
8
Replies
1
Views
9
Recommended Threads
Replies
91
Views
16,472
Replies
0
Views
1,711

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

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