[ previous ] [ next ] [ threads ]
 From:  "Cory Strobel" <corys at medican dot com>
 Cc:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] Maximum number pptp concurrent connections hack (monowall)
 Date:  Thu, 27 Oct 2005 09:23:06 -0600
> -----Original Message-----
> From: Xavier Sanz [mailto:xavi at auxi dot org] 
> Sent: Thursday, October 27, 2005 1:18 AM
> To: m0n0wall at lists dot m0n0 dot ch
> Subject: [m0n0wall] Maximum number pptp concurrent 
> connections hack (monowall)
> Hello, my name is Xavier.
> I'm from Barcelona, Catalonia.
> I'm just testing mon0wall 1.2 on a s-epia hardware and I've 
> realized that only 16 concurrent pptp connections are allowed.
> Reading the faq i've finished on chri's page, with useful 
> information about this 'issue'.
> So, I tryed using the hidden exec.php page to download the 
> file /etc/inc/globals.inc and modifying the parameters he gives
>     "n_pptp_units" => 50,
>     "pptp_subnet" => 26,
> Then upload the file again at /tmp/globals.inc and copying it 
> at the original location.
> It seems to work, but when I've rebooted, it shows again 16 
> maximum concurrent connections.
> I think that this is a right way to do this hack, but I 
> suppose I've missed some step.
> Could u help me?
> Thanks in advance
> Best regards
> Xavier Sanz

You have to create a custom image with the changes, the changes to
globals.inc will be lost on reboot without that info in the image
itself. If you have a FreeBSD system you can create your own image
following guides like this:


Chris also has some useful scripts posted at his site for automating the
process somewhat. Workon4.sh and workon.sh depending on the version of
FreeBSD you have on the build machine.


If you do not have a system, you can try a pre-built image with the
changes, I have modified them for my use with the PPTP limit increased
(that is the only change to them), so you can download the one you need

This is not the fastest connection, but should get you what you want. I
have not tried them all, but they should all work fine.