Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


Search this Thread
Old 08-10-2008, 10:12 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 3

Rep: Reputation: 0
Exclamation PPTPD CentOS 5 - Issues with Shorewall

Hi people,

After working on this VPN setup many weeks now I thought to take a break and ask you people might have an insight on this since google does not help much for my server configuration type.

Here are some details on what i have and what i am trying to accomplish:

Server : CentOS 5.2 - Kernel 2.6.18-53.1.21.el5
eth0 : inet addr:XXX.8.159.34 Bcast:XXX.8.159.35 Mask:

Also on eth0, the following IP's are also assigned:
XXX.20.10.217 --Bcast : XXX.20.10.223 --Mask:
XXX.20.10.218 --Bcast : XXX.20.10.223 --Mask:
XXX.20.10.219 --Bcast : XXX.20.10.223 --Mask:
XXX.20.10.220 --Bcast : XXX.20.10.223 --Mask:
XXX.20.10.221 --Bcast : XXX.20.10.223 --Mask:
XXX.20.10.222 --Bcast : XXX.20.10.223 --Mask:
XXX.20.55.81 --Bcast : XXX.20.55.95 --Mask:
XXX.20.55.82 --Bcast : XXX.20.55.95 --Mask:
XXX.20.55.83 --Bcast : XXX.20.55.95 --Mask:
XXX.20.55.84 --Bcast : XXX.20.55.95 --Mask:
XXX.20.55.85 --Bcast : XXX.20.55.95 --Mask:
XXX.20.55.86 --Bcast : XXX.20.55.95 --Mask:
XXX.20.55.87 --Bcast : XXX.20.55.95 --Mask:
XXX.20.55.88 --Bcast : XXX.20.55.95 --Mask:
XXX.20.55.89 --Bcast : XXX.20.55.95 --Mask:
XXX.20.55.90 --Bcast : XXX.20.55.95 --Mask:
XXX.20.55.91 --Bcast : XXX.20.55.95 --Mask:
XXX.20.55.92 --Bcast : XXX.20.55.95 --Mask:
XXX.20.55.93 --Bcast : XXX.20.55.95 --Mask:
XXX.20.55.94 --Bcast : XXX.20.55.95 --Mask:

There is no eth1, ie. no internal network so to speak. Its a remote dedicated server ...

I have tried setting up a pptpd server on this machine to be able to access the internet through the dedicated from my house.

PPTPD config files:
option  /etc/ppp/options.pptpd
localip XXX.20.55.81
remoteip XXX.20.55.82-94
listen  XXX.20.55.81
speed   115200
ms-dns XXX.20.1.2
Shorewall configs:
fw      firewall
net     ipv4
net     eth0    detect  blacklist,tcpflags,logmartians,nosmurfs
loc     ppp+    XXX.20.55.95
$FW             net             ACCEPT
$FW             all             ACCEPT
net             $FW             DROP            info
net             all             DROP            info
all     all     DROP    info
pptpserver      net

Basically, the VPN connection connects successfully. However, i cant ping or even use the dns to get a response!

I have tried the configuration found in shorewall website with no end though.
If you can provider some insight on how to setup shorewall i would appreciate it.

PoPToP version 1.3.4
Shorewall version 4.0.12

Thank you

Last edited by CoMMy; 08-10-2008 at 10:16 AM. Reason: added versions


centos, pptp, shorewall, vpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Set Up Shorewall (Shoreline) 4.0 Firewall On CentOS 5.1 LXer Syndicated Linux News 0 07-04-2008 11:40 AM
VPN - Default Gateway / Routing Issues, pptpd stuartornum Linux - Networking 0 03-25-2008 01:15 PM
issues with VPN pptpd server onorua Linux - Networking 1 08-25-2006 03:45 PM
shorewall on centos vbsaltydog Linux - Security 4 04-17-2006 12:19 AM
Shorewall w ulog issues igbe Mandriva 0 07-24-2004 04:07 PM

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration