dave_birdi
September 7th, 2010, 12:06 AM
Followed this guide to the letter:
https://help.ubuntu.com/10.04/serverguide/C/openvpn.html
Tried to run command:
sudo /etc/init.d/openvpn restart
And just get a fail returned.
This is what the log-file says...
##############################################
Tue Sep 7 00:05:31 2010 OpenVPN 2.1.0 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 20 2010
Tue Sep 7 00:05:31 2010 NOTE: when bridging your LAN adapter with the TAP adapter, note that the new bridge adapter will often take on its own IP address that is different from what the LAN adapter was previously set to
Tue Sep 7 00:05:31 2010 NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
Tue Sep 7 00:05:31 2010 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Tue Sep 7 00:05:31 2010 Diffie-Hellman initialized with 1024 bit key
Tue Sep 7 00:05:31 2010 /usr/bin/openssl-vulnkey -q -b 1024 -m <modulus omitted>
Tue Sep 7 00:05:31 2010 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Tue Sep 7 00:05:31 2010 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Sep 7 00:05:31 2010 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Sep 7 00:05:31 2010 TLS-Auth MTU parms [ L:1574 D:166 EF:66 EB:0 ET:0 EL:0 ]
Tue Sep 7 00:05:31 2010 TUN/TAP device tap0 opened
Tue Sep 7 00:05:31 2010 TUN/TAP TX queue length set to 100
Tue Sep 7 00:05:31 2010 /etc/openvpn/up.sh br0 tap0 1500 1574 init
bridge br0 does not exist!
Tue Sep 7 00:05:31 2010 script failed: external program exited with error status: 1
Tue Sep 7 00:05:31 2010 Exiting
##############################################
It says init bridge br0 does not exist. Do I need to create it in the network config or something?
https://help.ubuntu.com/10.04/serverguide/C/openvpn.html
Tried to run command:
sudo /etc/init.d/openvpn restart
And just get a fail returned.
This is what the log-file says...
##############################################
Tue Sep 7 00:05:31 2010 OpenVPN 2.1.0 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 20 2010
Tue Sep 7 00:05:31 2010 NOTE: when bridging your LAN adapter with the TAP adapter, note that the new bridge adapter will often take on its own IP address that is different from what the LAN adapter was previously set to
Tue Sep 7 00:05:31 2010 NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
Tue Sep 7 00:05:31 2010 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Tue Sep 7 00:05:31 2010 Diffie-Hellman initialized with 1024 bit key
Tue Sep 7 00:05:31 2010 /usr/bin/openssl-vulnkey -q -b 1024 -m <modulus omitted>
Tue Sep 7 00:05:31 2010 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Tue Sep 7 00:05:31 2010 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Sep 7 00:05:31 2010 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Sep 7 00:05:31 2010 TLS-Auth MTU parms [ L:1574 D:166 EF:66 EB:0 ET:0 EL:0 ]
Tue Sep 7 00:05:31 2010 TUN/TAP device tap0 opened
Tue Sep 7 00:05:31 2010 TUN/TAP TX queue length set to 100
Tue Sep 7 00:05:31 2010 /etc/openvpn/up.sh br0 tap0 1500 1574 init
bridge br0 does not exist!
Tue Sep 7 00:05:31 2010 script failed: external program exited with error status: 1
Tue Sep 7 00:05:31 2010 Exiting
##############################################
It says init bridge br0 does not exist. Do I need to create it in the network config or something?