Setting up a Bridge Connection Questions

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
EmmanEsguerra
OpenVpn Newbie
Posts: 2
Joined: Sat Mar 05, 2011 1:57 am

Setting up a Bridge Connection Questions

Post by EmmanEsguerra » Sat Mar 05, 2011 2:54 am

Im very new to OpenVPN, im also running OpenVPN in ubuntu both on 10.4

please help me how to setup a bridge connection with 2 network interface using eth0 and eth1.

eth0 is directly connected thru the internet and eth1 is on lan.

also im not sure if im complete on the requirements on set upping a network interface? please do so to check if im complete.

lastly

should i open port 5000? and what about TUN/TAP devices? is it already configured?

i hope i make it clear to you guys, thanks and more power!

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: Setting up a Bridge Connection Questions

Post by Douglas » Sat Mar 05, 2011 3:44 am

EmmanEsguerra wrote:Im very new to OpenVPN, im also running OpenVPN in ubuntu both on 10.4

please help me how to setup a bridge connection with 2 network interface using eth0 and eth1.

eth0 is directly connected thru the internet and eth1 is on lan.

also im not sure if im complete on the requirements on set upping a network interface? please do so to check if im complete.

lastly

should i open port 5000? and what about TUN/TAP devices? is it already configured?

i hope i make it clear to you guys, thanks and more power!
Please post all configs (server and client) with comments stripped.

EmmanEsguerra
OpenVpn Newbie
Posts: 2
Joined: Sat Mar 05, 2011 1:57 am

Re: Setting up a Bridge Connection Questions

Post by EmmanEsguerra » Sat Mar 05, 2011 6:05 am

auto eth1
iface eth1 inet dhcp

auto lo br0

iface lo inet loopback

iface br0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth0

iface eth0 inet manual
up ip link set $IFACE up promisc on
down ip link set $IFACE down promisc off


----------------
This is my /etc/network/interface config.. i just follow the configuration in https://help.ubuntu.com/community/OpenVPN and add eth1 for my LAN connection.. i just want a bridge connection with eth0 and eth1. the eth0 must be connected to the internet and eth1 is for lan for school.
but im not sure which of the eth will act as a bridge.

thanks for the reply!

Post Reply