improve speache
This commit is contained in:
parent
453054a53d
commit
945d1198f7
@ -27,12 +27,17 @@ We will use the 100.64.0.0/10 range (RFC 6598) because it wont colide with priva
|
|||||||
echo "Address = 100.64.0.1/10" >> /etc/wireguard/wg0.conf
|
echo "Address = 100.64.0.1/10" >> /etc/wireguard/wg0.conf
|
||||||
|
|
||||||
iptables -t nat -A POSTROUTING -s 100.64.0.0/10 -o eth0 -j MASQUERADE
|
iptables -t nat -A POSTROUTING -s 100.64.0.0/10 -o eth0 -j MASQUERADE
|
||||||
systemctl enable --now wg-quick@wg0 && systemctl status wg-quick@wg0
|
systemctl enable --now wg-quick@wg0
|
||||||
|
|
||||||
To get the public key type:
|
To get the public key type:
|
||||||
|
|
||||||
wg pubkey <<<$(grep PrivateKey /etc/wireguard/wg_obermui.conf | cut -d ' ' -f3)
|
wg pubkey <<<$(grep PrivateKey /etc/wireguard/wg_obermui.conf | cut -d ' ' -f3)
|
||||||
|
|
||||||
|
Now the Gateway is configured and running. To get som Information checkout wg and systemd:
|
||||||
|
|
||||||
|
systemctl status wg-quick@wg0
|
||||||
|
wg show
|
||||||
|
|
||||||
# Setup your Android
|
# Setup your Android
|
||||||
|
|
||||||
Download the App from [F-Droid](https://f-droid.org/en/packages/com.wireguard.android/) or [Google Play](https://play.google.com/store/apps/details?id=com.wireguard.android).
|
Download the App from [F-Droid](https://f-droid.org/en/packages/com.wireguard.android/) or [Google Play](https://play.google.com/store/apps/details?id=com.wireguard.android).
|
||||||
|
Loading…
Reference in New Issue
Block a user