raspap, routing, expressvpn #1591
Replies: 3 comments
-
If you've used the VPN provider option at install time, bear in mind that RaspAP provides a rudimentary front end to this service only. See https://docs.raspap.com/providers/#control-scope That is, it does not manipulate routing or any iptables rules related to the VPN service—that's entirely up to you and/or your VPN provider's CLI. Best advice is to consult the logging tab for the service. Alternatively, the debug log generator will give you a more comprehensive view of your system so that you may perform a self-diagnosis. |
Beta Was this translation helpful? Give feedback.
-
I think there is an issue with the OS network stack and thats the purpose of the tests. Sorry to be pest on all this - i really only trying to help the community. On raspap - i only have raspap installed with the openvpn option installed but openvpn is disabled. I have eth0 and eth1 and wlan0 (built in) I confirmed both eth0 and eth1 works on raspberry. The topology now is: on the config for hotspot there is an option to select eth0, eth1, lo, wlan0. I shut down hotspot and selected eth1. So then i tried to start the hotspot again. It defaulted to wlan0. rfkill: WLAN soft blocked So digging in a little - if user doesnt select a wifi device, the save button is disabled. its in custom.js starting on line 533 - eth1 isnt a wifi device - so no channel is selected and then the save settings button is disabled. if (hw_mode === 'a') {
|
Beta Was this translation helpful? Give feedback.
-
No worries, your thorough report is appreciated 😉 This interface administers
What it can do
What it cannot do
I think I understand your use case. You want RaspAP to manage IPv4 rules to route traffic between your wired interfaces: eth0 and eth1. RaspAP supports this for WLAN interfaces but doesn't have a generalized UI for all network interfaces (yet). The "AP" in this project's name harkens back to its original purpose—administering hostapd on Linux with a web interface. It's evolved substantially since then but has remained focused primarily on WLAN connectivity sharing. I can see adding a UI to support this at some stage, but hostapd isn't the right place for it. The Networking UI displays a summary of the routing table already; adding a tab to manage these interfaces is probably the next step. |
Beta Was this translation helpful? Give feedback.
-
I have raspap installed. Performance isnt where it should be and i dont think the routing is correct.
I have eth0 and wlan1
desired is wlan1 clients can connect to raspap - raspap routes thru expressvpn and to lan connection on eth0
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
705 53450 MASQUERADE all -- any any anywhere anywhere
0 0 MASQUERADE all -- any any 192.168.50.0/24 !192.168.50.0/24
It doesnt seem thats whats happening tho
Everything should be going thru xvpn interface?
sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
xvpn all -- anywhere anywhere
Chain xvpn (1 references)
target prot opt source destination
xvpn_dns all -- anywhere anywhere
xvpn_ks all -- anywhere anywhere
Chain xvpn_dns (1 references)
target prot opt source destination
xvpn_dns_iface_exceptions all -- anywhere anywhere
xvpn_dns_ip_exceptions all -- anywhere anywhere
DROP tcp -- anywhere anywhere tcp dpt:domain
DROP udp -- anywhere anywhere udp dpt:domain
Chain xvpn_dns_iface_exceptions (1 references)
target prot opt source destination
Chain xvpn_dns_ip_exceptions (1 references)
target prot opt source destination
ACCEPT udp -- anywhere 100.64.100.1 udp dpt:domain
Chain xvpn_ks (1 references)
target prot opt source destination
xvpn_ks_iface_exceptions all -- anywhere anywhere
xvpn_ks_ip_exceptions all -- anywhere anywhere
ACCEPT udp -- anywhere anywhere udp dpts:bootps:bootpc
DROP all -- anywhere anywhere
Chain xvpn_ks_iface_exceptions (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Chain xvpn_ks_ip_exceptions (1 references)
target prot opt source destination
ACCEPT all -- anywhere 10.0.0.0/8
ACCEPT all -- anywhere xxx.16.0.0/12
ACCEPT all -- anywhere 192.168.0.0/16
ACCEPT all -- anywhere xxx.254.0.0/16
ACCEPT all -- anywhere base-address.mcast.net/24
ACCEPT all -- anywhere xx.xx.57.250
Beta Was this translation helpful? Give feedback.
All reactions