<HTML>
<HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<font size="2"><b>On Sat, 18 Sep 2010 00:54:38 +0100, dotnetdub wrote</b>
<br />> Hi
All,
<br />>
<br />> Is it possible to specify more than 1 localnet? I know
this is an odd question. I have a customer that has multiple sites linked by
VPN.
<br />>
<br />> Main range is <a href="http://192.168.33.0/24">192.168.33.0/24</a> and a remote site is <a href="http://10.1.1.0/24">10.1.1.0/24</a>
<br />>
<br />> We want to allow some access to the public IP address at the
main site. For this to work I need to use the externip and localnet directive.
If I do this it rewrites the SDP with the external IP address of the main site
on dialog with the VPN'd
sites.
<br />>
<br />> This means that I can either have the VPN endpoints working or
have people accessing from outside..
<br />>
<br /> You can put as many localnet statements as you need, one per line. I have similar setups where up to 5 networks are internally connected so I just do something like:
<br />
<br />localnet=192.168.11.0/24
<br />localnet=192.168.16.0/24
<br />...
<br />
<br />--
<br />
Carlos Chavez
<br />
Director de Tecnología
<br />
Telecomunicaciones Abiertas de México S.A. de C.V.
<br />
Tel: +52-55-91169161 Ext
2001
<br />
</font>
</BODY>
</HTML>