Re: Choosing which interface to use



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/
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • syntec question on pf redirect
    ... I think I am getting a little mixed up on understanding pf redirection. ... with the style of setup I have. ... The way my rules are create is that I restrict on the tun0 ... https, ect) on that interface. ...
    (comp.unix.bsd.openbsd.misc)
  • Re: ipfw and tun0
    ... PPP session via the tun0 interface. ... > When I block those SYN packets, I still see them on tun0 but the RST ... This implies that the firewall rules are working. ...
    (freebsd-questions)
  • Re: Configuring Cisco VPN Client / Windows XP
    ... Packets will use an interface based on the routing table. ... Generally speaking when the VPN is connected it will add a route to the ... flush the DNS Cache resolver to clear out the old DNS ... > cannot access the *same* pages on the computer with the VPN client ...
    (comp.dcom.vpn)
  • PIX 501: NAT VPN Clients to Inside?
    ... running the Cisco VPN client 4.x. ... The "Inside" interface has a public IP of 172.46.24.100, ... would appear to come from the interface IP of the pix. ... client computer connecting, getting a 192.168 address, and then it ...
    (comp.dcom.sys.cisco)
  • Blocking RIP requests on firewall
    ... My external interface is xl0. ... block return-icmp-as-destin log quick on xl0 proto udp from any ... pass out quick on xl1 proto tcp from any to any keep state ...
    (freebsd-questions)