thomaswaldmann / vpngw Goto Github PK
View Code? Open in Web Editor NEWhigh performance multi-VPN gateway with VLAN support
high performance multi-VPN gateway with VLAN support
in vpngw, ipv6 was disabled for security reasons:
to enable v6:
in /etc/network/interfaced.d/wan, add:
allow-hotplug eth1
TODO: add to docs
otherwise you can cheat by assigning yourself a static ip addr of another range.
cyberghost started pushing v4 and v6 today (previously: only v4).
this breaks openvpn 2.3 if v6 is disabled on all interfaces.
it exits with an error if it can not configure v6 on an interface.
there is no way in openvpn 2.3 to avoid this.
the gateway should shutdown automatically after some delay after AC power loss.
some minutes after a AC power loss is likely best (running a long time on battery might be pointless as the rest of the network infrastructure is not working without AC anyway).
FritzBoxes like the 6591 have a internal iperf server that can be enabled for testing.
On the vpngw, use these commandlines:
iperf -c fritzbox-ip -p 4711 -u -t 60 -i 10 -b 1000M # expected: UDP ~1000Mbit/s
iperf -c fritzbox-ip -p 4711 -t 60 -i 10 -b 1000M # expected: TCP ~930Mbit/s
Client: thinkpad x270, i7-6600u, usb3 lan interface rtl8153, debian 10
ferm + openvpn up script
Currently, vpngw is based on Debian 8 "Jessie", but long term it would be good to upgrade it to Debian 9 "Stretch".
I tried it once, but due to some obstacles I kept jessie in the end for now:
So the main open issue is how to set up networking with stretch so that the setup does not depend on hardware-dependant interface names. We don't want to change interface names in a lot of config files when moving to other hardware.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.