To pass wireguard's traffic through a TCP tunnel by using udp2raw
For Arch linux, install udp2raw by pacman:
pacman -S udp2raw
For Debian or Ubuntu, you can use a binary release from: https://github.com/wangyu-/udp2raw/releases
To pass wireguard's traffic through a TCP tunnel by using udp2raw
For Arch linux, install udp2raw by pacman:
pacman -S udp2raw
For Debian or Ubuntu, you can use a binary release from: https://github.com/wangyu-/udp2raw/releases
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| name: echoserver | |
| --- | |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: echoserver | |
| namespace: echoserver |
| #!/bin/bash | |
| wget https://github.com/zeromq/libzmq/releases/download/v4.2.0/zeromq-4.2.0.tar.gz && \ | |
| tar -xvf zeromq-4.2.0.tar.gz && \ | |
| cd zeromq-4.2.0/ && \ | |
| ./autogen.sh && \ | |
| ./configure --enable-static --prefix=/usr && \ | |
| make && \ | |
| sudo make install && \ | |
| sudo ldconfig |
| // ==UserScript== | |
| // @name Plurk Time Jumper (Tampermonkey edition) | |
| // @namespace http://www.plurk.com/ | |
| // @description Go back to the past timeline | |
| // @include http://www.plurk.com/* | |
| // @include https://www.plurk.com/* | |
| // @author WiselySong, Mist Poryvaev | |
| // @version 1.4 | |
| // @grant none | |
| // ==/UserScript== |
| client | |
| dev tun | |
| proto tcp | |
| remote 1.2.3.4 443 | |
| ca ca.crt | |
| cert client1.crt | |
| key client1.key | |
| resolv-retry infinite |
Download hMailServer from here: http://www.hmailserver.com/index.php?page=background_download_file&downloadid=207.
| require 'net/http' | |
| require 'uri' | |
| #1: Simple POST | |
| res = Net::HTTP.post_form(URI.parse('http://www.example.com/search.cgi'), | |
| {'q' => 'ruby', 'max' => '50'}) | |
| puts res.body | |
| #2: POST with basic authentication | |
| res = Net::HTTP.post_form(URI.parse('http://jack:[email protected]/todo.cgi'), |