If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.
This should fit most setups (not mine though 😉)
If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.
This should fit most setups (not mine though 😉)
shudder's guide to network programming in bash | |
============================================== | |
1. What's this? | |
I'm kind of a maniac when it's about doing nifty things with | |
tools not originally designed for that.that's why I wrote the "guide". | |
maybe there are some other resources that document this (not | |
counting the bash manual page) but I wanted to express my own | |
impressions on the possibilities of bash. |
<?php | |
use Protocol\FCGI; | |
use Protocol\FCGI\FrameParser; | |
use Protocol\FCGI\Record\BeginRequest; | |
use Protocol\FCGI\Record\EndRequest; | |
use Protocol\FCGI\Record\Params; | |
use Protocol\FCGI\Record\Stdin; | |
use Protocol\FCGI\Record\Stdout; |
<?php | |
use Protocol\FCGI; | |
use Protocol\FCGI\FrameParser; | |
use Protocol\FCGI\Record\BeginRequest; | |
use Protocol\FCGI\Record\EndRequest; | |
use Protocol\FCGI\Record\Params; | |
use Protocol\FCGI\Record\Stdin; | |
use Protocol\FCGI\Record\Stdout; |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- | |
vim: set autoindent expandtab shiftwidth=2 softtabstop=2 tabstop=2: */ | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <getopt.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> |