I'm trying to set up my desktop running Ubuntu 11.10 to connect to my OpenVPN server in bridge mode. I have my client configuration file set up like so:
remote [omitted] 1194 client dev tap0 proto tcp resolv-retry infinite nobind persist-key float ca [omitted] cert [omitted] key [omitted] ns-cert-type server
Using this exact same config file (except for the cert and key which are all signed by the same CA) I'm able to connect fine on my Windows machines. On my Ubuntu machine, it seems to work fine, as I get this output when running openvpn:
Mon Feb 6 11:15:36 2012 Attempting to establish TCP connection with [AF_INET]...:1194 [nonblock] Mon Feb 6 11:15:37 2012 TCP connection established with [AF_INET]...:1194 Mon Feb 6 11:15:37 2012 TCPv4_CLIENT link local: [undef] Mon Feb 6 11:15:37 2012 TCPv4_CLIENT link remote: [AF_INET]...:1194 Mon Feb 6 11:15:38 2012 [leigh-gateway] Peer Connection Initiated with [AF_INET]...:1194 Mon Feb 6 11:15:40 2012 TUN/TAP device tap0 opened Mon Feb 6 11:15:40 2012 Initialization Sequence Completed
However, I'm unable to connect to any of the bridged LAN devices after the VPN connection seemingly to have successfully completed. Running ifconfig seems to indicate that the tap0 interface doesn't exist.
Am I missing something here? Is there something extra I need to do after initiating the OpenVPN connection to configure the bridge interface? Thanks.