Is there any way to see the actual network mapping for traffic and ports?
I'm trying to see what NICs are moving traffic to what destination at different times in a visual way.
Problem:
I set up the OpenVPN connection and when I do I lose all DNS query capabilities.
I have my LAN set up and I set up the forward to the VPN in the firewall zones.
The DNS server on the network I have the SERVERS zone set up to still forward to the WAN.
But I can't get the DNS to work, and when I try to do a lookup or ping, it literally just tells me the network is unreachable from the DNS.
So I'm looking for something that allows for the visualisation to show where traffic would go from and to and also would be good to have the ability to alter the options and firewalls from that screen too....
Does anything like this exist in the OpenWRT system yet?
Nope, that doesn't provide a visualisation... It provides a list of all the routes, doesn't show the data flow or allow me to alter the routes and firewalls and do everything that my original post was asking about.
Please describe or provide more detal of what you mean.
Can you provide an example of what you mean?
I'm guessing the route and firewall menus in OpenWrt are not what you're seeking?
Are you asking for this to be graphical only, on the same page, etc.?
Everything you asked is already possible on OpenWrt, so it's unclear if you're having an issue navigating the menu, or if you're seeking alternatives (which are also available on OpenWrt, but they may not be what you desire).
It can be graphical or text based... But I want to be able to see all the actual flow of traffic that would happen. a GUI version would be great with all the extras that I am thinking about having...
I can see the firewall, I can see the routes, I can see all the things on 50 different pages and terminal windows...
But as I said, I want to be able to see the actual network mapping for traffic and ports...
So essentially I want to be able to have a system in place where I can see that I have the WAN NICs and the other NICs, then I want to see the traffic flow, as colourised by the firewall system to show where the traffic for each port would flow based ont he firewalls, routes, and other configurations that are all on 50 different screens.. (this is all assuming a full GUI system, text based would be a bit different.)
I literally just want one single and simple method to be able to watch the network flow. This way I can watch it from wherever I am.. Yes, I'm looking at adding other metrics onto it as well such as Bit per second (in and out), packets per second (in and out), and more.
I mean I'm looking at creating a module for OpenWRT but I have no idea where to start with it because I can't even find where the web pages are stored or anything like that to be able to impliment a separate page for testing and running it.
Even a text version would be fine for showing things...
As it could show...
ETH1 talks through fwconfig LANtoWAN (ACCEPT) to ETH0 current speed of 120 Mbps
ETH0 talks through fwconfig WANtoSRV (DROP- 80,443) to ETH2 current speed of 20 Mbps
ETH1 talks through fwconfig LANtoVPN (ACCEPT) to TUN0 current speed of 0 Mbps
TUN0 talks through fwconfig LANtoVPN (DROP) to ETH1 current speed of 0 Mbps
I mean a full GUI system to allow for exiting of the rules and see how that would alter the traffic and get things set up properly would be a great advantage though.
Thanks for that. I've looked at that folder numerous times and always gone into the cgi-bin folder as I wan't looking for the static version. looks like there is a TONNE of work to understand how the heck this site works...
All this Javascript.... At least LuCi works where that other companies interface on OpenWRT doesn't..
Now I see why the UI is so slow often as it uses so much JS still... I'll have to first convert from that bad coding to good coding first, then I can work on adding in the extra additions and see how that goes.
Thanks.
Makes me worry about looking at the rest of the code in the operating system though.. Makes me want to look.. But I fear at how badly it is coded now and how much it will make me fix...
Truer words have never been spoken. JavaScript is inherently bad and makes everything slow. Personally, I believe the UI should have been coded in Turbo Pascal, with Logo for the graphics.
Oh, by all means, please fix everything. We are all very, very tired of how slow and badly coded OpenWrt is, and we have been desperately waiting for someone with the necessary knowledge to fix it.
I for one can't wait to see your improvements. Heave ho!
Why would you say write the UI in Turbo Pascal? that doesn't even work over the internet the right way...
The server side things can be written in Pascal, but not the UI. the UI would be written in HTML and other things. I mean HTML with minimal JS would be fine.
And why would you want Logo for graphics? I'm not even going to go into this one... Just... why...
So I should just rewrite the whole operating system?
So I should just add the functionality into my own operating system that I use and built to create a server system?
My operating system is a good system, it's main purpose was for my AI. Yes, an AI, not some fake simulated AI. So it's designed to be faster than 99.99999% of all systems out there and use 95% less RAM than the general minimalist units that are in use out there.
But that would just take a very very long time to get to this point.
So if I was to fix everything, that is what I would rather do, because then I at least know what every piece of code does, from the boot sector all the way to the operating system. And I could integrate everything at the lowest point and have it as fast as I could want.
But no, I just want to have something that I can use here.