Fri, 8 Jun 2001 21:36:52 -0400
On Sat, Jun 09, 2001 at 12:10:36AM +0300, s I n wrote:
> First of all I want to aplogize for this offtopic question, but I had no
> ideea where to ask.
> I have two inerfaces eth0 and ipsec0
> I want to route some services over the ipsec0 inerface for a little more
> secure connection.
> I want to send IRC && outgoing e-mail through ipsec0. Could someone please
> tell me how to do this ?
I believe that you're using freeswan. Unfortunately, I don't know how it
uses the routing entries. For a regular tunnel interface, you could use
a combination of marking/detecting and routing with "ip". But I think that
freeswan, does route the packets based on the left/right network regardless
of the way you want certain packets to get routed. It all has to do with
the SA and key negotiation and other stuff. But don't take my words for it
and check with the guru's in email@example.com.