OpenVPN server configuration for a Linux server like a Raspberry Pi
- Linux (tested on Raspbian 10 Buster and 11 Bullseye)
- OpenVPN (tested on
2.4.7-1and2.5.1-3from apt) - bridge-utils (tested on
1.6-2and1.7-1from apt)
| #!/bin/bash | |
| # Define physical ethernet interface to be bridged | |
| # with TAP interface(s) above. | |
| eth="eth0" | |
| eth_ip="192.168.42.2" | |
| eth_netmask="255.255.255.0" | |
| eth_broadcast="192.168.42.255" | |
| eth_gateway="192.168.42.1" | |
| eth_mac="XX:XX:XX:XX:XX:XX" |
| # Copyright (C) 2016 Andrew Jiang (TunnelBear Inc.) | |
| # Convenience script for generating shapeshifter-dispatcher binaries for Android devices | |
| if [ "$1" == "clean" ]; then | |
| echo "Cleaning up..." | |
| for folder in /tmp/android-toolchain-*; do | |
| if [[ -d $folder ]]; then | |
| rm -rf $folder | |
| fi | |
| done |
sudo apt-get updatesudo apt-get upgradecurl -L https://install.pivpn.io | bash1443 as my portpip install obfsproxy/etc/systemd/system/obfsproxy.service with contents[Unit]
Description=Obfsproxy server