Page 1 of 1

What Interface maps OVPN server interface ?

Posted: Fri Jul 29, 2016 2:30 pm
by stratonetworks
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

Re: What Interface maps OVPN server interface ?

Posted: Fri Jul 29, 2016 9:00 pm
by Paternot
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) ?
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.

Re: What Interface maps OVPN server interface ?

Posted: Sun Jul 31, 2016 12:12 pm
by stratonetworks
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 ?

Re: What Interface maps OVPN server interface ?

Posted: Sun Jul 31, 2016 12:49 pm
by sls
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