Jump to content

IPTables Rules


Recommended Posts

So i got a server up and running in ubuntu 15. I want to set up firewall rules for linux I know the basics of adding or removing a port, adding policy and such. For a dst server and/or dst server caves beta, what would be the acceptable iptables rules and policies? Can anyone help me with this. Is there any document or a script specifically for dst server that I can add?

 

default firewall rule is accept everything...

 

 

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
 

 

so default port is in my server is 10999 which can be changed from settings.ini file, using ssh and you may need ftp access too. Should I add rules for port 10999, 22 (ssh), 21 (vsftpd) and change the policies to drop for 3 chains? I am completely noob and any help would be appreciated.

 

Thank you very much.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...