Search found 4 matches

by johnyp14
2019/05/07 19:36:53
Forum: CentOS 6 - Security Support
Topic: iptables rules
Replies: 8
Views: 3252

Re: iptables rules

Well,i i must reinstall the server after all because i found that many distro files has been patched so i am sure that server has been rooted.

I will work on new iptables on the new server.

Thank you
by johnyp14
2019/05/06 15:23:19
Forum: CentOS 6 - Security Support
Topic: iptables rules
Replies: 8
Views: 3252

Re: iptables rules

Ok, Thank you got the point, let me ask this, how can i log all output traffic that been initiated by server and is not a response to an incoming request?

I am asking this because i try to secure my server after a notice i received that may be infected and trying to hack some wp pages.

Thank you
by johnyp14
2019/05/06 07:44:01
Forum: CentOS 6 - Security Support
Topic: iptables rules
Replies: 8
Views: 3252

Re: iptables rules

Thank you for your time to reply, yes server will never initiate an output connection except from some ports from time to time used by apis and ftp so i must open these ports only as output. Can you post a full line example of opening port 21 and 80 as output please or maybe put these lines to my ip...
by johnyp14
2019/05/05 14:35:32
Forum: CentOS 6 - Security Support
Topic: iptables rules
Replies: 8
Views: 3252

iptables rules

Hello, i am new to linux without much expirence. I have a vps centos 6 and made some iptable rules but can not work out how to drop every output traffic, and log it, except those that has been initiated from an input allow rule. here is what i wrote so far: iptables -A INPUT -s 37.6.12.2 -p tcp --dp...

Go to advanced search