Community discussions

 
MikroTikFan
Member Candidate
Member Candidate
Topic Author
Posts: 196
Joined: Sat Aug 02, 2014 1:13 am

OpenVPN restrict acces list

Wed Nov 25, 2015 10:07 pm

Despite the many constraints I succeed and establish openvpn connection ;-)
Now I just wondering how can I restrict access to recources (IP, port, MAC)

1) OpenVPN as a client, restriction by client side

2) OpenVPN as a server, restriction by server side
 
MikroTikFan
Member Candidate
Member Candidate
Topic Author
Posts: 196
Joined: Sat Aug 02, 2014 1:13 am

Re: OpenVPN restrict acces list

Fri Dec 18, 2015 6:44 pm

Anyone can help me ?

Thank's in advance ;-)
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4051
Joined: Wed May 11, 2011 6:08 pm

Re: OpenVPN restrict acces list

Fri Dec 18, 2015 8:44 pm

Use the firewall filter table just like you would otherwise do. The forward chain will block traffic to/from the VPN clients just as it will any other traffic being forwarded through the router.

If you want a specific filter for ovpn clients, create chains in the filter table that does what you want (e.g. add chains named ovpn-in and ovpn-out, and allow/block connections as you need) and specify the chains in the ovpn profile (incoming filter and outgoing filter)
When given a spoon,
you should not cling to your fork.
The soup will get cold.

Who is online

Users browsing this forum: Google [Bot] and 29 guests