What Interface maps OVPN server interface ?

Hi comrades!
I have a OVPN server interface. a Simple question that I don’t find answer for it: the OVPN server interface, which interface maps to ? For clear out: mi RB2011 router have ten phisicals interfaces. how can decide the interface/interfaces from OVPN clients are conecting (firewall rules apart) ?

I understand that BRIDGE profile property, is a optional bridge which clients are mapped.

Thanks in advance

As far as I know, You don’t. The OVPN interface is an abstraction, not an interface per se. I have an OVPN server, with 3WANs. With the port open on the firewall You can connect to any WAN interface.

Thanks for the Reply! So it seems to work, beacuse ay this moment my OVPN virtual interface is listening on all of ports.


some suggestions for anyone more ?

Hi,
You could define more specific rules for your VPN interface (as far as that’s what your last question is about) i.e.:

;;; Allow OPVN traffic through WAN1 
      
    chain=forward action=accept protocol=tcp in-interface=OVPN out-interface=WAN1 log=no log-prefix=""

Now, aforementioned rule will just allow your VPN interface to use WAN1, nothing else.

Best regards,

sls