Due to some recent traveling and using unsecured wifi's, I've decided that it was probably time for a VPN server on my Debian box. My present setup is that my Debian box is given a static IP address from my Dlink router (DHCP server), and the Dlink router provides the bridge to the outside world.
I've tried following a guide and tweaking it a bit, but I think somethings went wrong and here I am now. I think my problem is with my server.conf file, so here it is:
mode server
tls-server
local 192.168.0.198 ## ip/hostname of server
port 1194 ## default openvpn port
proto udp
dev tap0 ## If you need multiple tap devices, add them here
up "/etc/openvpn/up.sh br0 tap0 1500"
down "/etc/openvpn/down.sh br0 tap0"
persist-key
persist-tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
tls-auth ta.key 0 # This file is secret
cipher BF-CBC # Blowfish (default)
comp-lzo
ifconfig-pool-persist ipp.txt
server-bridge #192.168.0.198 255.255.255.0 192.168.0.150 192.168.0.160
push "dhcp-option DNS 192.168.0.1"
push "route 0.0.0.0 255.255.255.255 net_gateway"
max-clients 10 ## set this to the max number of clients that should be connected at a time
user nobody
group nogroup
keepalive 10 120
status openvpn-status.log
verb 3
Here's the guide that I was using:
https://help.ubuntu.com/community/OpenVPN