fix: Fix the ip_forward command
Change-Id: I13900a0b385058802fe2a73baaaeb285a7b8b093
This commit is contained in:
parent
62afc351e2
commit
4c262ac826
@ -68,7 +68,7 @@ log_print INFO "Preinstall ($PID): Logs are saved at: $LOGFILE"
|
||||
log_print INFO "Preinstall ($PID): Step 1: Adding modprobe br_netfilter and setting ip_forward = 1..."
|
||||
# Modbprobe and ip_forward
|
||||
sudo modprobe br_netfilter
|
||||
echo "net.ipv4.ip_forward = 1" | sudo tee /etc/sysctl.conf net.ipv4.ip_forward = 1
|
||||
echo "net.ipv4.ip_forward = 1" | sudo tee /etc/sysctl.conf
|
||||
sudo sysctl -p
|
||||
|
||||
log_print INFO "Preinstall ($PID) Step 2: Installing wireguard and resolvconf"
|
||||
|
Loading…
x
Reference in New Issue
Block a user