This is way too little information to provide any help. At least show your openvpn configuration files.
#################################################
# Sample OpenVPN 2.0 config file for #
# multi-client server. #
# #
# This file is for the server side #
# of a many-clients <-> one-server #
# OpenVPN configuration. #
# #
# OpenVPN also supports #
# single-machine <-> single-machine #
# configurations (See the Examples page #
# on the web site for more info). #
# #
# This config should work on Windows #
# or Linux/BSD systems. Remember on #
# Windows to quote pathnames and use #
# double backslashes, e.g.: #
# "C:\\Program Files\\OpenVPN\\config\\foo.key" #
# #
# Comments are preceded with '#' or ';' #
#################################################
# Which local IP address should OpenVPN
# listen on? (optional)
local 192.168.1.1
port 1194
proto udp
dev tun
ca /usr/local/etc/openvpn/keys/ca.crt
cert /usr/local/etc/openvpn/keys/openvpn-server.crt
key /usr/local/etc/openvpn/keys/openvpn-server.key
server 192.168.1.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
verb 3
explicit-exit-notify 1
So what does your logfile tell you? That should list the actual error message(s) and also showcase what went wrong (and why).please someone help me
Example 1: A simple tunnel without security
On bob:
openvpn --remote alice.example.com --dev tun1 --ifconfig
10.4.0.1 10.4.0.2 --verb 9
On alice:
openvpn --remote bob.example.com --dev tun1 --ifconfig 10.4.0.2
10.4.0.1 --verb 9
Now verify the tunnel is working by pinging across the tunnel.
Amen
It is a server, I finished to configure all archives but when I try to start the service withWhat is OpenVPN supposed to do? Server? Client? We're good but we're not clairvoyant. Please explain what you want to do.
service openvpn start
, I get the following,"Starting openvpn.
/usr/local/etc/rc.d/openvpn: WARNING: failed to start openvpn"
local 192.168.1.1
port 1194
proto udp
dev tun
ca /usr/local/etc/openvpn/keys/ca.crt
cert /usr/local/etc/openvpn/keys/openvpn-server.crt
key /usr/local/etc/openvpn/keys/openvpn-server.key
server 192.168.1.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
verb 3
explicit-exit-notify 1
So what does your logfile tell you? That should list the actual error message(s) and also showcase what went wrong (and why).
Another important aspect: have you followed up (and tried) the connection examples as shown in openvpn(8)?
You know, stuff like this:
... because that can seriously help you to rule out possible external causes for whatever problem you're facing here.Code:Example 1: A simple tunnel without security On bob: openvpn --remote alice.example.com --dev tun1 --ifconfig 10.4.0.1 10.4.0.2 --verb 9 On alice: openvpn --remote bob.example.com --dev tun1 --ifconfig 10.4.0.2 10.4.0.1 --verb 9 Now verify the tunnel is working by pinging across the tunnel.
mmm how do I show my logfile? , I'm new in Freebsd
First of all: definitely take a little more effort to properly quote a post. I know you can do this because you've shown that earlier. It makes it easier to answer.mmm how do I show my logfile? , I'm new in Freebsd
# openvpn --config <point to your config file> |& tee vpn.log
(note that I am assuming here that you're using csh as the root user).