I have a wifi-access point withat wlan0 ip 10.42.0.1 . AlsoAt the same machine there is httpd runnig locally, and when i access it from local browser by 10.42.0.1 - i can see webpage perfectly fine. When i do on that machine nmap i can see port 80 is open.
But when i connect to that access point from another machine, even i can ping 10.42.0.1 fine - wget or browser gives me connction refused, as well as nmap shows no 80 open.
what i have done already:
- In httpd.conf i have added Listen 10.42.0.1:80
- I have added ip table rule iptables -I INPUT -p TCP --dport 80 -j ACCEPT
- I checked with tcpdump port 80 - and actually can see traffic comes in when i am trying to access web page.
What esle can i do to solve the problem?
UPD ip table input rule is there:
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
   14  1524 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:80
    0     0 LOG        tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:80 LOG flags 0 level 4
    2    88 ACCEPT     tcp  --  wlan0  *       0.0.0.0/0            0.0.0.0/0            tcp dpt:80 /* # Anaconda Repo # */
    0     0 ACCEPT     tcp  --  eth0   *       0.0.0.0/0            0.0.0.0/0            tcp dpt:80 /* # Anaconda Repo # */
82027   81M LIBVIRT_INP  all  --  *      *       0.0.0.0/0            0.0.0.0/0