mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-23 02:04:42 +02:00
Update wireguard-install.sh
tweak
This commit is contained in:
parent
21abd09052
commit
2281a20b75
@ -21,7 +21,7 @@ $STD apt-get install -y git
|
|||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing WireGuard"
|
msg_info "Installing WireGuard"
|
||||||
$STD apt-get install -y wireguard wireguard-tools net-tools iptables iptables-persistent
|
$STD apt-get install -y wireguard wireguard-tools net-tools iptables
|
||||||
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
||||||
$STD netfilter-persistent save
|
$STD netfilter-persistent save
|
||||||
$STD netfilter-persistent reload
|
$STD netfilter-persistent reload
|
||||||
|
Loading…
Reference in New Issue
Block a user