Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2014 10:59:14 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Farzin Falahati <farzin.falahati@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: IPSec
Message-ID:  <20140222095913.GA1855@tiny-r255948>
In-Reply-To: <CA%2B1xt=v5RLtDEbN%2Btm5gAkw52Hp9ziOnbvd_nwdFDkj=KCDaMA@mail.gmail.com>
References:  <CA%2B1xt=sPpuUK7wAM7qrnuH2y2QcV-Abf4fwk7o3y8a74h1xCOw@mail.gmail.com> <20140222084125.GA1567@tiny-r255948> <CA%2B1xt=v5RLtDEbN%2Btm5gAkw52Hp9ziOnbvd_nwdFDkj=KCDaMA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Saturday, February 22, 2014 a las 01:14:19PM +0330, Farzin Falahati escribió:

> thank you Matthias for your reply but vpnc is a client used for accessing
> remote user to a LAN via ipsec tunnel while i want to have an ipsec tunnel
> between two lan networks. i mean i want to connect two seperated remote lan
> to each other via an ipsec tunnel over the internet. in order to do that,
> i'm using ipsec-tool (racoon) to create ipsec tuunel between my lan and a
> cisco router which is member of another lan.
> is it possible to have an ipsec tunnel between two lan (from freebsd in
> lan1 to a cisco router in lan2)?

Ofc, it is a client. But, once you have the connection established, the
rest is just a matter of routing, i.e. behind your FreeBSD could be any
kind of LAN; just enable gateway via rc.conf and proper routings.

	matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz, <guru@unixarea.de>, http://www.unixarea.de/ f: +49-170-4527211
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140222095913.GA1855>