|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Installing firewall help
hey I got this off another site... I want to install it however
im abit stuck after the first bit I get this, that seems easy ... cd /usr/src wget http://rfxnetworks.net/downloads/apf-current.tar.gz tar -zxf apf-current.tar.gz cd apf-0.* ./install.sh Now edit config file #pico -w /etc/apf/conf.apf Change the following: USE_DS="1" USE_AD="1" But after that whats all this mean ![]() Scroll down to this section: # Common ingress (inbound) TCP ports IG_TCP_CPORTS="20,21,22,25,26,53,80,110,143,443,465,993,995,2082,2083,2086,2087,2095,2096" # Common ingress (inbound) UDP ports IG_UDP_CPORTS="21,53,465,873" # Common ICMP (inbound) types # 'internals/icmp.types' for type definition; 'all' is wildcard for any IG_ICMP_TYPES="3,5,11,0,30,8" Scroll down a bit then find this section: EGF="1" # Common egress (outbound) TCP ports EG_TCP_CPORTS="21,22,25,26,27,37,43,53,80,110,113,443,465,873,2089" # Common egress (outbound) UDP ports EG_UDP_CPORTS="20,21,53,123,465,873" Save the file and start apf via. apf -s If everything still works then edit the config file and turn dev mode off. DEVM="0" Now restart APF #apf -r ---------- A firewall should be the first thing installed.. I recommend advanced protection firewall (APF) by rfxnetworks. APF will block unused outgoing and incoming ports. It can also be configured to use information from some block lists. http://rfxnetworks.net/apf.php #cd /usr/src #wget http://rfxnetworks.net/downloads/apf-current.tar.gz #tar -zxf apf-current.tar.gz #cd apf-0.* #./install.sh Now edit config file #pico -w /etc/apf/conf.apf Change the following: USE_DS="1" USE_AD="1" Scroll down to this section: # Common ingress (inbound) TCP ports IG_TCP_CPORTS="20,21,22,25,26,53,80,110,143,443,465,993,995,2082,2083,2086,2087,2095,2096" # Common ingress (inbound) UDP ports IG_UDP_CPORTS="21,53,465,873" # Common ICMP (inbound) types # 'internals/icmp.types' for type definition; 'all' is wildcard for any IG_ICMP_TYPES="3,5,11,0,30,8" Scroll down a bit then find this section: EGF="1" # Common egress (outbound) TCP ports EG_TCP_CPORTS="21,22,25,26,27,37,43,53,80,110,113,443,465,873,2089" # Common egress (outbound) UDP ports EG_UDP_CPORTS="20,21,53,123,465,873" Save the file and start apf via. apf -s If everything still works then edit the config file and turn dev mode off. DEVM="0" Now restart APF #apf -r http://www.webhostingtalk.com/showthread.php?s=&threadid=307474 |
|
#2
|
||||
|
||||
|
In all honesty I do not think it is smart nor secure to discuss your firewall setup in a forum.
|
|
#3
|
|||
|
|||
|
Its simple to install, first download APF Firewall
# cd # wget http://rfxnetworks.net/downloads/apf-current.tar.gz Then uncomptress it # tar -zxvf apf-current.tar.gz then go to the folder # cd apf-0.* Now install the Firewall # ./install.sh Now your firewall is installed and you need to configure it. You can do this by editing conf.apf file, go through the comments and try to understand :-) # vi /etc/apf/conf.apf If you need any help, PM me.
__________________
http://www.BizHat.com |
|
#4
|
|||
|
|||
|
This is just of another forum .. there are no server login details etc...
thanks its set up now |
![]() |
| Viewing: Dev Shed Forums > Web Hosting > Web Hosting > Installing firewall help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|