We have a TRB140 connected to a internal network. The DHCP server is turned off in the TRB and the TRB is getting a local ip from the network. We want to be able to connect to the network through the openVPN/RMS interface and access a webserver on the local network.
But I struggle to get this working. The TRB has got an local IP and I can access it by the openVPN link. But I can not access the local webserver from that connection. I thought that a port forwarding would be the correct setup, see my config below:
In RMS VPN Hubs → Routes, make sure you enable “LAN” forwarding for TRB140 and add a route to your LAN network. For example:
10.28.0.0 255.255.255.0 via TRB140 (assuming your network is 10.28.0.0/24 and you want to reach the whole network. You can specify a route to the server only if you want).
Now, I am not fully aware of your internal network. However, make sure that the server knows that it can reach 192.168.255.0/24 (RMS VPN default network) through TRB. Either specify a route to this network on the server via IP address of TRB, or set a default gateway on the server that points to TRB. An alternative would be to enable masquerading on LAN interface in Network → Firewall, however, it would be better if you simply ensure that a route is present on the server, rather than rewriting the source IP address of all incoming traffic.