Hotspot Users Sharing Resources

I have the need to let hotspot users share resources on a network, they can use the hotspot for internet acceess but need to be able to share files and also print to network printers.

Can any one tell me if and show how it can be done using a MikroTik Router.

Thanks in advance

Piri

I suppose you questions sounds like,
Is it possible to get access to local resources without authorization in HotSpot ?

If the question is correct.
Yes, it is possible. Walled-Garden is used to allow specific resources without HotSpot authentication.

or - your local LAN is simply physically before the Hotspot gateway…

I have two pcs connected to an unmanaged switch , can ping between them fine for a while then I cant
I get a reply from the MikroTik Router IP Address that says “destination host unreachable”

if I connect both pcs to the hotspot eg logon then the pings starts again

Need to have the two computer communicating that are not logged on to the hotspot

They seem to be ok for a while but then fail

Any idea ?

regards

Piri

Try specifying the ‘out-interface’ for your masquerade rule.

I am not sure which interface to select ?

Eth1
Eth2
Eth3
Bridge1
pppoe
pppoe

the bridge has Eth2 and Eth3

regards

Piri

As I assume data is going over router, you have to add local network to ‘ip hotspot walled-garden ip’ list.

I added 192.168.0.0/24 to the walled garden dst address but it did not make any difference

Was this not correct.

The PC/s have static ip of 192.168.0.20 and 192.168.0.21

Regards

Piri

piri has made a statement that I interpret as the hotspot only controls the internet gateway.

As in: (?)

PC1—>Switch—>Hotspot—>Internet
PC2—>

I have seen this before when using masquerade without out-interface defined, but I haven’t seen it in conjunction with hotspot.
My assumption is that for some reason the PC’s traffic is being intercepted by the default gateway (hotspot router) and returning the error before authentication.

Try and set the out-interface on your masquerade rule - whichever is the internet gateway interface.

The walled garden IP list should do it though…

Make sure you are using the ‘IP List’ option in walled garden, and not the walled garden default list option.
In winbox, there is a button on the Hotspot/Walled Garden toolbar… enter your local LAN address range there…