Choosing which interface to use
guru at Sisis.de
guru at Sisis.de
Fri Apr 7 14:40:31 UTC 2006
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/
More information about the freebsd-questions
mailing list