Skip to main content
added 15 characters in body
Source Link

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:

  1. In httpd.conf i have added Listen 10.42.0.1:80
  2. I have added ip table rule iptables -I INPUT -p TCP --dport 80 -j ACCEPT
  3. 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

I have a wifi-access point with wlan0 ip 10.42.0.1 . Also 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:

  1. In httpd.conf i have added Listen 10.42.0.1:80
  2. I have added ip table rule iptables -I INPUT -p TCP --dport 80 -j ACCEPT
  3. 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

I have a wifi-access point at wlan0 ip 10.42.0.1 . At 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:

  1. In httpd.conf i have added Listen 10.42.0.1:80
  2. I have added ip table rule iptables -I INPUT -p TCP --dport 80 -j ACCEPT
  3. 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
added 765 characters in body
Source Link

I have a wifi-access point with wlan0 ip 10.42.0.1 . Also 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:

  1. In httpd.conf i have added Listen 10.42.0.1:80
  2. I have added ip table rule iptables -I INPUT -p TCP --dport 80 -j ACCEPT
  3. 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

I have a wifi-access point with wlan0 ip 10.42.0.1 . Also 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:

  1. In httpd.conf i have added Listen 10.42.0.1:80
  2. I have added ip table rule iptables -I INPUT -p TCP --dport 80 -j ACCEPT
  3. 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?

I have a wifi-access point with wlan0 ip 10.42.0.1 . Also 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:

  1. In httpd.conf i have added Listen 10.42.0.1:80
  2. I have added ip table rule iptables -I INPUT -p TCP --dport 80 -j ACCEPT
  3. 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
Source Link

Port 80 is not available outside localhost

I have a wifi-access point with wlan0 ip 10.42.0.1 . Also 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:

  1. In httpd.conf i have added Listen 10.42.0.1:80
  2. I have added ip table rule iptables -I INPUT -p TCP --dport 80 -j ACCEPT
  3. 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?