[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] vpn routing?



On Wed, 27-Aug-2003 at 11:05:38 +0200, Markus Wenke wrote:

> CLIENT3 is connected via vpn trough internet to the router. (CLIENT3's 
> IP: 192.168.0.1 (tun1), ROUTER has 192.168.0.2(tun1)).
> Now I want that CLIENT3 becomes additional the IP 172.16.1.103, so that 
> he can comunicate with the other CLIENTs in the net 172.16.1.255 (as it 
> where physicaly in it).

If you don't need broadcasts to make it to CLIENT3, then you probably want
proxy ARP.  (Bridging would work too, and get you your broadcasts, but it's
not as efficient.)

On ROUTER, do this:

	arp -Ds 172.16.1.103 eth1 pub -i eth1

This tells ROUTER to respond to ARP requests on eth1 (I'll assume this is
your internal interface) with the MAC address of its own interface on eth1.
That should be it.

-- 
Take care,
Scott \\'unsch

... Ok, I've pulled the pin.  Now what?  Where are you going?!

Attachment: pgp5twsLikplK.pgp
Description: PGP signature