arrow_upward

Posted by: Conan - 09-12-2015, 06:31 PM - Forum: Tutorials - Replies (12)
Code:
curl -k -s https://dev.1conan.com/workspace/ShellScripts/spinstaller.sh | sudo bash

To run a speedtest simply type the command
Code:
speedtest

Run it as root and be happy Smile


Removal
Code:
curl -k -s https://dev.1conan.com/workspace/ShellScripts/spinstaller.sh | sudo bash -s - --remove

Posted by: Conan - 09-12-2015, 06:27 PM - Forum: Tutorials - Replies (8)
HE IPv6 Tunnel for OpenVZ Containers


Want to have IPv6 on your VPS but your hosting company doesn't provide one? Want to be future proof your server or let IPv6 users access your website over IPv6? Then read my guide! This will teach you how to use the HE tunnel on your OpenVZ container without contacting your host for IPv6 IPs!
NOTE: Refer to https://freevps.us/thread-16343-post-188...#pid188783 for systemd Distros (CentOS 7/Debian 8/ETC.)

Requirements:
TUN/TAP Adapter Enabled
iproute
gcc
Almost any Linux OS

First, you need to register on Hurricane Electric (Obviously).
URL: https://tunnelbroker.net/register.php
[Image: 9a7dcdcb0798d5e3e73b53e87eefd91f.png]
Once you are finished registering, you can move now on to the next step.


Then, Lets start creating our tunnel.
URL: https://tunnelbroker.net/new_tunnel.php

First, Input your Server IP Address in the text box.
[Image: 3f009a67ca0b4b26871ea4420db78ce0.png]

Next, Find the Tunnel Server that is closest to the location of your OpenVZ server.
(I'd recommend you to ping it, then ping the others and find the one with the lowest latency)
[Image: f14a48a2bb30b44b1ac626932c7a81dd.png]

Next, the most exciting part, the part where we connect it!
All the Info we need from that page is:
Server IPv4 Address
[font=arial, sans-serif]Client IPv4 Address[/font]
[font=arial, sans-serif][font=arial, sans-serif]Client IPv6 Address[/font][/font]
[font=arial, sans-serif][font=arial, sans-serif][font=arial, sans-serif]Routed /64[/font][/font][/font]
[font=arial, sans-serif][font=arial, sans-serif][font=arial, sans-serif][Image: a1bf1d370425f687813c431e8dbb7f22.png][/font][/font][/font]

[font=arial, sans-serif][font=arial, sans-serif][font=arial, sans-serif]We need to compile and install a tiny program that we will use to tunnel[/font][/font][/font]
Code:
cd ~ #Lets Go to our home Dir

wget https://tb-tun.googlecode.com/files/tb-tun_r18.tar.gz #Lets get the source code!

tar -xvf tb-tun_r18.tar.gz #Why not extract it?

gcc tb_userspace.c -l pthread -o tb_userspace #Compile it!

mv tb_userspace /usr/bin/tb_userspace #Move it over to the bin folder

chmod +x /usr/bin/tb_userspace #Make it executable of course!. How would it run if it wasnt?
Lets Create the Init.d script!
Code:
nano /etc/init.d/ipv6hetb
Paste it in there with the require info

Code:
#!/bin/bash
touch /var/lock/ipv6hetb
 
 #Variables
 SERVER_IP4_ADDR="0.0.0.0" #Server IP From Hurricane Electric
 CLIENT_IP4_ADDR="0.0.0.0" #Your server IPv4 Address
 CLIENT_IP6_ADDR="::/64" #Client IPv6 Address from Hurricane Electric
 ROUTED_IP6_ADDR="::/64" #Your Routed IPv6 From Hurricane Electric
 
 
 
case "$1" in
  start)
    echo "Starting ipv6hetb "
      setsid tb_userspace tb $SERVER_IP4_ADDR $CLIENT_IP4_ADDR sit > /dev/null 2>&1 &
      sleep 3s
      ifconfig tb up
      ifconfig tb inet6 add $CLIENT_IP6_ADDR
      ifconfig tb inet6 add $ROUTED_IP6_ADDR
      ifconfig tb mtu 1480
      route -A inet6 add ::/0 dev tb
      route -A inet6 del ::/0 dev venet0
    ;;
  stop)
    echo "Stopping ipv6hetb"
      ifconfig tb down
      route -A inet6 del ::/0 dev tb
      killall tb_userspace
    ;;
  *)
    echo "Usage: /etc/init.d/ipv6hetb {start|stop}"
    exit 1
    ;;
