Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2006 16:40:06 +0200
From:      guru@Sisis.de
To:        hal <hal@cc.usu.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Choosing which interface to use
Message-ID:  <20060407144005.GA2554@rebelion.Sisis.de>
In-Reply-To: <FC11C925-4213-47AA-B004-B6925305FC31@cc.usu.edu>
References:  <FC11C925-4213-47AA-B004-B6925305FC31@cc.usu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Friday, April 07, 2006 a las 08:29:03AM -0600, hal escribió:

> I am setting up a VPN client on a 6.0 box of mine.
> As a result of the VPN client (openvpn) running I
> have two interfaces active, xl0 needed by the dhcp
> client and tun0 used by the vpn client.
> 
> The question.  How do I tell an application perhaps telnet,
> ssh, or ftp to use tun0 and not xl0?

This is not a question of telling the application to use certain
interface, xl0 or tun0. You will direct this application to some
remote IP addr and the routing table defines the interface to be used.

Have a look at 'netstat -rn' and add more routings if necesary.

	matthias

-- 
Matthias Apitz / Sisis Informationssysteme GmbH
ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL)
D-82041 Oberhaching, Gruenwalder Weg 28g
Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211
http://www.sisis.de/~guru/



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