User Tools

Site Tools


openvpn_stuff

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
openvpn_stuff [2007/04/02 15:23]
66.207.222.14
openvpn_stuff [2013/09/28 17:06] (current)
Line 129: Line 129:
   - static key: /​etc/​openvpn/​static.key:<​code>​openvpn --genkey --secret static.key</​code>​   - static key: /​etc/​openvpn/​static.key:<​code>​openvpn --genkey --secret static.key</​code>​
   - test: <​code>​openvpn /​etc/​openvpn/​server.conf</​code>  ​   - test: <​code>​openvpn /​etc/​openvpn/​server.conf</​code>  ​
 +  - autostartup script for server (/​etc/​init.d/​S95openvpnserver):<​code>​
 +#!/bin/sh
 +#/​etc/​init.d/​S95openvpnserver
 +/​etc/​openvpnbridge
 +openvpn /​etc/​openvpn/​server.conf &
 +</​code>​
 +  - make it executable:<​code>​
 +chmod +x /​etc/​init.d/​S95openvpnserver
 +</​code>​
   - client config file:<​code>​   - client config file:<​code>​
 dev tap dev tap
Line 139: Line 148:
 verb 3 verb 3
 </​code>​ </​code>​
-  - autostartup script for server (/​etc/​init.d/​S95openvpnserver):<​code>​ +
-#!/bin/sh +
-#/​etc/​init.d/​S95openvpnserver +
-/​etc/​openvpnbridge +
-openvpn /​etc/​openvpn/​server.conf & +
-</​code>​+
  
  
openvpn_stuff.txt · Last modified: 2013/09/28 17:06 (external edit)