esac
 
exit 0
Then press CTRL+X then press "y" then press enter

An example of the settings would be here
Spoiler Expand
Code:
#!/bin/bash
touch /var/lock/ipv6hetb
 
 #Variables
 SERVER_IP4_ADDR="216.218.226.238" #Server IP From Hurricane Electric
 CLIENT_IP4_ADDR="192.168.1.2" #Your server IPv4 Address
 CLIENT_IP6_ADDR="2005:490:c:6af::2/64" #Client IPv6 Address from Hurricane Electric
 ROUTED_IP6_ADDR="2005:490:d:6af::2/64" #Your Routed IPv6 From Hurricane Electric
 
 
 
case "$1" in
  start)
    echo "Starting ipv6hetb "
      setsid tb_userspace tb $SERVER_IP4_ADDR $CLIENT_IP4_ADDR sit > /dev/null 2>&1 &
      sleep 3s
      ifconfig tb up
      ifconfig tb inet6 add $CLIENT_IP6_ADDR
      ifconfig tb inet6 add $ROUTED_IP6_ADDR
      ifconfig tb mtu 1480
      route -A inet6 add ::/0 dev tb
      route -A inet6 del ::/0 dev venet0
    ;;
  stop)
    echo "Stopping ipv6hetb"
      ifconfig tb down
      route -A inet6 del ::/0 dev tb
      killall tb_userspace
    ;;
  *)
    echo "Usage: /etc/init.d/ipv6hetb {start|stop}"
    exit 1
    ;;
esac
 
exit 0

Then we should make it executable then run the service!
Code:
chmod +x /etc/init.d/ipv6hetb
service ipv6hetb start

Now we have IPv6 on our server!
Now lets verify it using
Code:
ifconfig
if you see a device called "tb" you followed this guide right!

Lets try pinging an IPv6 Server!
Code:
ping6 -c 4 google.com
If it successfully ran, You really have IPv6 now!

Now, on to adding IPv6 to Nginx
Nginx:
We just need to add this to our server block
Code:
listen [::]:80;
listen [::]:443 ssl; #if you use SSL

A typical example for the server block would be
Spoiler Expand
Code:
server {
listen 80;
listen [::]:80;
listen 443 ssl;
listen [::]:443 ssl;
server_name localhost;

root /path/to/your/web/root/;
location / {
index index.html;
}
}

Apache Users: I intentionally didn't add this because I don't use Apache lol

Thanks to 4810
I used some of his guides as a "template" (Not literally) for making this
Posted by: Conan - 09-12-2015, 06:24 PM - Forum: Free VPS Providers - Replies (172)
Well most of you should already know this.

https://freevps.us

Longest running post2host platform free vps
Posted by: FacTioN - 09-12-2015, 05:56 PM - Forum: Hardware & Technology - Replies (106)
Windows 10 is new operating system and it is released in 29 July 2015 so It is made by Microsoft. In Windows 7 and Windows 8/8.1 which you can upgrade to Windows 10 for free and it have start menu back i also have Windows 10 installed already.  it have good design and style.
Posted by: FacTioN - 09-12-2015, 05:47 PM - Forum: Meet & Greet! - Replies (3)
Hello,

I am FacTioN aka Syntax and i play Halo Custom Edition i play scrims with my Evolve friends . i am here as i will surely apply for France VPS.
Posted by: Sagnik - 09-12-2015, 04:19 PM - Forum: Meet & Greet! - Replies (2)
Hello friends,
                   I am Sagnik Sasmal from India,currently studying in class 9 in Kolkata, West Bengal. I love to do new things in my free time,learning things in linux is one of them. I love VPS.


