Can't connect in Wifi mode: Firewall problem? #1643
-
Hello, I can't connect with my Windows PC to my RASPAP in wifi mode, even though it works with a UBUNTU virtual machine on the same PC. I have installed curl -sL https://install.raspap.com | bash The problem must be with my Windows PC But I don't know how to get out of it Principle I tried to take the issue on the origin, and found that the ping does not work from my Windows PC, but works with my Ubuntu VM. What could explain this phenomenon? I have tried to add a firewall rule but certainly I have missed some clue Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Correction.. |
Beta Was this translation helpful? Give feedback.
-
try resetting your iptables and restarting hotspot then try again. also - check your wifi channel and country code on raspap. log into raspap and see if you have outside access (ping www.google.com or ping 8.8.8.8) run "ip a" on raspberry at command prompt and confirm the wireless device has a carrier an ip address and its up. run iwconfig and make sure its showing up. it should look something like this:
|
Beta Was this translation helpful? Give feedback.
-
Disable your firewall and repeat the test. Do you need a firewall? The vast majority of RaspAP installs are behind existing routers/firewalls. This is why RaspAP doesn't install a firewall unless you add one as an optional component. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the hint, but I guess I will give up looking here. |
Beta Was this translation helpful? Give feedback.
try resetting your iptables and restarting hotspot
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -t nat -F
sudo iptables -t mangle -F
sudo iptables -F
sudo iptables -X
then try again.
https://www.digitalocean.com/community/tutorials/how-to-list-and-delete-iptables-firewall-rules
also - check your wifi channel and country code on raspap.
to diagnose i sometimes drop to 802.11 to test connection.
log into raspap and see if you have outside access (ping www.google.com or ping 8.8.8.8)
run "ip a" on raspberry at command prompt and confirm the wireless device has a carrier an ip address and its up.
run iwconfig and make sure its show…