Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-27-2015, 06:59 AM   #1
LQ Newbie
Registered: Oct 2015
Posts: 8

Rep: Reputation: Disabled
Linux based router, it seems all works except port 80

Hi all,
I installed openwrt on my xiaomi mi wifi modem (PandoraBox version).

I am trying to setup 2 independent wifi without bridging all the interfaces together.

Essentially I want a guest wifi, which is why I installed open wrt in the first place.

The router is connected to a modem/router "homehub 5" from BT, in uk.

I managed to setup multiple wireless by bridging all together, but this is not what I want.

For my new setup I am following the "routed AP" recipe, with some caveats, since not everything seem to be available.

After long fighting, I managed to:
1) ping IP and URL from router
2) ping IP and URL from client windows pc/android phone
3) having whatsapp, skype, torrent, etc working from the clients (as far as I can tell just about everything seem to work)
4) having https working

however, I cannot browse neither, nor (one of's IPs) from firefox, or other browser, nor any other http websites either.
Temporary workaround is to a) connect the windows/andoird clients directly to the modem/router wifi (which works just fine), b) use a proxy service to https-ify any website.

So it seems it's a port 80 problem, however
iptables -L | grep 80
returns nothing, and also I find no entry in /etc/config/firewall, about port 80.
Neither about port 443 (in case it was a whitelist thing instead of a blacklist thing)

I also flushed the iptables (iptables -F) and the problem persisted.

I hence iptables-restore 'd the backup and reverted to original scenario.

I have no clues whatsoever, but on the upside I am learning/remembering things I used to know quite a bit in the process!

Any help would be very welcome!

Old 10-28-2015, 02:29 PM   #2
Senior Member
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
I need find out which rule drop http request.

1)Add following rule in iptable
iptables -t raw -A PREROUTING -p tcp --destination x.x.x.x/x --dport 80 -j TRACE
iptables -t raw -A OUTPUT -p tcp --destination x.x.x.x/x --dport 80 -j TRACE

2)cat /var/log/kern.log | grep 'TRACE:'
It will show logs every rule which match the packets as those traverse the tables, chains, rules.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
linux serial port to router console port connection? frankie_fix Linux - General 3 02-26-2007 09:32 PM
Linux Based Wireless Router Shahryar ghazi Linux - Wireless Networking 1 12-21-2006 07:56 PM
Linux based router LoransP Linux - Newbie 3 09-20-2006 07:36 AM
PPC based Linux router? 8-bitDesigner Linux - Distributions 9 01-17-2006 11:19 PM
Setting up router with IP based or TCP/UDP port rules raakjoer Linux - Networking 1 10-24-2005 08:51 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration