mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-20 03:40:17 +00:00
Fix push "route [...]" command
parent
bd4ae3d026
commit
7dab818919
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ You will need to change `/etc/openvpn/easy-rsa/pki/Default.txt` and your `.ovpn`
|
|||
|
||||
## How do I allow clients access to my home network but not the internet through my PiVPN?
|
||||
|
||||
Replace the following line in `/etc/openvpn/server.conf`: `push "redirect-gateway def1"` with `push "192.168.23.0 255.255.255.0"` (assuming that 192.168.23.0 and 255.255.255.0 are respectively the network IP and netmask of your LAN). Then restart the openvpn service: `sudo systemctl restart openvpn`.
|
||||
Replace the following line in `/etc/openvpn/server.conf`: `push "redirect-gateway def1"` with `push "route 192.168.23.0 255.255.255.0"` (assuming that 192.168.23.0 and 255.255.255.0 are respectively the network IP and netmask of your LAN). Then restart the openvpn service: `sudo systemctl restart openvpn`.
|
||||
|
||||
## How Can I Migrate my configs to another PiVPN Instance?
|
||||
|
||||
|
|
Loading…
Reference in a new issue