Update docs

This commit is contained in:
hwdsl2
2023-11-30 14:22:42 -06:00
parent b43e9759b7
commit f2061391c6
2 changed files with 4 additions and 0 deletions

View File

@@ -216,6 +216,8 @@ iptables -t nat -I POSTROUTING -s 192.168.43.0/24 -o "$netif" -m policy --dir ou
iptables -t nat -I POSTROUTING -s 192.168.42.0/24 -o "$netif" -j SNAT --to 192.0.2.2
```
**Note:** The method above only applies if the VPN server's default network interface maps to multiple public IPs. This method may not work if the server has multiple network interfaces, each with a different public IP.
To check the "outgoing IP" for a connected VPN client, you may open a browser on the client and [look up the IP address on Google](https://www.google.com/search?q=my+ip).
## Customize VPN subnets