The node Help file states "If you want to forward every port that is not already in use to a single computer on the LAN, choose that computer's IP Address from the DMZ Server selector.."
Where is the DMZ Server selector? I can't seem to find it.
Thanks
Mark
Where is the DMZ Server selector? I can't seem to find it.
Thanks
Mark
Joe AE6XE
So, there is no way to put a direct host into the DMZ?
Could you port forward all ports not otherwise in use to a host and hope for the best? Will the portlow-porthigh format work in port forwarding while in direct host mode?
Edit: I see the portlow-porthigh format is accepted in the Outside port, but not for the LAN port.
Thanks
The non-DMZ hosts on the LAN are now protected and can not be reached by other devices on the mesh network. (We could put this detail in the Help...)
Anyone out there actually using this feature?
Joe AE6XE
Joe AE6XE
What I really need to do is be able to port forward Protocol #4 through the node to a Mesh Host. (RFC 2003) That would allow AMPR Net endpoints on the MESH host while also running a BPQ Node on a windows machine.
If anyone else has done this I would be interested to know how it was done.
Mark
For example, there could be a winlink post office box at an AMPR address. This postoffice box might be (or might not be) on an isolated network and not attached to the internet, rather is a network only on the WAN side of the mesh node-gateway. Install winlink express client on a computer on the mesh network. This winlink express application can do a telnet connection to the 44.x.x.x winlink postoffice box to send/receive messages.
Joe AE6XE
Thanks to Joe for helping me work this out. I now have it working well.
What is working is a mesh node in Direct Host mode with a Windows host running BPQ (not hard because the right configuration does this easily,) and the BPQ process is providing an IPENCAP address for the AMPR network using 44.x.x.x addressing. This is not so easy due to it requiring the passage of IPENCAP protocol packets which is commonly blocked by low end routers, including Ubiquiti hardware.
The fix was a simple custom IPTABLES rule that allows the packets. The downside is that the node is placed in the DMZ of a router, or connected directly to the internet making it vulnerable to port scanners, etc. And there are certain ports open to the WAN by default which most would likely not want open (i.e. 2222, 8080, etc.)
Rather than publish the fix for this, which requires a little more than many can do without assistance, I'll leave it to Joe to pass along the solution to those that desire it. It could show up in a future release of the firmware though, since the custom rule that it took to accomplish this will be overwritten by firmware updates.
Thanks Joe!
Mark
I am sorry to bring this topic again after a year ...
But I have exactly the same situation. I am currently running a FLEXNET node on a linux computer, this computer is in DMZ mode for my home router to have a 44.x.x.x IP address from the AMPRnet. As mentioned by Mark above, the DMZ mode is required to pass IPENCAP packets.
On the same home router, I have the AREDN node connected as a sibling to the FLEXNET node.
This makes the FLEXNET unreachable on the mesh side, and vice versa.
I would like to move the flexnet node to become a direct client of the AREDN node to become reachable to mesh, while having it in DMZ mode for the WAN (I will put the AREDN node in DMZ mode in home router then).
I believe Joe had a solution for Mark on this using IP tables, would you, fellas, be kind enough to share with me?
Also, would these new iptables rules survice a firmware upgrade for the AREDN node?
Thanks in advance.
------------------------------- 59-custom-rules ---------content------------------
This is exactly what I needed.
1) can communicate to all the services across the AREDN mesh network, and host mesh services for other mesh'ers to access (has a 10.x.x.x address)
2) can do the same across amprNET accessing 44.x.x.x devices and vice versa (computer also has a 44.x.x.x address)
3) Is NOT routing traffic or giving direct access between the mesh and amprNET -- this is not joining the mesh network with amprNET by design.
For future investigation it would be possible to configure BPQ32.exe such that a mesh node's LAN network and respective devices, the subnet, was known across both the mesh and amprNet. There are settings in BPQ32.exe to NAT the 44.x.x.x/28 subnet to the respective 10.x.x.x/28 subnet.
Joe AE6XE
This no longer works after a firmware update. Looking into the firewall there is no longer a zone_wan_prerouting
Should this still be working? After applying the IPTABLES rule by hand, then listing the IPTABLES I cannot find where it applied the rule. Is there an updated IPTABLES rule and should it now go into the firewall-users file/directory?
Thanks
Mark
iptables -L -v -t nat
Reference material that may be helpful:
https://en.wikipedia.org/wiki/Netfilter
http://www.netfilter.org/
Joe AE6XE
Now I just have to figure out why it was failing...I'm sure it is in the computer now, and not the Mesh node.
Mark