Hi I am trying to create an access point in ideal case virtual access point in Fedora server 37. I can create a simple AP for wifi to LAN(wlp7s0 -> enp1s0 in my case) using these commands and I can connect to this and also have internet access on this AP.
nmcli con add type wifi ifname wlp7s0 con-name MyHotspot autoconnect yes ssid MyHotspot
nmcli con modify MyHotspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify MyHotspot wifi-sec.key-mgmt wpa-psk
nmcli con modify MyHotspot wifi-sec.psk "11111111"
nmcli con down MyHotspot; sudo nmcli con up MyHotspot
nmcli connection show MyHotspot
But the problem is I can access local network/LAN and also internet but I can not access nginx on same AP machine Firewall Commands:
sudo firewall-cmd --permanent --add-forward-port=port=8000:proto=tcp:toaddr=127.0.0.1:toport=8080
sudo firewall-cmd --reload
connection is refusing/timing out
Thank you
Create Virtual Access Point (VAP) in Fedora server 37 Access nginx running on same machine where I have VAP