1:设置
sudo vi /etc/sysctl.conf
net.ipv4.ip_forward=1
sudo sysctl -p
2:安装
https://www.wireguard.com/install/
1:设置
sudo vi /etc/sysctl.conf
net.ipv4.ip_forward=1
sudo sysctl -p
2:安装
https://www.wireguard.com/install/
#!/bin/bash | |
# latest-Vivaldi Version 1.7.1 | |
# This script will find the latest Vivaldi binary package, download it | |
# and repackage it into Slackware format. | |
# Copyright 2025 Ruari Oedegaard, Oslo, Norway All rights reserved. | |
# | |
# Redistribution and use of this script, with or without modification, | |
# is permitted provided that the following conditions are met: |
#!/bin/bash | |
#=============================================================================================== | |
# System Required: Debian 7+ | |
# Description: Install OpenConnect VPN server for Debian | |
# Ocservauto For Debian Copyright (C) liyangyijie released under GNU GPLv2 | |
# Ocservauto For Debian Is Based On SSLVPNauto v0.1-A1 | |
# SSLVPNauto v0.1-A1 For Debian Copyright (C) Alex Fang frjalex@gmail.com released under GNU GPLv2 | |
# Date: 2015-07-10 | |
# Thanks For |
[General] | |
loglevel = notify | |
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, ::ffff:0:0:0:0/1, ::ffff:128:0:0:0/1 | |
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 | |
# dns-server = 119.29.29.29,223.5.5.5,114.114.115.115 | |
# external-controller-access = PASSWORD@0.0.0.0:6155 | |
# ipv6 = true | |
// REMEMBER TO CHANGE THE external-controller-access' PASSWORD |
# Install ARCH Linux with encrypted file-system and UEFI | |
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
# Download the archiso image from https://www.archlinux.org/ | |
# Copy to a usb-drive | |
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux | |
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration. | |
# Set swedish keymap |