mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Updated FAQs (markdown)
parent
36345affad
commit
07ef5ba85c
35
FAQs.md
35
FAQs.md
@ -19,6 +19,7 @@ This has been written to address some frequently asked questions among users of
|
||||
* [Can I configure an alternate port for RaspAP's web service?](#webport)
|
||||
* [Can I use RaspAP with my custom dnsmasq configuration?](#dnsmasq)
|
||||
* [OpenVPN fails to start and/or I have no internet. Help!](#openvpn)
|
||||
* [OpenVPN works but I have partial or no internet access. Help!](#partial)
|
||||
* [How do I exclude NAT rules from IP traffic on localhost?](#iptables)
|
||||
* [Why is the 802.11ac 5GHz option disabled in Configure hotspot?](#80211ac)
|
||||
* [I think my country allows 5 GHz AP channels. Can I test this?](#wificountries)
|
||||
@ -241,6 +242,40 @@ RaspAP supports OpenVPN clients by uploading a valid .ovpn file to `/etc/openvpn
|
||||
|
||||
It is your responsibility to provide a valid .ovpn file; RaspAP does not attempt to validate the settings or RSA keys contained in this file. If OpenVPN fails to start, check for errors with `sudo systemctl status openvpn-client@client` and `journalctl --identifier openvpn`.
|
||||
|
||||
## <a name="partial"></a>OpenVPN works but I have partial or no internet access. Help!
|
||||
Issues [like this](https://github.com/billz/raspap-webgui/issues/612) are frequently reported. Begin by confirming the status of your connection:
|
||||
|
||||
```
|
||||
$ sudo systemctl status openvpn-client@client
|
||||
● openvpn-client@client.service - OpenVPN tunnel for client
|
||||
Loaded: loaded (/lib/systemd/system/openvpn-client@.service; enabled; vendor preset: enabled)
|
||||
Active: active (running) since Fri 2020-06-12 15:45:41 CDT; 1min 39s ago
|
||||
Docs: man:openvpn(8)
|
||||
https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
|
||||
https://community.openvpn.net/openvpn/wiki/HOWTO
|
||||
Main PID: 2689 (openvpn)
|
||||
Status: "Initialization Sequence Completed"
|
||||
Tasks: 1 (limit: 2200)
|
||||
Memory: 1.1M
|
||||
CGroup: /system.slice/system-openvpn\x2dclient.slice/openvpn-client@client.service
|
||||
└─2689 /usr/sbin/openvpn --suppress-timestamps --nobind --config client.conf
|
||||
```
|
||||
You can also use `journalctl --identifier openvpn` to identify any errors. If your internet access is intermittent or otherwise degraded with the `openvpn-client` active, the next step is to test your connection for packet loss and latency. There are many Linux tools you can use to diagnose your network. `mtr` is a good choice as it combines functionality of the traceroute and ping programs. Install and use it to perform your own evaluation:
|
||||
|
||||
```
|
||||
sudo apt install mtr -y
|
||||
sudo mtr -rwc 50 -i 0.2 -rw duckduckgo.com
|
||||
|
||||
Start: 2020-06-13T11:42:26+0100
|
||||
HOST: raspberrypi Loss% Snt Last Avg Best Wrst StDev
|
||||
1.|-- 192.168.1.254 0.0% 50 26.8 27.1 26.5 31.4 0.8
|
||||
2.|-- somerouter.net 88.0% 50 392.0 390.4 362.1 596.7 1.2
|
||||
```
|
||||
|
||||
The results are reported as round-trip response times in milliseconds and the percentage of packet loss. If you see loss and/or latency like the above example, report it to your VPN provider or find another one. Read [this](https://www.linode.com/docs/networking/diagnostics/diagnosing-network-issues-with-mtr/) for more on interpreting mtr results.
|
||||
|
||||
Protip: free VPNs are frequently oversubscribed and usually not worth the trouble.
|
||||
|
||||
## <a name="iptables"></a> How do I exclude NAT rules from IP traffic on localhost?
|
||||
RaspAP's [Quick Installer](https://github.com/billz/raspap-webgui/wiki/Quick-Installer-usage) configures network-address-translation (NAT) with iptables rules, so that the RPi can act as an internet gateway to multiple hosts on a local network with a single public IP address. This is done by rewriting the addresses of IP packets as they pass through the NAT system. Many access points, including RaspAP, use a combination of IP forwarding and masquerading to achieve this.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user