How to: Connect to IOFlood’s VPN

June 12, 2019 | More from Networking tutorials | Tags: , , , , , , , , , , ,

How to: Connect to IOFlood’s VPN

How to: Connect to IOFlood’s VPN

IOFlood is a company providing nice dedicated servers at relatively low prices for their worth. I have gotten my own server from them, and the staff was very helpful in explaining how to connect to their VPN to access the provided ipmi interface from a Linux system, and I’ve decided to create a post which explains how to proceed.

Requirements

I will be explaining for ArchLinux in this short how to, but the steps should be pretty much similar on most Linux distributions. All we need to do is to install the pptpclient package, which will pull in the pppd dependency.

pacman -S pptpclient

Configuration

We will be creating a short shell script in /etc/ppp/ip-up.d:

/etc/ppp/ip-up.d/01-route.sh
#!/bin/sh
ip route add 10.167.0.0/16 dev $1

Make this script executable with chmod +x /etc/ppp/ip-up.d/01-route.sh. Then, as root, run this:

pptpsetup --create tunnel_name --server ip_addr --username your_ioflood_username --password your_ioflood_password --encrypt
  • ip_address is the IOFlood external ip which serves as an entering point into their network.
  • tunnel_name is a custom name you can give to the connection.

“`The rest of the needed information is also provided in your welcome email from IOFlood. Now that everything is set up correctly, all you need to do is to activate the connection.

Using the VPN

To activate the connection, run this:

pon tunnel_name

To terminate the connection, run this:

poff tunnel_name

Conclusion

Congratulation, you now have access to the ipmi interface of your IOFlood machine. In case you still cannot reach it, make sure you have the correct routes in your routing table. Use the ip route command to check this.

I hope this was a useful how to, and you can let me know if something is missing by posting a comment.
See you soon !

There are no comments

Join the conversation

Your email address will not be published. Required fields are marked *