We have made a small and dirty bash script which installs and configures OpenVPN on CentOS 5 32bit. The VPN server’s primary (and only) use is for safe browsing i.e. tunneling all your traffic through your VPS. The script also generates your client configuration file along with the necessary keys for authentication. Requirements 1. CentOS 5 32bit minimal OS template 2. TUN/TAP device enabled on your VPS 3. iptables NAT support You will have to open a ticket to request a TUN/TAP device to be enabled on your VPS. If you’re not a customer of ours and your host’s support staff doesn’t know how to do this, you may tell them to execute the following commands on the hardware node where your VPS is hosted. vzctl stop YOUR_VEID vzctl set YOUR_VEID –devices c:10:200:rw –save vzctl set YOUR_VEID –capability net_admin:on –save vzctl start YOUR_VEID vzctl exec YOUR_VEID “mkdir -p /dev/net; mknod /dev/net/tun c 10 200; chmod 600 /dev/net/tun” # iptables support vzctl stop YOUR_VEID vzctl set YOUR_VEID –iptables ipt_REJECT –iptables ipt_tos –iptables ipt_TOS –iptables ipt_LOG –iptables ip_conntrack –iptables ipt_limit –iptables ipt_multiport –iptables iptable_filter –iptables iptable_mangle –iptables ipt_TCPMSS –iptables ipt_tcpmss –iptables ipt_ttl –iptables ipt_length –iptables ipt_state –iptables iptable_nat –iptables ip_nat_ftp –save vzctl start YOUR_VEID Make sure they will replace ‘YOUR_VEID’ with your VPS’s VEID and you will be ready to roll Login to your VPS as root and execute the following commands wget http://vpsnoc.com/scripts/install-openvpn.sh chmod +x install-openvpn.sh ./install-openvpn.sh You will be prompted to enter values for your server and client certificate, feel free to accept (hit enter) the default values. Its not recommended to setup a password for your server certificate as you will have to type in the password each time you wish to start/restart the openvpn daemon. You can however set a password for your client’s certificate since it offers extra level of protection in case your certificate and key files are compromised. You will be prompted for that password each time you connect on your VPS’s VPN. After the script finished installing openvpn (should be very quick) the client keys and the openvpn clientconfiguration file will be archived in /root/keys.tgz You may use a sftp/scp client such as winscp or filezilla to download the archive on your computer. If you already haven’t installed openvpn for windows you may do so now. You may use winrar or 7zip to extract the content of keys.tgz in C:\Program Files\OpenVPN\config\VPN (create a folder named VPN there) After you have extracted the files from keys.tgz in the above folder, you may start openvpn-gui from the start menu, right click the tray icon, go to VPN and click connect. After the icon turns green all your traffic will be forwarded through your VPS, no extra configuration on your browser/IM client/email client is required. If you’re facing issues make sure that your computer clock is synchronized, if so make sure that your VPS’s clock is correct as well. If it’s not you will have to ask your host to sync it. For any other issues and feedback please e-mail us at support@vpsnoc.com You may use and modify this script however you see fit, provided that you do not edit the original copyright. #!/bin/bash # Quick and dirty OpenVPN install script # Tested on Centos 5.x 32bit, openvz minimal CentOS OS templates # Please submit feedback and questions at support@vpsnoc.com # John Malkowski vpsnoc.com 01/04/2010 ip=`grep IPADDR /etc/sysconfig/network-scripts/ifcfg-venet0:0 | awk -F= ‘{print $2}’` wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm rpm -iv rpmforge-release-0.3.6-1.el5.rf.i386.rpm rm -rf rpmforge-release-0.3.6-1.el5.rf.i386.rpm yum -y install openvpn openssl openssl-devel cd /etc/openvpn/ cp -R /usr/share/doc/openvpn-2.0.9/easy-rsa/ /etc/openvpn/ cd /etc/openvpn/easy-rsa/2.0/ chmod +rwx * . ../vars ./clean-all source ./vars echo -e “\n\n\n\n\n\n\n” | ./build-ca clear echo “####################################” echo “Feel free to accept default values” echo “Wouldn’t recommend setting a password here” echo “Then you’d have to type in the password each time openVPN starts/restarts” echo “####################################” ./build-key-server server ./build-dh cp keys/{ca.crt,ca.key,server.crt,server.key,dh1024.pem} /etc/openvpn/ clear echo “####################################” echo “Feel free to accept default values” echo “This is your client key, you may set a password here but it’s not required” echo “####################################” ./build-key client1 cd keys/ client=” client remote $ip 1194 dev tun comp-lzo ca ca.crt cert client1.crt key client1.key route-delay 2 route-method exe redirect-gateway def1 dhcp-option DNS 10.8.0.1 verb 3″ echo “$client” > $HOSTNAME.ovpn tar czf keys.tgz ca.crt ca.key client1.crt client1.csr client1.key $HOSTNAME.ovpn mv keys.tgz /root opvpn=’ dev tun server 10.8.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt ca ca.crt cert server.crt key server.key dh dh1024.pem push “route 10.8.0.0 255.255.255.0″ push “redirect-gateway” comp-lzo keepalive 10 60 ping-timer-rem persist-tun persist-key group nobody daemon’ echo “$opvpn” > /etc/openvpn/openvpn.conf echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j MASQUERADE iptables-save > /etc/sysconfig/iptables sed -i ‘s/eth0/venet0/g’ /etc/sysconfig/iptables # dirty vz fix for iptables-save echo “net.ipv4.ip_forward=1″ >> /etc/sysctl.conf /etc/init.d/openvpn start clear echo “OpenVPN has been installed Download /root/keys.tgz using winscp or other sftp/scp client such as filezilla Create a directory named vpn at C:\Program Files\OpenVPN\config\ and untar the content of keys.tgz there Start openvpn-gui, right click the tray icon go to vpn and click connect.
There ar a plenty of advertisements operating in the web hosting field providing unlimited bandwidth hosting and disk space. That however is sorted as overselling method utilised by the webhosting suppliers to appeal extra users. Do you know what overselling is? Basically it refers to a position whereby what is provided is extra than what can be supplied in reality. To illustrate that, imagine a bus which may go for a maximum of twenty five riders advertises telling that fifty seats are obtainable. Sure it is impracticable for fifty passengers to set into the bus. So this illustrates over-selling method. Most webhosting companies make in detailed hosting package if they are managing that sort of promotes but if at totally their plan back fires and then their reputation may be tainted too. In a supersaturated webhosting field, their competition is really superior. Consumers tend to enquire for more from present web-hosting plans and this is 1 of the strategies used by web hosting service providers to appeal more users. Where do you come across just about the over-selling in the hosting provider? For example, lets search into this illustration, a hosting provider X having got disk space of 2000 Giga-Byte and a bandwidth of 20 000 GB can offer a hosting package got up of 200 Gigabyte of storage space and 2000 Gigabyte of bandwidth to 10 clients. You can figure that utilising simple maths. If Hosting Company X predicts that nearly all of its users would not utilize extra than 10 % of their allocated disc storage and bandwidth and supplies the hosting package to extra than 10 users, it turns overselling. The best truth is that unlimited bandwidth web hosting doesn’t exist. It’s unachievable of you to use the bandwidth and disk storage apportioned to you to the maximum as you might have utilised complete some other resources some like Ram Usage, CPU Time and Database connections by then. Yet cann’t pin point that anyplace as the web hosting supplier would not have taken it in their terms and condition. The hosting company gets the right to suspend whatever users who improperly employ their server resources and you could not receive any compensation for the suspension. Hence, constantly find a trusted provider with great track record to host your website. Personally, I am on an unlimited bandwidth web hosting package with Fatcow, and I strongly recommend it! (no upsell’s if you be up the bandwidth amount.) Are you aware of how hot Fatcow webhosting has become? With extra than 600,000 of domains hosted, they are surely 1 of the super hosts in the internet. Even So, their success doesn’t do a sense if Fatcow Company do not add any satisfaction to you (PLUS they provide 30 days cash-refund warrant, If non totally satisfied). And Then, check that Fatcow review to find precisely how Fatcow might aid you and your web-site. For $42 Fatcow OFF coupon, visit Fatcow users Review Page.
Why do some organizations choose to host their own Web site on their own managed servers, while others contract with a Webhosting company or purchase their ecommerce hosting services through an ISP (Internet service provider)? While cost (including risk) and flexibility are often the two primary considerations when choosing how to host a website, understanding distinctions among Webhosting options and the pros and cons of each will help you pare down the list to something considerably more manageable, ensuring that you make the best decision. Webhosting plans can be categorized broadly into two types: virtual server hosting and dedicated server hosting. Small to medium-sized businesses typically choose a virtual server plan where multiple ecommerce web sites are hosted on space within a single server. This service allows you to share a server with others, but your site is further protected or isolated with its own server resources including processor, memory, and disk storage. This arrangement works well for small sites that rely on dynamic generation of content from a backend database, small ecommerce sites, or for customers who wish to manage several separate web sites. The reason that vendors can offer low-priced domain hosting for virtual private servers is because the customers look the same and require a set of web services that are essentially identical from site to site. Webhosting vendors who are able to package similar services across a huge volume of customers most effectively are generally the most successful since they can capture substantial economies of scale. Dedicated hosting on the other hand is an option for mid- to large-sized businesses that require or desire the flexibility that comes with dedicated servers. While more expensive, this type of plan generally provides a higher level of security, support, and maintenance with a guaranteed level of availability. Offering this type of guarantee generally reflects a level of redundancy within the vendor’s data-center operations that severely decreases the chances of downtime or removes the risk all together. Depending on the vendor’s plan, flexibility means you can write and run your own custom scripts or applications and even use a content management system to manage the web site but not worry about managing the network, server hardware, or operating system. The easiest decision will likely be whether you intend to host the site yourself or contract with a webhosting vendor. Scale is the primary decision-making factor. Going it alone takes money and the willingness to assume the activities and risk associated with managing the server hardware, software, and connectivity. For organizations that already have a dedicated IT staff and data center, hosting may be an affordable option. The IT department may, in turn, offer a shared server arrangement where organizational entities such as the organization’s library are provided space on the server. But for those who are unable to tap into existing resources or who are working for companies without IT resources, contracting with an external webhosting provider is the only cost-effective option. Narrowing the choices down can be difficult since there are so many vendors from which to choose. The first step is to list your requirements for developing, managing, and offering a web site to your users. For very simple sites, the vendor may provide tools for creating and managing your site along with available services to extend your site’s offerings, such as online form capabilities. Alternatively, you can use your own HTML authoring tool and upload pages as needed. Vendors try to make choosing plans as easy as possible by packaging most-requested services together into specific webhosting plans. Doing so allows customers to more easily select what they need; they also benefit from a cost structure that can be kept fairly low. Most plans require an upfront set-up fee along with a monthly fee covering the plan you choose and any additional services (extra e-mail boxes, additional storage, etc.) that you request. Finally, choosing a webhosting vendor can be confusing due to the array of options. A winning approach includes developing your list of requirements along with a plan for current and future growth to allow you to substantially clarify how your needs map out against your domain hosting options. Visit the Armpit Pain website to learn about sweaty armpit and rash under armpit .
Taking into consideration time for them to select your hosting provider plus the package that you’ll be ordering, you’ll find 3 crucial factors you should think about ahead of investing a new service provider business. The vital thing you must decide is the amount of disk space and bandwidth you’ll dependence on your existing website. You’ll also want to ensure you leave yourself enough room to fuel your expansion above the next 12 to 1 . 5 years. Being forced to add either of these options in the future can be very expensive. Migrating the info from one disk drive to a completely new one can result in an extremely large invoice through the hosting provider that should add some installing the revolutionary harddrive. Going over your bandwidth allowance can be an expensive venture, particularly it is constantly on the happen monthly. Item number two to think about in regard to Virtual Private Servers is an operating system and programming tools that were installed on your hosting account. If you’ve built your individual specialized web application or are choosing a 3rd party solution, then chances are you may require additional resources that are not using a common hosting account. In particular, if your internet site is coded in ASP you will need to use a Windows operating server to ensure it runs correctly. When you uncertain to what you’ll need, contact your tech support team department for a lot of support. The most common mistake people make when you are evaluating a hosting plan is investigating price only. Some people happen to be lured by lower pricing and thinking about saving some huge cash on their standard hosting bill. Actually, some individuals may think about the price tag and not go on a hard look at the features or restrictions which can be imposed on the new hosting account. Make certain that period of time monthly cost doesn’t feature additional fees just like primary setup or monthly service costs. When you are intending on launching a variety of blogs, you may want to pun intended, the widespread mistake of hosting all of these books in the same account. Hosting that is shared accounts often sell users on the point that they are able to host unlimited websites on a single account. The fundamental trouble with Windows Hosting is when your hosting account goes down or is suspended for applying too many of the server resources, your sites are down. It’s better to spread out your various accounts over a couple of hosts. Not only will you avert downtime but you’ll also get to look into the good and bad points of multiple hosting services. Lastly, for Linux Hosting you may prefer to explore your new host’s support terms and their guaranteed up time. Needless to say you’ll desire to ensure that your hosting provider can honor their 99.999% guaranteed network availability by searching the various hosting discussion boards and review available. Are you aware that support department, find their availability is, when regular backups are conducted and repairs are covered as part of your service level agreement and what’s susceptible to additional charges. Finally, for VPS Hosting you’ll wish to examine your new host’s support terms and their guaranteed up time. Obviously you’ll need to ensure your hosting provider can honor their 99.999% guaranteed network availability by searching the different hosting forums and review available. Alternatives support department, find out what their availability is, when regular backups are conducted and repairs are covered as part of your service level agreement and what’s subject to supplemental costs.
We an India based Hosting and Cloud Computing start-up, aim to help all our peers with equal ambitions and energy to strive and succeed. Hitherto it was only the large media houses and venture backed startups that could do snappy websites using expensive low latency datacenter facilities in India. We have pulled the powers from large media houses, corporates and venture backed start-ups, by designing special ‘low latency’ hosting services for start-ups at highly competitive rates. We know long loading times have subtle effects on user behavior as corroborated by many other studies. If you are a start-up competing with big guys hosted locally you know you need to equal or better their snappiness advantages and if your competition is hosted in US then *move to India before your competition does to create an edge* For technical understanding on why latency matters please refer the blog and make a well informed decision while choosing hosting for your servers in India instead of high latency locations like US if your web visitors are from India. As a special Independence month offer we’ll waive off 50% of the onetime setup fee on all dedicated server hosting in India if you sign up on or before EOD 31st of Aug 2010. Also avail 5% discount on usage of coupon code [ India-Aug-2010 ] on monthly fees on all our dedicated server hosting in India and Virtual Private Server hosting in India, over and above the other automatic discounts mentioned on our website For startups who would like to start small please check out our India based VPS server hosting plans starting from Rs. 1799/mo . We offer sane support for even un-managed India based server hosting plans with a lot of free security and scaling advice on application architecture side. For serious bloggers using E2E Networks VPS servers we provide generous on-demand capacity bursting capabilities for free if you give us a heads up on a breaking news story that could get dugg/slashdotted an hour or two in advance. Your feedback on how we can bring hosting back to India is important to us and we welcome it at all times just as we welcome traceroutes from everywhere in India to us, regardless of whether or not you are an existing customer of E2E Networks. Tarun Dua email: sales@e2enetworks.com phone: +91-129-404-5792 +91-997-172-0550 Location: 282, Sector 19, Faridabad, Haryana




![[feed link]](/wp-content/plugins/google-news-widget/rss-cube.gif)