Community discussions

MikroTik App
 
yrtnsky
just joined
Topic Author
Posts: 1
Joined: Sun Jul 03, 2022 2:21 pm

Add ovpn interfaces to LAN list

Sun Jul 03, 2022 2:27 pm

Hi,

By default in firewall on hAP ac is set to drop all incoming in input going not from LAN interfaces list. By default LAN list contains only bridge interface.
After making OpenVPN connection to the router thtere is no way to access it since ovpn interfaces are not in LAN list.
How all dynamic ppp interfaces can be added to the LAN list or made members of bridge on connection?

Thank you
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Add ovpn interfaces to LAN list

Sun Jul 03, 2022 9:02 pm

You can create a PPP profile, and in that profile you can specify the list you want those PPP clients that use that profile to be added...
Example:
ppp/profile/add name=ppp-profile interface-list=LAN local-address=192.168.0.1 remote-address=192.16
8.0.2
and then
interface/ovpn-client/add name=ovpn profile=ppp-profile connect-to=192.168.1.1 user=user password=password

Who is online

Users browsing this forum: No registered users and 31 guests