Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm following this guide in order to set up OpenVPN. The tutorial looks fine, but I got a bit sceptical when it told me to change my network interface settings. More precisely it tells me to switch out the current iface eth0 settings, from auto to what's listed below.

I havent't worked long enough with linux based system to know if the settings below will break my connection, or for that matter, what exactly the settings are defining.

As the server is a VPS I have to run it on a dynamic setting. To make matters worse I don't have access to it and loosing connection will mean I'll have to have it reset locally. So in other words, I have to be sure I wont breake the connection (I'm using SSH to manage it).

The server is running Ubuntu 10.10.

iface eth0 auto


# Set up the bridge interface for OpenVPN 
auto br0 
iface br0 inet static 
        bridge_ports eth0 
#### NOTE: If you are running OpenVPN in a virtual machine, then uncomment these lines:
#        bridge_fd 9 
#        bridge_hello 2 
#        bridge_maxage 12 
#        bridge_stp off 
iface eth0 inet manual 
  up ifconfig $IFACE up 
  up ip link set $IFACE promisc on 
  down ip link set $IFACE promisc off 
  down ifconfig $IFACE down 
share|improve this question
Do you really need a bridged VPN? What traffic do you have that can't be routed? –  mgorven Aug 12 '12 at 5:01
Nope, as it turns out I don't. I got tipped about the guide, so I just followed it without thinking about routing vs bridged. Found a similar guide for a routed setup which is now set up and working fine. –  KG Christensen Aug 13 '12 at 2:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.