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!
Setting up a Bridge Connection Questions
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sat Mar 05, 2011 1:57 am
-
- Forum Team
- Posts: 285
- Joined: Wed Aug 27, 2008 2:41 am
Re: Setting up a Bridge Connection Questions
Please post all configs (server and client) with comments stripped.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!
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sat Mar 05, 2011 1:57 am
Re: Setting up a Bridge Connection Questions
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!
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!