Fri Sep 28, 2007 10:04 pm
We run a bridged mesh network with two radios (bridged) per node.
On each node, one radio is used for BackHaul (uplink/downlink), and the other is an AP for local users to connect.
The BH radios are all configured as ap-bridge/WDS, with SSID hidden.
All of our nodes are part of a single private subnet.
One node is the gateway and has a public Internet connection. The GW node also runs the hotspot for all the other nodes.
We spent much time trying to figure out how to reach all our nodes from the Internet via winbox. As has
been pointed out, if you have only 1 public IP, you can only port forward 8291 once. You can edit
the firewall each time you want to connect to another node, but this is not useful for managing your network since you need to see all nodes at once.
Our solution turned out to be trivial (after spending 2 months struggling to find a solution, that is!).
On the gateway node we enable the PPTP server, create a pptp user, and assign it a unique address on the
private subnet.
On our network management client where we run winbox, we create a pptp tunnel over the public Internet to the gateway node. Now winbox acts like it's on the same subnet as all of the other nodes and can manage everything at once. I haven't used the Dude yet, but I expect it will work the same as winbox.
If you have never used windows to create a VPN, just select "Create a new connection" under Network Connections and select the options for VPN. Enter the public ip address of the gateway node when asked
and that's about it.
If you have a separate gateway router between the public Internet and the MikroTik nodes, forward TCP port 1723 (which is PPTP) from the gateway router to the private IP address of the first MT node. You also need to forward protocol 47 (GRE) the same way. Some routers do that for you automatically when you forward port 1723. Other routers have special ways of forwarding protocols rather than ports.
Note that you do NOT need to forward port 8291 at all. Once the VPN tunnel is set up, any request from
winbox on port 8291 will appear to originate from inside the first MT node.
A previous response to this post mentioned VPN also, but I saw more posts after that one so I thought I'd
add some more details.
Please let me know if this help you out.
Does anyone think this would be worth a Wiki entry?