Raised This Month: $32 Target: $400
 8% 

need guide to add ports to iptables


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Crazy47
BANNED
Join Date: Jan 2016
Old 03-03-2017 , 08:24   need guide to add ports to iptables
Reply With Quote #1

Hello Every one , i have problem with firewall linux centos 6 , when i run the server i can't login to it only when i disable firewall but my server been attacked by DDOS attack so i need to Enable firewall and put the necesaary ports forward to the iptables ,my quistion is what is the necessary ports of cs 1.6 ? and tell me wish one is source port and wish one is distination port ! sorry for my bed English & i Hope i get help here .
Crazy47 is offline
grs4
Senior Member
Join Date: Dec 2010
Location: Poland
Old 03-03-2017 , 08:56   Re: need guide to add ports to iptables
Reply With Quote #2

cs16 client
PHP Code:
UDP 27000 27015 
TCP 27020 
27039 
TCP 27040 
27041  
TCP 
UDP 27056 
cs16 server
PHP Code:
UDP 27015 27020 (HLDSHLTV i SRCDS
TCP 27015 (SRCDS Rcon Port
TCP 27020 27039 
source; https://developer.valvesoftware.com/...dicated_Server

if i understand well. source port is server port.

Last edited by grs4; 03-03-2017 at 09:00.
grs4 is offline
Crazy47
BANNED
Join Date: Jan 2016
Old 03-03-2017 , 16:58   Re: need guide to add ports to iptables
Reply With Quote #3

i have no idea how to sit this ports i try to add them to the rules of iptables from the VPS control panel and nothing is there any eazy whay to add this ports to the rules of iptables from SSH ?
or show me how to add them Here & Here thank's for your time !
Crazy47 is offline
grs4
Senior Member
Join Date: Dec 2010
Location: Poland
Old 03-03-2017 , 17:38   Re: need guide to add ports to iptables
Reply With Quote #4

type ip source as your vps ip
destiination port as port u wish
for flags i dont know which.

Retry this for TCP & UDP
grs4 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode