Simple Dial In Setup

Donald Pearson donaldwhpearson at gmail.com
Mon Nov 16 18:54:48 CET 2009


I have nothing to add to this but I do have a question.

Would the IP provided via DHCP after the tunnel is up be applied to the
client's virtual adapter?

Or can DHCP append an additional IP address to the already configured bridge
on the client's computer?

Or does it work some other way entirely?

On Mon, Nov 16, 2009 at 9:23 AM, Guus Sliepen <guus at tinc-vpn.org> wrote:

> On Mon, Nov 16, 2009 at 09:02:33AM +0100, Matthias Redl wrote:
>
> > From what I've read so far I believe that the VPN must always have a
> > different IP Subnet than the private LAN itself, and therefor use
> > routing.
>
> That is not true. The only problem is when you want clients use IP
> addresses
> from the private LAN in router mode, that is difficult to set up.
>
> >  Is that correct? But I would actually prefer to assign IPs from
> > our current LAN to the VPN Clients.
> >
> > Our current ip setup:
> > Local servers and printers: 192.168.139.1 - 192.168.139.99
> > Local DHCP range for workstations: 192.168.139.100 - 192.168.139.200
> >
> > My wish would be to assign IPs starting with 192.168.139.201 to VPN
> > users (either manually or better also via DHCP / tinc). From what I have
> > read maybe the switch setup might fit, but I'm currently a bit lost.
> >
> > Is that possible? If yes, is one of the sample setups adequate for me?.
>
> Yes, that is possible. Indeed, you want to use switch mode, and on the
> server
> bridge the VPN interface to the private LAN interface. This is described in
> http://tinc-vpn.org/examples/bridging/. On the client side you can then
> use
> DHCP to get an IP address from the DHCP server on the private LAN. You do
> have
> to make sure that the default gateway provided by the DHCP server on the
> VPN
> does not get a higher priority than that of the LAN the clients are on.
>
> --
> Met vriendelijke groet / with kind regards,
>     Guus Sliepen <guus at tinc-vpn.org>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAksBYFoACgkQAxLow12M2nvDxwCfcEQ7JEvaR/TfUEu6YkbvBpRQ
> oPcAni6bsmJlN0Svq4RG4LTVp1LeDEzf
> =iTc1
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20091116/404c65d7/attachment.htm>


More information about the tinc mailing list