Thanks,
Regards,
Sagnik Sasmal
Posted by: catfan - 09-12-2015, 03:28 PM - Forum: Suggestions and Feedback - Replies (4)
I have received a warning Sad It was my mistake... i know. But i love cats... It is hard for me!! Please can you undo it? I am very sorry Sad I try make nice technical post right now (it is very long in my notepad)... I beg lower my warning or i drop motivation... Please sirs can you help? I had no chance to anticipate... message only said i will not look good so i though i have time to finish writing my guide to post Sad Sad Sad
Posted by: perry - 09-12-2015, 02:32 PM - Forum: Suggestions and Feedback - Replies (8)
hi there!

what do you like to see on the forum? :huh:
- think about plugins or a theme?


also give us a rating here:
 - https://post4vps.com/forum-5.html

thank you for your feedback!

perry Cool .
Posted by: catfan - 09-12-2015, 02:13 PM - Forum: General - No Replies
Yes, i know this is old but everyone loves to it play. So here it is for your enjoyment!

Rules should be well known but for anyone new to this i will repeat. It very easy and fun so dont worry:

You make a post in this thread and when you are done look up the post number. In this software going over the edit button and looking at the part where it say pid=XXXXX. If the last digit matches the number called by the previous winner you have just won and are allowed to edit your post to tell a new target. Failing to do so within 10 minutes after winning will allow anyone to do so.

As there is winner yet first target will be 7.

Good luck guys!
Posted by: jayant - 09-12-2015, 02:01 PM - Forum: Meet & Greet! - Replies (5)
Hello friends,
                   My short introduction.I am Jayant Navrange from India,currently studying engineering in computer science in Raipur,Chhattisgarh. I love to do new things in my free time,learning things in linux is one of them.Hope that I will get good and helpful friends here..Live long P4V Smile


Thanks,
Regards,
Jayant Navrange.
Pages (305): Jump to page 
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 2,271
» Latest member: orzpainter
» Forum threads: 3,085
» Forum posts: 34,806

Full Statistics

Online Users
There are currently 291 online users.
» 0 Member(s) | 289 Guest(s)
Bing, Google

Latest Threads
Buy DemoTiger Videos on c...
Forum: Others
Last Post: DewlanceHosting
01-31-2025, 01:12 PM
» Replies: 4
» Views: 2,691
VisualWeb offers cPanel H...
Forum: Others
Last Post: visualwebtechnologies
01-23-2025, 03:38 AM
» Replies: 0
» Views: 94
How you can Create unlimi...
Forum: Other Free Service Providers
Last Post: vps-rdp
01-08-2025, 05:12 PM
» Replies: 1
» Views: 218
🌟🚀 Affordable & Ultra-Fas...
Forum: Value VPS Providers
Last Post: RIYAD
12-30-2024, 03:44 AM
» Replies: 0
» Views: 168
KVM & OpenVZ Yearly VPS f...
Forum: Value VPS Providers
Last Post: HostNamaste
12-26-2024, 05:49 AM
» Replies: 0
» Views: 109
25% Recurring Discount!!!...
Forum: Value VPS Providers
Last Post: HostSailor
11-29-2024, 02:50 PM
» Replies: 0
» Views: 178
🚀 Boost Your Online Prese...
Forum: Other Free Service Providers
Last Post: vps-rdp
11-04-2024, 08:10 PM
» Replies: 0
» Views: 214
Multiple IPs VPS in Franc...
Forum: Cheap Providers
Last Post: HostNamaste
09-11-2024, 02:52 AM
» Replies: 0
» Views: 303
Budget Dedicated Servers ...
Forum: Others
Last Post: HostNamaste
09-10-2024, 02:01 PM
» Replies: 0
» Views: 378
One Dollar Hosting | $1 u...
Forum: Others
Last Post: visualwebtechnologies
08-23-2024, 10:43 AM
» Replies: 0
» Views: 461

Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting