Routing trafic through VPN in VirtualBox - virtualized OPNsense

Started by Vaseer, September 15, 2019, 10:01:03 PM

Previous topic - Next topic
Host OS: Windows 10
Guest OS: OPNsense
Virtualization: VirtualBox

What would like accomplished: Route certain traffic through VPN to access WebUIs of application on remote location or SSH to device in remote location.

I have already configured OPNsense in VirtualBox and established network communication between host and guest OS (VirtualBox local network IP 192.168.56.X). For example I can access OPNsense WebUI via https://192.168.56.251/.

OpenVPN connection between OPNsense and remote location is established and I can ping devices on remote location.
What I want is to be able to open web browser in host OS and got to let say https://192.168.56.251:some-port/ and access WebUI of application on remote location.
I am missing routing configuration in OPNsense - to listen on configured ports and then route that traffic through VPN to remote location.