Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Bridging and OpenVPN

Reply
 
Thread Tools Display Modes
  #1  
Old 06-14-2007, 08:23 PM
Default Bridging and OpenVPN



Hi,

while installing OpenVPN to integrate a remote client into a LAN some
questions came up:

The remote client should get a LAN IP. But even when I set an explicit
route to the remote client over the TAP device and enter ARP entries
manually, routing does not function properly. Has just something gone
wrong or will this a priori not work? Why does it work with a ppp
device?

I tried to set up a bridge to link the TAP device to eth0, but
apparently eth0 does not work any longer when it is part of a bridge.
Correct?

Regards,
André



André Hänsel
Reply With Quote
  #2  
Old 06-14-2007, 09:09 PM
Lasse Jensen
Guest
 
Posts: n/a
Default Re: Bridging and OpenVPN

André Hänsel wrote:

> Hi,
>
> while installing OpenVPN to integrate a remote client into a LAN some
> questions came up:
>
> The remote client should get a LAN IP. But even when I set an explicit
> route to the remote client over the TAP device and enter ARP entries
> manually, routing does not function properly. Has just something gone
> wrong or will this a priori not work? Why does it work with a ppp
> device?
>
> I tried to set up a bridge to link the TAP device to eth0, but
> apparently eth0 does not work any longer when it is part of a bridge.
> Correct?


You have to ifconfig eth0 down; ifconfig eth0 up 0.0.0.0; ifconfig tap0
down; ifconfig tap0 up 0.0.0.0; brctl addbr br0; btcrl addif eth0; brctl
addif tap0; ifconfig br0 up the.ip.you.want

--
Lasse Jensen [fafler at g mail dot com]
Linux, the choice of a GNU generation.
Reply With Quote
Reply

Tags
bridging, openvpn

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 07:07 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.