Page 1 of 1
webmain vpn wont start
Posted: Sun Nov 27, 2011 3:23 pm
by darklord
server directive network/netmask combination is invalid
Use --help for more information
i tryed the
Code: Select all
http://michigantelephone.wordpress.com/2009/06/22/setting-up-an-openvpn-tunnel-using-a-centos-based-system-as-the-server-and-a-router-flashed-with-tomato-firmware-as-the-client-part-3/
and
Code: Select all
http://www.frontiernet.net/~beakmyn/vpn%20howto/Complete%20Home%20VPN%20Howto%20Guide.html#mozTocId301771
but still having alot of problems.. can you help?
Re: webmain vpn wont start
Posted: Sun Nov 27, 2011 3:43 pm
by FeileX
Hmmm, without any config files, it's hard to read exactly what is encoded on your server's harddrives.
I'd recommend using PasteBin
http://pastebin.com/for your config files.
Posting your exact IP address on paste bin probably isn't the best idea, I recommend removing the last digits and replacing them with x's...
IE, my IP address is 50.135.217.xxx
Other than that, look through your config files before you paste them, and edit anything that you don't want the world to see. If you do remove something, make sure you explicitly call it out.
Re: webmain vpn wont start
Posted: Sun Nov 27, 2011 3:58 pm
by darklord
how can i get the system info.. from SSH?
Re: webmain vpn wont start
Posted: Sun Nov 27, 2011 4:00 pm
by FeileX
Yea, or your console, if you have direct access...
The config files we are looking for are your server.conf file, and your client.conf file.
Re: webmain vpn wont start
Posted: Sun Nov 27, 2011 5:27 pm
by darklord
Re: webmain vpn wont start
Posted: Sun Nov 27, 2011 5:52 pm
by FeileX
Ok....
http://openvpn.net/index.php/open-sourc ... howto.html
Read through this, it will give you lots of insights....
For starters, dev tun0 is wrong... I believe it should be just dev tun
As for no keys...
Have you created your keys for the server and created keys for the client?
Re: webmain vpn wont start
Posted: Sun Nov 27, 2011 6:03 pm
by darklord
FeileX wrote:Ok....
http://openvpn.net/index.php/open-sourc ... howto.html
Read through this, it will give you lots of insights....
For starters, dev tun0 is wrong... I believe it should be just dev tun
As for no keys...
Have you created your keys for the server and created keys for the client?
ok i got that to work.. but i cant not still get it turn on
Re: webmain vpn wont start
Posted: Sun Nov 27, 2011 7:13 pm
by FeileX
What do you mean it wont start?
Can you share the log files?
Re: webmain vpn wont start
Posted: Sun Nov 27, 2011 8:30 pm
by darklord
Options error: --server directive network/netmask combination is invalid
Use --help for more information.
Options error: --server directive netmask is invalid
Use --help for more information.
Options error: --server directive network/netmask combination is invalid
Use --help for more information.
Options error: --server directive network/netmask combination is invalid
Use --help for more information.
Re: webmain vpn wont start
Posted: Mon Nov 28, 2011 7:50 am
by FeileX
Well, looking again at your config files, you list the server as 174.59.147.xx
Server should be the ip address that you are trying to expose...
Such as 10.8.0.0 /255.255.255.0
Try changing that, set "verb 5",
and then restart the service.
Then use pastebin to dump the output of servers/serv/logs/openvpn.log.
Re: webmain vpn wont start
Posted: Mon Nov 28, 2011 1:49 pm
by Mimiko
In the server.conf replace with:
and dont use your public ip.