ZAP-Hosting Docs

ZAP-Hosting Docs

  • Docs
  • Languages iconEnglish
    • Deutsch

›Linux

Overview

    First Steps

    • Register
    • Contract or Prepaid
    • Preorders
    • Community offers
    • Submit Suggestions

    Support

    • Report problems
    • Create Screenshots

Account

  • Contracts & Prepaids
  • Termination and Cancellation
  • Payment options
  • Two-Factor-Authentication
  • Backup Storage
  • Refer a Friend
  • Cashbox
  • User Management
  • Coupons & Codes
  • Donations
  • Community ads
  • Safety
  • Partner

    • Partner System
    • Partner Guide
    • Use of logo and name

Gameserver - General

  • Cloud vs. Lifetime
  • Resource limit
  • Change the game
  • Up-/Downgrade
  • Databases

    • PHPMyAdmin
    • External database access
  • FTP File Access
  • Restart planner
  • Backups
  • Server crash - What to do?
  • TEBEX Monetization

vServer & Rootserver

  • Rootserver versus vServer
  • What is VNC (Serial console)?
  • Network analysis MTR/WinMTR
  • Linux

    • Initial access (SSH)
    • SFTP Connection
    • SSH Key
    • Two factor authentication
    • Change Password
    • Install Java
    • MariaDB (MySQL) Installation
    • phpMyAdmin
    • FTP Setup
    • FTP Service isn't working
    • Docker
    • Plesk
    • OpenVPN
    • Gameserver / Ts 3 Server Interface
    • Nextcloud
    • Add IPv4 Address
    • SSL-Certificate (Let's Encrypt)
    • Rsync Linux
    • Jitsi Meet
    • Install webserver
    • Linux Remotedesktop (xRDP)
    • Cockpit

    Windows

    • Initial access (RDP)
    • Port Forwarding
    • Add additional IPs
    • No Internet what now?
    • FTP Server Installation
    • MySQL Server Installation
    • Plesk Installation
    • Add/change language
    • Extend disk
    • Farming-Simulator 2019
    • Farming-Simulator 2022
    • V-Rising

Dedicated Server

  • iLO
  • Own ISO
  • Windows Installation
  • Install Debian
  • Install Ubuntu
  • Install FreebSD
  • Install CentOS
  • RAID Configuration
  • Server reset

Webspace & Domains

    Domain

    • What is a domain?
    • Order a domain
    • EasyDNS
    • ProfiDNS
    • ExpertDNS
    • Domain Records
    • Domain Gameserver Redirect
    • Domain TeamSpeak 3 Redirect

    Webspace

    • Add Domain
    • FTP Connection
    • Sending Emails
    • Create SSL Certificate
    • Discord forwarding via domain
    • Install MyBB
    • Install WordPress

Voicebot/Voiceserver

  • Voicebot Connection
  • Become Admin
  • Server configuration
  • Ts3 Backup
  • Teamspeak Query Login

Minecraft

    Administration

    • General commands
    • OP-Permissions
    • Server Config
    • Server Icon
    • Add your own world
    • Manage Worlds
    • Behavior/Resource Packs Installation
    • RCON
    • Whitelist
    • Timings-Report
    • Minecraft-Server Optimization

    Spigot & Bukkit

    • Plugin Uploader

    Bungeecord

    • Server Properties

    Forge

    • Mods Installation

FiveM

  • Dashboard
  • Upvotes
  • Configuration & Administration

    • Change Server Icon
    • Emojis in server name
    • Coloured Servername
    • Use Rcon
    • Own License Key
    • Delete Cache
    • Use Profiler
    • Configure Activity Feed
    • Resource contains prohibited logic?
    • Server not in Serverlist
    • Activate Devtools
    • Enable DLC Gamebuild
    • Gamechange

    Resources & Mods

    • Resource Installation
    • SQL File Import
    • Install Replace Carmods
    • Install Addon Carmods
    • Loadingscreen installation
    • Install ELS
    • Install EUP

    ESX

    • Deactivate the Inventory (F2)
    • Change Money Icon
    • Become Admin over the Database
    • Disable HUD
    • Add Cars to Dealership
    • Add Job-Garage Cars
    • Change Respawnpoint
    • Edit Locales Files

    Dunko VRP

    • Change Money Icon
    • Remove Speedometer

    txAdmin

    • txAdmin Setup
    • txAdmin Interface

    QBCore

    • Become admin

RageMP

  • Installing packages

Alt:V

  • Resource Installation

Satisfactory

  • Connect to the Server (Experimental)

Terraria

  • Become an admin (tShock)
  • Mod Installation (tModLoader)

Source Games

  • GSL-Token
  • Custom Content
  • Sourcemod / Metamod

    • Installation
    • Become an admin
    • Plugins

    CS:GO

    • Server Configration
    • GOTV

    Counter Strike 1.6

    • Become Admin
    • Install Plugins

    Garry's Mod

    • Garry's Mod Server.cfg Modification
    • Garry's Mod TTT Configuration

ArmA 3

    ArmA 3 Allgemein

    • Server.cfg
    • Install Mods
    • Altis Life Ranks
    • Change game mode
    • Upload your own mission file

ARK

  • Become Admin
  • Install Mods
  • Serverlisting Problems
  • Server Configuration

Assetto Corsa

  • Configure Server
  • Configure Server with Content Manager
  • Install Mods

Assetto Corsa Competizione

  • Become Admin
  • Car Slot Requirement

Barotrauma

  • Become Admin

BeamMP

  • Create an Auth Key
  • Install Mods

Conan Exiles

  • Become Admin
  • Server Configuration

Valheim

  • Connect to a Server
  • Manage Savegames
  • Automated Backups
  • Serverlisting Problems
  • Admin Commands & Cheats
  • Valheim Plus
  • Install plugins (BepInEx)

SCP: Secret Laboratory

  • Become Admin
  • Add new roles
  • Colored Servername
  • Pastebin ID
  • ServerMod

    • Install Plugins

    Exiled

    • Plugins Install

ECO

  • Become Admin
  • Whitelist

Factorio

  • Become Admin
  • Install Mods

Multi Theft Auto

  • Become Admin

Space Engineers

  • Become Admin
  • Install Mods

Unturned

  • Become Admin
  • Workshop Content
  • 1st/3rd Person
  • Whitelist
  • RocketMod

    • Install Plugins
    • Adjust Permissions

Don't Starve Together

  • Create Caves

Empyrion

  • Become Admin

Rust

  • Become Admin
  • Connect via RCON
  • Plugins Install
  • Decay

Among Us

  • Connection to the Server

7 Days to Die

  • Become Admin
  • Install Mods
  • Commands

Avorion

  • Become Admin

Last Oasis

  • Create Realm
Edit

VPS: Install OpenVPN on server

Activate TUN

First of all the network driver TUN must be activated. This step is not required for root servers. To do this you have to create a new file called tunscript.sh in the /usr/sbin folder.

nano /usr/sbin/tunscript.sh 

Insert the following lines afterwards:

#!/bin/bash
mkdir /dev/net
mknod /dev/net/tun c 10 200
chmod 0666 /dev/net/tun

Save the file by pressing 'STRG+O', then 'Y' and finally press 'Enter'. To exit the file press 'CTRL+X'.

After that run the following command:

chmod +x /usr/sbin/tunscript.sh

Once you have done this, run crontab -e and select the nano editor [1]. Add this line to the end of the file: @reboot /usr/sbin/tunscript.sh || exit 1

Save the file by pressing 'STRG+O', then 'Y' and finally press 'Enter'. To exit the file press 'CTRL+X'.

You should then be able to continue after a restart.

Installation of OpenVPN

In order to install OpenVPN, execute the following command in the console:

wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

Then a dialog appears asking whether you want to use UDP or TCP. We recommend UDP, hence you type '1' and press 'Enter'.

After that you will be asked for a port for OpenVPN. Select a port.

Then you have to configure the DNS server. We recommend using either Google or Cloudflare DNS: 8.8.8.8 / 8.8.4.4 - Google 1.1.1.1 / 1.0.01 - Cloudflare

Following this step, you have to define a client name. To do this, choose a name such as the name of your device.

Add more clients

If you want to create multiple connections, it is useful to create multiple accounts. To create another account, execute the following command:

wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

Select '1' and then confirm. Now you have to define the client name.

Connect to the VPN

If you want to connect to your VPN, then you need the OpenVPN client. There you can find the download sources: https://openvpn.net/community-downloads/

Connect via SFTP to your server to download the created .ovpn file and then delete the file on your server afterwards.

As soon as you have installed the client, start the program. Right click on the OpenVPN icon in the taskbar. Then click on 'Import file' and select the file you downloaded earlier and click 'Open'.

To connect, click again on icon and select "Connect".

In case you have imported several files, you have to select the client you want to use and then click on Connect

Remove clients

Run the following command to remove a Client:

wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

Select the number of the client in your list which you want to remove. Then press 'Enter'. You will now be prompted to confirm the deletion. If you are sure, press 'y' and then 'Enter'. The client should be removed at this point.

Uninstall OpenVPN.

If you no longer need OpenVPN, then you can uninstall it this way:

wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

Press '3' and confirm. Confirm once again and OpenVPN is uninstalled after that.

← PleskGameserver / Ts 3 Server Interface →
Rent a Server
Rent a VPSRent a rootserverRent a gameserverRent a TS3 serverRent a Discord MusicbotRent a domainRent a webspace
Social
TwitterInstagramBlogJobsVoucher CodesOur partnersEarn money
Support
ChangelogTicketsupportInterruptionsSmokeping
Legal
TermsImprintPrivacy PolicySecurity
ZAP-Hosting Docs
All content is property of ZAP-Hosting GmbH & Co. KG