Giter Club home page Giter Club logo

yodel's Introduction

yodel

dependency Status devDependency Status

TeamSpeak bot for gamekeller.net

Released under the terms of the MIT license.

Tunnel

We strongly recommend using a SSH tunnel to forward the TeamSpeak Query connection if it is hosted on a different server than yodel. Otherwise all commands (including login credentials) would be transmitted in plain text over the network, exposing them to potential MITM attcks.

Here's an example of how to set up autossh for this purpose:

# Be root
sudo -i

# Install autossh
apt-get install autossh

# Generate keys (make sure to leave the passphrase empty)
ssh-keygen -t rsa -b 4096 -C "yodel"

# Add public key as authorized key on the target server

# Set up SSH config
cat << EOF >> ~/.ssh/config
Host teamspeak-tunnel
  HostName             example.com
  User                 yodel
  IdentityFile         ~/.ssh/id_rsa-yodel
  LocalForward         10011 localhost:10011
  ServerAliveInterval  5
  ServerAliveCountMax  2
  ExitOnForwardFailure yes
EOF

# Try it out
autossh -M 0 teamspeak-tunnel

# Add startup script
touch /etc/network/if-up.d/teamspeak-tunnel
chmod +x /etc/network/if-up.d/teamspeak-tunnel

cat << EOF > /etc/network/if-up.d/teamspeak-tunnel
#!/bin/sh
sudo /usr/bin/autossh -M 0 -fNT teamspeak-tunnel &
EOF

yodel's People

Contributors

hnrch02 avatar

Stargazers

 avatar  avatar Zliahk avatar

Watchers

Migo Burgghardti avatar James Cloos avatar  avatar Juri Schreib avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.