[Openswan Users] XL2TP and NAT problems with Ubuntu 9.10 andOpenswan 6.22

Damon Morda damon at epartment54.com
Sun Nov 8 17:34:43 EST 2009


Sorry, turns out I had to install a few packages to compile it.  
Specifically...

build-essential
libgmp3-dev
bison
libgmp
flex
xmlto

Once those were installed, I was able to compile and install openswan  
2.6.24rc2 successfully. This version resolved my VPN woes, if you need  
any logs, config files, etc to help your development efforts, let me  
know.

On Nov 8, 2009, at 5:30 PM, Randy Wyatt wrote:

> Did you specify gmp-dir in your config ?
>
> gmplib.org
>
>
> -----Original Message-----
> From: users-bounces at openswan.org on behalf of Damon Morda
> Sent: Sun 11/8/2009 2:02 PM
> To: Tuomo Soini
> Cc: Users at openswan.org
> Subject: Re: [Openswan Users] XL2TP and NAT problems with Ubuntu  
> 9.10 andOpenswan 6.22
>
> I've downloaded 2.6.24rc2, but can't get it to build using the "make
> programs install" method. I receive the following error.
>
> In file included from /home/user/openswan-2.6.24rc2/include/certs.h: 
> 24,
>                   from /home/user/openswan-2.6.24rc2/lib/libopenswan/
> id.c:39:
> /home/user/openswan-2.6.24rc2/include/secrets.h:20:41: error: gmp.h:
> No such file or directory
> In file included from /home/user/openswan-2.6.24rc2/include/certs.h: 
> 24,
>                   from /home/user/openswan-2.6.24rc2/lib/libopenswan/
> id.c:39:
> /home/user/openswan-2.6.24rc2/include/secrets.h:43: error: expected
> specifier-qualifier-list before 'MP_INT'
> /home/user/openswan-2.6.24rc2/include/secrets.h:54: error: expected
> specifier-qualifier-list before 'MP_INT'
> make[3]: *** [id.o] Error 1
> make[3]: Leaving directory `/home/user/openswan-2.6.24rc2/
> OBJ.linux.i386/lib/libopenswan'
> make[2]: *** [programs] Error 1
> make[2]: Leaving directory `/home/user/openswan-2.6.24rc2/
> OBJ.linux.i386/lib'
> make[1]: *** [programs] Error 1
> make[1]: Leaving directory `/home/user/openswan-2.6.24rc2/
> OBJ.linux.i386'
> make: *** [programs] Error 2
>
> Ideas?
>
> On Nov 8, 2009, at 2:32 PM, Tuomo Soini wrote:
>
> > Damon Morda wrote:
> >> Hello everyone,
> >
> >> OS: Ubuntu Linux 9.10 Server
> >> Kernel: 2.6.31-14
> >> Openswan: Linux Openswan U2.6.22/K2.6.31-14-generic-pae (netkey)
> >> xl2tpd version: xl2tpd-1.2.4
> >
> > Openswan-2.6.x where x < 24rc2 won't work with natted transport  
> mode.
> > Upgrading to 2.6.24rc2 will help us to nail possible bugs caused by
> > fixing this issue. If you can, please test it.
> >
> > --
> > Tuomo Soini <tis at foobar.fi>
> > Foobar Linux services
> > +358 40 5240030
> > Foobar Oy <http://foobar.fi/>
>
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
>
>



More information about the Users mailing list