Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I wish to start a VPN server with my old computer. I have to connected to one of the ethernet ports on the back of my router. I have tried to set up a bridge VPN however the openvpn service fails when I try to start it. I would greatly appriciate if anyone could check the config files below

/etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
# iface lo inet loopback

# auto br0
# iface br0 inet static
# address 192.168.1.103           <---  If possible, could someone
# netmask 255.255.255.0           <---  also explain what these 
# network 192.0.2.0               <---  are for (the machine, the VPN etc).
# broadcast 192.0.2.255           <---  
# bridge_ports eth0
# bridge_fd 9
# bridge_hello 2
# bridge_maxage 12
# bridge_stp on
# bridge_prio 1000

#auto eth0
#iface eth0 inet dhcp

/etc/openvpn/server.conf

# local 192.168.1.103
# port 1194
# proto udp
# server-bridge 192.168.1.103 255.255.255.0 192.0.2.160 192.0.2.170
# dev tap0
# ca ca.crt
# cert Server-VPN.crt
# tun-mtu 1454
# key Server-VPN.key
# dh dh1024.pem

# up "/etc/openvpn/up.sh br0 tap0 1500"
# down "/etc/openvpn/down.sh br0 tap0"
# ifconfig-pool-persist ipp.txt
# keepalive 10 600
# comp-lzo
# persist-key
# persist-tun
# verb 3
# mute 20
# status openvpn-status.log
# client-config-dir ccd
# client-to-client

the "/etc/openvpn/openvpn-status.log" file is empty

If anyone could point out a flaw with the code, that would be awesome, as I am still new to VPN programming (The most I've done is configure Hamachi...till now) Liam

share|improve this question
1  
oh no, whoops, I thought thats how you added code. Please ignore ALL the hash symbols :) –  bobsterman Jan 5 at 5:24

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.