hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Can't get APF Firewall and poptop pptpd work together :\
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Can't get APF Firewall and poptop pptpd work together :\

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-02-2005, 07:21 AM
yaiR yaiR is offline
Newbie
 
Join Date: Dec 2005
Posts: 10

Can't get APF Firewall and poptop pptpd work together :\


When APF run's i keep on getting stuck in "Verifiyng Username and Password..." and then i get a ERROR 619.
(APF installed on the server that has pptpd)..

I opened ports 47 and 1723, but nothing seems to help, when i shutdown apf firewall pptpd works like a charm..
any idea's?

Reply With Quote


Sponsored Links
  #2  
Old 12-02-2005, 08:38 AM
crucialx crucialx is offline
Web Hosting Master
 
Join Date: Feb 2004
Posts: 2,195
Do you have port 47 open in both directions? If you do already, then you may want to use: netstat -napt to see which ports are being opened by pptpd.

__________________
crucialparadigm - Affordable, Reliable, Professional :
Web Hosting
24/7 Support • Web Hosting • Reseller Hosting • Cloud/VPS Plans • Dedicated Servers •

Reply With Quote
  #3  
Old 12-02-2005, 12:28 PM
yaiR yaiR is offline
Newbie
 
Join Date: Dec 2005
Posts: 10
Quote:
Originally Posted by crucialx
Do you have port 47 open in both directions? If you do already, then you may want to use: netstat -napt to see which ports are being opened by pptpd.
nope, it dosn't use any other ports..

my server uses eth0 for incoming and outgoing WAN..
when i connect to the server throw pptpd (APF off) i get internal IP's 192.168.1.X, maybe it opens virtual network "lan" and i need somehow to configure it in APF Firewall?

Reply With Quote
Sponsored Links
  #4  
Old 12-02-2005, 12:47 PM
crucialx crucialx is offline
Web Hosting Master
 
Join Date: Feb 2004
Posts: 2,195
Hmmm, you may have to, not sure how pptpd works. If it creates a new network device (you can find out by using ifconfig) then you may need to add that device to the trusted devices in the APF config...

__________________
crucialparadigm - Affordable, Reliable, Professional :
Web Hosting
24/7 Support • Web Hosting • Reseller Hosting • Cloud/VPS Plans • Dedicated Servers •

Reply With Quote
  #5  
Old 12-02-2005, 01:05 PM
yaiR yaiR is offline
Newbie
 
Join Date: Dec 2005
Posts: 10
Quote:
Originally Posted by crucialx
Hmmm, you may have to, not sure how pptpd works. If it creates a new network device (you can find out by using ifconfig) then you may need to add that device to the trusted devices in the APF config...
Code:
ppp0      Link encap:Point-to-Point Protocol  
          inet addr:84.94.x.x  P-t-P:192.168.1.12  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1396  Metric:1
          RX packets:19 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:1560 (1.5 KiB)  TX bytes:104 (104.0 b)
when apf is down and i connect with pptpd.
(i edited 84.94.x.x)

when i try to put ppp0 in my conf.apf like:
IFACE_IN="eth0"
IFACE_OUT="eth0"

to:
IFACE_IN="eth0, ppp0"
IFACE_OUT="eth0, ppp0"

I get:
Code:
[root@server apf]# ./apf -r
ppp0: Unknown host
ifconfig: `--help' gives usage information.
ppp0: Unknown host
ifconfig: `--help' gives usage information.
ppp0: Unknown host
ifconfig: `--help' gives usage information.
ppp0: Unknown host
ifconfig: `--help' gives usage information.
ppp0: Unknown host
ifconfig: `--help' gives usage information.
could not verify that interface eth0, ppp0 is routed to a network, aborting.
I dont want to put the IP's 192.168.1.X in IFACE_TRUSTED becuase i need to make rules for them :\

when i disconnect from ppptpd ppp0 disappear from ifconfig..

so when i tr to put only ppp0 in IFACE_TRUSTED :
could not verify that interface ppp0 is routed to a network, aborting.

Reply With Quote
  #6  
Old 12-04-2005, 07:20 AM
yaiR yaiR is offline
Newbie
 
Join Date: Dec 2005
Posts: 10
up. . . :\

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
GoGrid Adds New Firewall Services to Cloud SDN Architecture Web Hosting News 2013-04-11 10:50:21
Phoenix NAP Adds Firewall and Storage Capabilities to Secured Servers Web Hosting News 2013-01-21 14:15:08
Interoute Launches Cloud Firewall Service for Real-time View into Security Threats Web Hosting News 2012-12-04 16:00:56
Web Host HostGee Rolls Out Managed Firewall Cluster Service Web Hosting News 2012-10-22 15:36:38
Cloud Provider FiberCloud Offers Virtual Firewall Protection Web Hosting News 2012-05-08 12:15:24


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?