JR-__-
08-06-2006, 17:10
###
First follow the steps writeln by user Tamadite with his tutorial "HowTo install OpenVPN server".
###
Now Y can try to set your router such as OpenVPN server with multiple clients.
Download the easy-rsa.zip I added into the attachmet for example in the directory /opt/etc/openvpn/easy-rsa unzip the easy-rsa.zip file edit the vars file and than follow the tutorial from openvpn homepage:
http://openvpn.net/howto.html#pki
After y generate all necessary files edit the file server.conf to
nano /opt/etc/openvpn/server.conf
port 1194
proto udp
dev tun
ca /opt/etc/openvpn/easy-rsa/keys/ca.crt
cert /opt/etc/openvpn/easy-rsa/keys/server.crt
key /opt/etc/openvpn/easy-rsa/keys/server.key
dh /opt/etc/openvpn/easy-rsa/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
comp-lzo
max-clients 100
user nobody
group nobody
status openvpn-status.log
verb 3
Client config file:
client
dev tun
proto udp
remote asus 1194
resolv-retry infinite
nobind
user nobody
group nobody
ca ca.crt
cert zoruska.crt
key zoruska.key
comp-lzo
verb 3
mute 20
First follow the steps writeln by user Tamadite with his tutorial "HowTo install OpenVPN server".
###
Now Y can try to set your router such as OpenVPN server with multiple clients.
Download the easy-rsa.zip I added into the attachmet for example in the directory /opt/etc/openvpn/easy-rsa unzip the easy-rsa.zip file edit the vars file and than follow the tutorial from openvpn homepage:
http://openvpn.net/howto.html#pki
After y generate all necessary files edit the file server.conf to
nano /opt/etc/openvpn/server.conf
port 1194
proto udp
dev tun
ca /opt/etc/openvpn/easy-rsa/keys/ca.crt
cert /opt/etc/openvpn/easy-rsa/keys/server.crt
key /opt/etc/openvpn/easy-rsa/keys/server.key
dh /opt/etc/openvpn/easy-rsa/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
comp-lzo
max-clients 100
user nobody
group nobody
status openvpn-status.log
verb 3
Client config file:
client
dev tun
proto udp
remote asus 1194
resolv-retry infinite
nobind
user nobody
group nobody
ca ca.crt
cert zoruska.crt
key zoruska.key
comp-lzo
verb 3
mute 20