LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-05-2015, 06:53 AM   #1
scripter
LQ Newbie
 
Registered: Feb 2015
Posts: 4

Rep: Reputation: Disabled
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

Last edited by scripter; 02-05-2015 at 08:38 AM.
 
Old 02-05-2015, 12:39 PM   #2
scripter
LQ Newbie
 
Registered: Feb 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
No one??
 
Old 02-05-2015, 07:23 PM   #3
scripter
LQ Newbie
 
Registered: Feb 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
well thanks. solved
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] OpenVPN problems pchristy Slackware 1 11-12-2014 08:46 AM
Creating a key in Openvpn ajayan Linux - Newbie 2 04-21-2010 10:25 AM
OpenVPN routing problems? digimars Linux - Networking 42 04-13-2010 08:57 AM
openVPN problems priyadarshan Linux - Networking 1 02-18-2009 10:08 PM
LXer: Creating secure wireless access points with OpenBSD and OpenVPN LXer Syndicated Linux News 0 12-13-2005 09:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration