Skip to main content

Thread: Trouble starting up a vpn server?


code:
matt@matt:/etc/openvpn/easy-rsa$ sudo openvpn /etc/openvpn/server.conf  tue nov  1 20:23:51 2011 openvpn 2.1.3 i686-pc-linux-gnu [ssl] [lzo2] [epoll] [pkcs11] [mh] [pf_inet6] [eurephia] built on mar 11 2011  tue nov  1 20:23:51 2011 note: when bridging lan adapter tap adapter, note new bridge adapter take on own ip address different lan adapter set  tue nov  1 20:23:51 2011 note: local lan uses extremely common subnet address 192.168.0.x or 192.168.1.x.  aware might create routing conflicts if connect vpn server public locations such internet cafes use same subnet.  tue nov  1 20:23:51 2011 note: openvpn 2.1 requires '--script-security 2' or higher call user-defined scripts or executables  tue nov  1 20:23:51 2011 cannot open /etc/openvpn/keys/dh1024.pem dh parameters: error:02001002:system library:fopen:no such file or directory: error:2006d080:bio routines:bio_new_file:no such file
that's running
code:
sudo openvpn /etc/openvpn/server.conf
am supposed run openvpn command --script-security 2 thing or supposed input somewhere in config file? followed setup instructions here.
server fails start , gives message above. /etc/openvpn/keys/dh1024.pem in fact exist. may change local subnet less common later. not totally sure bridging/tap 1 about, ifconfig says address of br0 interface same eth0. able connect vpn same network it's on testing purposes, or since subnet address technically same, impossible?

i'll post contents of server.conf, minus commented out.

code:
local 192.168.1.104    port 25252    proto udp    dev tap0    ca /etc/openvpn/keys/ca.crt  cert /etc/openvpn/keys/server.crt  key /etc/openvpn/keys/server.key  # file should kept secret    dh /etc/openvpn/keys/dh1024.pem    "/etc/openvpn/up.sh br0"  down "/etc/openvpn/down.sh br0"    ifconfig-pool-persist ipp.txt    server-bridge 192.168.1.104 255.255.255.0 192.168.1.50 192.168.1.100    push "route 192.168.1.100 255.255.255.0"  ;push "route 192.168.20.0 255.255.255.0"    push "dhcp-option dns 208.67.222.222"  push "dhcp-option dns 208.67.220.220"    keepalive 10 120    tls-auth /etc/openvpn/keys/ta.key 0 # file secret    cipher des-ede3-cbc  # triple-des  comp-lzo    user nobody  group nogroup    persist-key  persist-tun    status /var/log/openvpn-status.log    verb 3    crl-verify /etc/openvpn/easy-rsa/2.0/keys/crl.pem
thanks in advance! let me know if i'm getting in on head. i'm on ubuntu server 11.10.

i'm using openvpn, way. pptpd supposedly not work on router. don't remember exact model number of it.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Trouble starting up a vpn server?


Ubuntu

Comments

Popular posts from this blog

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support