Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been given an assignment about configuring vpn on my university network. The purpose is to allow a remote user to use internet on my university's network as certain websites are only accessible through university network.
If you've been put in charge of a VPN solution for a university, are you not able to do basic research on your own, or ask a clear, complete question? You don't say anything about version/distro of Linux, how many clients (and what OS THEY are going to run), resources, etc. If you have a specific question, please post it, and we'll be happy to help...but we can't/won't look things up for you.
Quote:
Originally Posted by routers
you need to enable repoforge or EPEL
then yum install openvpn
...which will only work if the OP is using RHEL or a derivative. Yum doesn't work on all distros, and enabling the repositories you mentioned could HARM systems with bad info, if they're not compatible.
Dear TBone
Ops already mention centos in topic
that's why i give him yum installed
want to see what he want to reply , because in my mind
he didnt have the system with him
Quote:
Originally Posted by TB0ne
If you've been put in charge of a VPN solution for a university, are you not able to do basic research on your own, or ask a clear, complete question? You don't say anything about version/distro of Linux, how many clients (and what OS THEY are going to run), resources, etc. If you have a specific question, please post it, and we'll be happy to help...but we can't/won't look things up for you.
...which will only work if the OP is using RHEL or a derivative. Yum doesn't work on all distros, and enabling the repositories you mentioned could HARM systems with bad info, if they're not compatible.
Dear TBone
Ops already mention centos in topic
that's why i give him yum installed
want to see what he want to reply , because in my mind
he didnt have the system with him
If you've been put in charge of a VPN solution for a university, are you not able to do basic research on your own, or ask a clear, complete question? You don't say anything about version/distro of Linux, how many clients (and what OS THEY are going to run), resources, etc. If you have a specific question, please post it, and we'll be happy to help...but we can't/won't look things up for you.
...which will only work if the OP is using RHEL or a derivative. Yum doesn't work on all distros, and enabling the repositories you mentioned could HARM systems with bad info, if they're not compatible.
Dear Sir,
Sorry for my vague question. In my question I mentioned that I am using CentOS Linux 5.5. What I need is to allow a remote user to browse certain web sites which are only accessible on the university's network. My problem is I dont have Public IP. However, In my DSL router I can do it through port forwarding.
Sorry for my vague question. In my question I mentioned that I am using CentOS Linux 5.5.
No, you didn't. The subject of your question says CentOS. You never mentioned what version until now.
Quote:
What I need is to allow a remote user to browse certain web sites which are only accessible on the university's network. My problem is I dont have Public IP. However, In my DSL router I can do it through port forwarding.
My remote users will be using Windows xp/vista/7.
If your DSL router can do port-forwarding, then forward ports to different websites internally. No need to use a VPN. If you want security, then yes, you'll have to install/configure a VPN server. Again, there are MANY how-to documents you can easily find about how to configure various VPN systems. Follow them. Again, just putting "configure openvpn on centos" into Google brings up lots, like this: http://duncanbrown.org/index.php/OpenVPN_With_CentOS
Quote:
I once again apologize for making you angry.
No one is angry, but do realize that when you say you're in charge of a project at a university, then don't ask a clear question, provide details, or do ANY research on your own, it's not a good way to get help. If someone walked up to you in your job at the university and said "My computer doesn't work...what's wrong with it?", would you be able to help them, based on that question, or would you have to ask for details??
Quote:
Originally Posted by routers
Dear TBone
Ops already mention centos in topic that's why i give him yum installed want to see what he want to reply , because in my mind he didnt have the system with him
At the time, the OP didn't mention what VERSION of CentOS, so those repositories may or may not be a good thing. And until you know what version of CentOS, you don't know which repository to add. Version 5 is different from 6: http://www.rackspace.com/knowledge_c...entos-5x-or-6x
No, you didn't. The subject of your question says CentOS. You never mentioned what version until now.
If your DSL router can do port-forwarding, then forward ports to different websites internally. No need to use a VPN. If you want security, then yes, you'll have to install/configure a VPN server. Again, there are MANY how-to documents you can easily find about how to configure various VPN systems. Follow them. Again, just putting "configure openvpn on centos" into Google brings up lots, like this: http://duncanbrown.org/index.php/OpenVPN_With_CentOS
No one is angry, but do realize that when you say you're in charge of a project at a university, then don't ask a clear question, provide details, or do ANY research on your own, it's not a good way to get help. If someone walked up to you in your job at the university and said "My computer doesn't work...what's wrong with it?", would you be able to help them, based on that question, or would you have to ask for details??
At the time, the OP didn't mention what VERSION of CentOS, so those repositories may or may not be a good thing. And until you know what version of CentOS, you don't know which repository to add. Version 5 is different from 6: http://www.rackspace.com/knowledge_c...entos-5x-or-6x
Dear All,
I have tried my level best to configure OpenVPN both on Centos 5.7 and windows 7 but no luck. Initially I followed How tos from openvpn.net site. kindly give me links from where I can get detail step by step tutorials covering every aspect of open vpn.
Dear All,
I have tried my level best to configure OpenVPN both on Centos 5.7 and windows 7 but no luck. Initially I followed How tos from openvpn.net site. kindly give me links from where I can get detail step by step tutorials covering every aspect of open vpn.
You can't 'initially' follow the instructions...you have to follow ALL of the instructions. And again, you don't provide details...what steps did you follow? What error(s) did you get? When did you get them??? Just saying "no luck", tells us nothing.
You've been given two links, with VERY clear how-to guides. If you want more links, then go to Google and look a few more up.
You can't 'initially' follow the instructions...you have to follow ALL of the instructions. And again, you don't provide details...what steps did you follow? What error(s) did you get? When did you get them??? Just saying "no luck", tells us nothing.
You've been given two links, with VERY clear how-to guides. If you want more links, then go to Google and look a few more up.
Dear Sir,
I m very sorry for asking stupid questions. I have gone through your links. Open VPN Client End log is given below
Wed Feb 13 10:29:27 2013 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Wed Feb 13 10:29:27 2013 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Wed Feb 13 10:29:27 2013 LZO compression initialized
Wed Feb 13 10:29:27 2013 UDPv4 link local: [undef]
Wed Feb 13 10:29:27 2013 UDPv4 link remote: mystaticip:1194
Wed Feb 13 10:29:32 2013 [server] Peer Connection Initiated with mystaticip:1194
Wed Feb 13 10:29:33 2013 TAP-WIN32 device [Local Area Connection 2] opened: \\.\Global\{16D7F9CA-DC44-4C0C-9C73-0F3FB09E9B11}.tap
Wed Feb 13 10:29:33 2013 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.4/255.255.255.0 on interface {16D7F9CA-DC44-4C0C-9C73-0F3FB09E9B11} [DHCP-serv: 10.8.0.0, lease-time: 31536000]
Wed Feb 13 10:29:33 2013 Successful ARP Flush on interface [24] {16D7F9CA-DC44-4C0C-9C73-0F3FB09E9B11}
Wed Feb 13 10:30:03 2013 Warning: route gateway is not reachable on any active network adapters: 172.16.2.12
Wed Feb 13 10:30:03 2013 Initialization Sequence Completed With Errors ( see http://openvpn.net/faq.html#dhcpclientserv )
My clinet.ovpn is given below
client
dev tap
#dev-node MyTAP #If you renamed your TAP interface or have more than one TAP interface then remove the # at the beginning and change "MyTAP" to its name
proto udp
remote mystaticip 1194 #You will need to enter you dyndns account or static IP address here. The number following it is the port you set in the server's config
#remote 172.16.2.12 1194
#route 172.16.2.1 255.255.0.0 vpn_gateway 3 #This it the IP address scheme and subnet of your normal network your server is on. Your router would usually be 192.168.1.1
route 172.16.2.0 255.255.0.0 172.16.2.12 3
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client1.crt" # Change the next two lines to match the files in the keys directory. This should be be different for each client.
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client1.key" # This file should be kept secret
ns-cert-type server
cipher BF-CBC # Blowfish (default) encrytion
comp-lzo
verb 1
Kindly help me. I have made settings in my dsl router through port forwarding. My open vpn server is installed on 172.16.2.12. My router local ip is 172.16.2.1. As for as I understand I am facing problems with gateway.
Dear Sir,
I m very sorry for asking stupid questions. I have gone through your links. Open VPN Client End log is given below
Wed Feb 13 10:30:03 2013 Initialization Sequence Completed With Errors ( see http://openvpn.net/faq.html#dhcpclientserv )
Kindly help me. I have made settings in my dsl router through port forwarding. My open vpn server is installed on 172.16.2.12. My router local ip is 172.16.2.1. As for as I understand I am facing problems with gateway.
Ok...again, did you read the information you have on hand? Did you understand the messages you got??? You posted this:
Quote:
Originally Posted by sohailkmu
Wed Feb 13 10:30:03 2013 Warning: route gateway is not reachable on any active network adapters: 172.16.2.12
Wed Feb 13 10:30:03 2013 Initialization Sequence Completed With Errors ( seehttp://openvpn.net/faq.html#dhcpclientserv )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.