I need some advice please.
I need to connect a hotel to my wireless network and I’m testing the configuration before I install it. I’m installing a RB433 v4.17. The Hotel’s office network is on ether1 and is NATed. ether2 connects to their existing WiFi network (for guests) which is on a different IP subnet. The RB is connected via wireless to a Hotspot on my network. All of that is working so far.
What I have a problem with, is that the hotel wants to use hand-held wireless POS devices in their restaurant and bar. These devices will connect to the WiFi network and must be able to communicate with a server on their private LAN.
I don’t really understand NAT very well and I’ve tried implementing the example in the Wiki, but it’s not working.
Here are my settings, if anyone can see a way to help?
192.168.0.99 is the server on the LAN that all POS devices need to communicate with
/ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.1.5/24 192.168.1.0 192.168.1.255 toHotspot
1 192.168.0.254/24 192.168.0.0 192.168.0.255 ether3-LAN
2 192.168.1.10/24 192.168.1.0 192.168.1.255 ether1-WiFi
/ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; Hide private LAN behind one WAN address
chain=srcnat action=masquerade src-address=192.168.0.0/24
out-interface=bridge1
1 chain=dstnat action=dst-nat to-addresses=192.168.0.99
dst-address=192.168.1.5
2 chain=srcnat action=src-nat to-addresses=192.168.1.5
src-address=192.168.0.99
/interface> print
Flags: D - dynamic, X - disabled, R - running, S - slave
# NAME TYPE MTU L2MTU
0 R ether1-WiFi ether 1500 1526
1 ether2 ether 1500 1522
2 R ether3-LAN ether 1500 1522
3 R toHotspot wlan 1500 2290
4 R bridge1 bridge 1500 2290
/ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 192.168.1.254 1
1 ADC 192.168.0.0/24 192.168.0.254 ether3-LAN 0
2 A S 192.168.0.99/32 ether3-LAN 1
3 ADC 192.168.1.0/24 192.168.1.10 ether1-WiFi 0
bridge1
