mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
Removed /24, fixed issue template
This commit is contained in:
parent
50e19f5906
commit
616c2e24c4
2 changed files with 11 additions and 10 deletions
|
@ -9,29 +9,30 @@
|
|||
<!-- If the install failed: can you please copy-paste the console output after running `curl install.pivpn.io | bash` between the backticks -->
|
||||
|
||||
<!-- Please explain your issue. Feel free to format your text -->
|
||||
## Issue
|
||||
### Issue
|
||||
|
||||
|
||||
## Have you searched for similar issues and solutions?
|
||||
### Have you searched for similar issues and solutions?
|
||||
(yes/no / which issues?)
|
||||
|
||||
|
||||
## Console output of `curl -L install.pivpn.io | bash`
|
||||
### Console output of `curl -L install.pivpn.io | bash`
|
||||
```
|
||||
Output Here
|
||||
```
|
||||
<!-- If the generation of an .ovpn file fails / the ovpns folder stays empty, please paste the output of `pivpn add` or `pivpn add nopass` between the backticks -->
|
||||
## Console output of `pivpn add` or `pivpn add nopass`
|
||||
### Console output of `pivpn add` or `pivpn add nopass`
|
||||
```
|
||||
Output Here
|
||||
```
|
||||
<!-- Please paste the output of `pivpn debug` between the backticks, don't forget to substitute your public IP address if you don't want the world to know it -->
|
||||
## Console output of `pivpn debug`
|
||||
### Console output of `pivpn debug`
|
||||
```
|
||||
Output Here
|
||||
```
|
||||
|
||||
## Have you taken any steps towards solving your issue?
|
||||
which?
|
||||
|
||||
### Have you taken any steps towards solving your issue?
|
||||
```
|
||||
which?
|
||||
```
|
||||
<!-- If something else fails, please state the command you used and it's output -->
|
||||
|
|
|
@ -338,7 +338,7 @@ It is also possible to use a DHCP reservation, but if you are going to do that,
|
|||
setDHCPCD() {
|
||||
# Append these lines to dhcpcd.conf to enable a static IP
|
||||
echo "interface ${pivpnInterface}
|
||||
static ip_address=${IPv4addr}/24
|
||||
static ip_address=${IPv4addr}
|
||||
static routers=${IPv4gw}
|
||||
static domain_name_servers=${IPv4dns}" | $SUDO tee -a ${dhcpcdFile} >/dev/null
|
||||
}
|
||||
|
@ -350,7 +350,7 @@ setStaticIPv4() {
|
|||
echo "::: Static IP already configured."
|
||||
else
|
||||
setDHCPCD
|
||||
$SUDO ip addr replace dev "${pivpnInterface}" "${IPv4addr}/24"
|
||||
$SUDO ip addr replace dev "${pivpnInterface}" "${IPv4addr}"
|
||||
echo ":::"
|
||||
echo "::: Setting IP to ${IPv4addr}. You may need to restart after the install is complete."
|
||||
echo ":::"
|
||||
|
|
Loading…
Reference in a new issue