Results 1 to 5 of 5
Thread: Strange issue with APF
-
12-08-2006, 04:25 AM #1Newbie
- Join Date
- Nov 2006
- Posts
- 15
Strange issue with APF
Hi All,
I have got a very strange issue with apf. I installed apf on the server. Opened common igress and egress ports. Its a DirectAdmin server. The issue is that only the main server IP is accessible from outside the server. If we telnet from inside the server and from another server which is in the same nerwork, it responds to port 80. Form outside if I stop apf, the IPs other than the main server IP also responds to the port 80. Similar is the case with port 25, 110, 2087, etc.. Please help me.
Main server IP works firn to all ports with APF running on the server.Last edited by adminsami; 12-08-2006 at 04:31 AM.
-
12-08-2006, 05:57 AM #2Web Hosting Master
- Join Date
- Apr 2004
- Location
- Singapore
- Posts
- 1,522
Is all your other IP address bind to a different Ethernet port?
tanfwc
-
12-08-2006, 07:25 AM #3Newbie
- Join Date
- Nov 2006
- Posts
- 15
All IPs are binded to eth0
-
12-08-2006, 12:21 PM #4Web Hosting Master
- Join Date
- May 2006
- Location
- India
- Posts
- 661
Did you check to see what the log files /var/log/messages, /var/log/apf_log have got to say ? In case of newer apf versions, you can try "apf -ts" for a detailed report while the firewall is being loaded.
██ SparkSupport.Com - The Premier Tech Company
██ Cloud Solutions|Email Infra setup|VOIP|Video Streaming|Software Development
██ Email: info@sparksupport.com █ Phone : 1- 408-600-1449 | Skype : shijils
-
12-15-2006, 04:37 PM #5Disabled
- Join Date
- Jun 2005
- Posts
- 588
Hello,
Follwing are the changes you have to make in conf.apf
IG_TCP_CPORTS=" 20,21,22,25,26,53,80,110,143,443,465,993,995,2082,
2083,2086,2087,2095,2096,3306,6666"
IG_UDP_CPORTS="21,53,465,873"
IG_ICMP_TYPES="3,5,11,0,30,8"
Change the line:
EGF="0"
to
EGF="1"
EG_TCP_CPORTS="21,22,25,26,37,43,53,80,110,113,443,465,873,2089,3306"
EG_UDP_CPORTS="20,21,53,465,873"
also set a corn job for the apf -f
I think this will solve your issue
Thank you.