I have a single IP on my network that I would like to connect to the internet via an OpenVPN connection.
Is that possible, if yes: what is the approach here? I assume I need to create a opvnclient and somehow wire things up.
Perhaps someone know a guide or could provide some insight on what I need to do
Hmmm … you have running network with connection to Internet and what do you want to connect to Internet?
Device from your LAN? Your router? Device from WAN side to your network?
Even crystall ball says nothing what is the problem.
I’ll try and be a bit more specific.
Basically, I have a particular device (MAC address) on my LAN that I want to access the internet via a VPN tunnel.
The device should connect though a OpenVPN server that I’ve been provided. The rest of the devices on the network should just access the internet normally.
This can be done with routing. There are multiple options to set this up in routing (IP route, Routing, VRF, Rules, Tables) and using routing marks
Menu’s in Winbox are on different places for RouterOS 6 and RouterOS 7 !
So it can become confusing.
Could be as simple as this for outgoing connections (with a static src IP address 192.168.188.2, and VPN gateway on 192.168..1.1, and VPN interface in the WAN interface list)
Note if you are forcing all out VPN tunnel then one would not be able to configure the router or reach another subnet…
SO suggesting that order counts and you may need more routing rules but without further info hard to tell.