LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   OpenVpn problems when creating (https://www.linuxquestions.org/questions/linux-networking-3/openvpn-problems-when-creating-4175533148/)

scripter 02-05-2015 06:53 AM

OpenVpn problems when creating
 
Im newbie in this subject but I created the keys and the conf file but when I do sudo /etc/init.d/openvpn restart
i recieve
[ ok ] Stopping virtual private network daemon:.
[FAIL] Starting virtual private network daemon: server failed!

...
Code:

netstat -l | grep 1194
recieve nothing

ps aux | grep openvpn
root      4290  0.0  0.1  3556  776 pts/0    S+  12:51  0:00 grep openvpn

server.conf
Code:

port 1194
proto udp
dev tun

ca /etc/openvpn/certs/ca.crt
cert /etc/openvpn/certs/neutron.crt
key /etc/openvpn/certs/neutron.key
dh /etc/openvpn/certs/dh2048.pem
tls-auth /etc/openvpn/certs/ta.key 0

server 10.130.156.177 255.255.0.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"

client-to-client
keepalive 1800 4000

cipher DES-EDE3-CBC # Triple-DES
comp-lzo

max-clients 10

user nobody
group nogroup

persist-key
persist-tun

Code:

eth0      Link encap:Ethernet  HWaddr 04:01:3d:91:47:01 
          inet addr:128.199.135.213  Bcast:128.199.191.255  Mask:255.255.192.0
          inet6 addr: fe80::601:3dff:fe91:4701/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24708 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23302 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11068101 (10.5 MiB)  TX bytes:3284090 (3.1 MiB)

eth1      Link encap:Ethernet  HWaddr 04:01:3d:91:47:02 
          inet addr:10.130.156.177  Bcast:10.130.255.255  Mask:255.255.0.0
          inet6 addr: fe80::601:3dff:fe91:4702/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:398 (398.0 B)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Im on Debian 7.0

scripter 02-05-2015 12:39 PM

No one??

scripter 02-05-2015 07:23 PM

well thanks. solved


All times are GMT -5. The time now is 02:58 AM.