Results 76 to 93 of 93
-
11-08-2010, 08:18 PM #76Newbie
- Join Date
- Apr 2008
- Location
- Saudi Arabia
- Posts
- 16
-
11-08-2010, 08:22 PM #77Newbie
- Join Date
- Apr 2008
- Location
- Saudi Arabia
- Posts
- 16
for others who are stuck at this too, I discovered that we already have sample server.conf file.
you can find it here:
/usr/share/doc/openvpn-2.1/sample-config-files/server.conf
-
11-13-2010, 02:27 AM #78Aspiring Evangelist
- Join Date
- Apr 2010
- Posts
- 421
-
11-13-2010, 07:12 AM #79Newbie
- Join Date
- Apr 2008
- Location
- Saudi Arabia
- Posts
- 16
Actually, yes, there are a lot of things that you need to change to suit your needs.
The most important thing is the path to the certificates and keys.
I have been palying around with it for more than a week now, and all what I could achieve is to have my client connect to the vpn server and ping the local IPs to the server.
But I can't use the internet while connected, so, if anybody has any suggestion about that, it will be most appreciated
-
11-13-2010, 08:10 AM #80Always Learning...
- Join Date
- Aug 2002
- Location
- Bharat
- Posts
- 4,808
Last edited by Vinayak_Sharma; 11-13-2010 at 08:14 AM.
Vinsar.Net - Quality Web Hosting at Economical Price on USA & European Servers
Offering domains, shared, reseller & VPS hosting.
Reliable Domain Reseller Account Resell Domains with Confidence
-
11-13-2010, 08:34 AM #81Newbie
- Join Date
- Apr 2008
- Location
- Saudi Arabia
- Posts
- 16
No, I'm on a dedicated server which has 5 dedicated IPs
does that makes any difference?
if it helps, here is my usage to the IPs
IP1 : main public IP
IP2 : I'm hosting a website that uses this IP as its dedicated IP.
IP3 : not used
IP4 : for DNS (i.e ns1.mydomain.com)
IP5 : for DNS (i.e ns2.mydomain.com)
I have apache and WHM/cPanel installed, but I'm using this server only to host 1 website which has the second dedicated IP.
Note: when I connect to the server from the client, and try to go to mydomain.com in my browser it works just fine, but when I try any other website it does not work
Thank you very much for your replay, and hope you can help me
-
12-07-2010, 06:59 AM #82Newbie
- Join Date
- Sep 2010
- Posts
- 8
will someone please update the instructions? yum install openvpn doesn't work too
-
01-13-2011, 07:06 PM #83Junior Guru Wannabe
- Join Date
- Jan 2011
- Posts
- 93
You must add the dag wiers Repo
This is for Centos 5.4
I can make on Sunday night an How to for Centos and Debian.
Because as i saw the tutorial here, not so good to give the DNS in client.conf better way is to do it in server.conf
And yes its possible to bind the openvpn to one of your Ip addresses.
Sunday i make an nice tutorial where i try to explain what options is for what.
-
02-10-2011, 10:21 AM #84Newbie
- Join Date
- Oct 2004
- Posts
- 6
You cant do yum install openvpn anymore
Instead, go to openvpn and download the TAR GZ. Then use configure and make to build the binaries yourself (need to install gcc, make and lzo).
Or get the RPM file and use rpmbuild
:_)
-
02-10-2011, 05:50 PM #85Newbie
- Join Date
- Sep 2010
- Posts
- 8
Yes you can stil do yum install openvpn...
-
03-29-2011, 02:13 PM #86Newbie
- Join Date
- Sep 2009
- Posts
- 8
Everything worked up until trying to connect.
Getting:
Code:2011-03-29 14:12:32 Attempting to establish TCP connection with ##.##.##.###:1194 [nonblock] 2011-03-29 14:12:32 2011-03-29 14:12:33 will try again in 5 seconds: Connection refused 2011-03-29 14:12:36 process exiting 2011-03-29 14:12:36
any suggestions?
-
04-02-2011, 05:23 AM #87Junior Guru Wannabe
- Join Date
- Mar 2011
- Posts
- 98
4. You need to edit the vars file, located in /etc/openvpn/easy-rsa
You can use any editor you like, I used vi.
Change the line
Code:
export KEY_DIR=$D/keys
to
Code:
export KEY_DIR=/etc/openvpn/keys
Also at the bottom of this file you will see something similar to this,
Code:
export KEY_COUNTRY=US
export KEY_PROVINCE=CA
export KEY_CITY=SOMEWHERE
export KEY_ORG="My Org"
export KEY_EMAIL=me@mydomain.com
Change this to your own values.
i cant see that on nano /etc/openvpn/easy-rsa
it was blank nothing on it
please help me
-
04-04-2011, 04:32 PM #88Junior Guru
- Join Date
- May 2010
- Location
- Online
- Posts
- 236
-
04-04-2011, 08:05 PM #89Junior Guru Wannabe
- Join Date
- Mar 2011
- Posts
- 98
can i ask?
what was the difference adding several lines like
#iptables -t nat -A POSTROUTING -s 1.2.3.0/24 -j SNAT --to 123.123.123.123
#iptables -t nat -A POSTROUTING -s 1.2.3.1/24 -j SNAT --to 123.123.123.123
#iptables -t nat -A POSTROUTING -s 1.2.3.2/24 -j SNAT --to 123.123.123.123
and so on.... is this advisable? or single line only will help
and can this code on 1194.conf will help us from getting disconnected when several user's connected?
or how can this be prevented from gaining network failure when several user's connected?
thanks
-
05-05-2011, 11:32 PM #90Junior Guru Wannabe
- Join Date
- Mar 2011
- Posts
- 98
we do hope someone will create procedure how to create icmp connection via openvpn
-
05-06-2011, 08:32 PM #91Web Hosting Master
- Join Date
- Aug 2004
- Location
- Shanghai
- Posts
- 1,475
I don't see why ICMP wouldn't work after setting-up OpenVPN.
ThomasGPLHost:>_ open source hosting worldwide (I'm founder, CEO & official Debian Developer)
Servers & our leading control panel and our Xen VPS hosting, which are already included in Debian and Ubuntu
Available in: Kuala Lumpur, Singapore, Sydney, Seattle, Atlanta, Paris, London, Barcelona, Zurich, Israel
-
05-06-2011, 08:34 PM #92WHT Addict
- Join Date
- May 2011
- Location
- Beach
- Posts
- 114
check the firewall
-
05-06-2011, 11:22 PM #93Junior Guru Wannabe
- Join Date
- Mar 2011
- Posts
- 98
can you post the configuration to build icmp connection?