Hi,
I would like to configure access for OpenVPN client (IP 10.235.51.10) to device in VLAN_02 id=51 with IP 10.235.51.100. I configured forward rules but still no communication from client device added to VLAN_02 id=51. IP pool is the same for OpenVPN client and VLAN.
# 2024-11-24 15:44:37 by RouterOS 7.16.1
# model = C52iG-5HaxD2HaxD
/interface vlan add interface=bridge name=VLAN_01 vlan-id=1
/interface vlan add interface=bridge name=VLAN_02 vlan-id=51
/interface list add comment=defconf name=WAN
/interface list add comment=defconf name=LAN
/ip pool add name=DHCP_POOL_VLAN_01 ranges=192.168.0.30-192.168.0.145
/ip pool add name=DHCP_POOL_VLAN_02 ranges=10.235.51.100
/ip dhcp-server add address-pool=DHCP_POOL_VLAN_01 interface=VLAN_01 lease-time=10m name=DHCP_VLAN_01 server-address=192.168.0.1
/ip dhcp-server add address-pool=DHCP_POOL_VLAN_02 interface=VLAN_02 lease-time=10m name=DHCP_VLAN_02 server-address=10.235.51.1
/interface bridge port add bridge=bridge comment=defconf frame-types=admit-only-untagged-and-priority-tagged interface=ether3 internal-path-cost=10 path-cost=10
/interface bridge port add bridge=bridge comment=defconf frame-types=admit-only-untagged-and-priority-tagged interface=ether4 internal-path-cost=10 path-cost=10
/interface bridge port add bridge=bridge comment=defconf frame-types=admit-only-untagged-and-priority-tagged interface=ether5 internal-path-cost=10 path-cost=10
/interface bridge port add bridge=bridge frame-types=admit-only-untagged-and-priority-tagged interface=ether2 internal-path-cost=10 path-cost=10 pvid=51
/interface bridge vlan add bridge=bridge tagged=bridge untagged=ether3,ether4,ether5,wifi1,wifi2 vlan-ids=1
/interface bridge vlan add bridge=bridge tagged=bridge untagged=ether2 vlan-ids=51
/interface list member add comment=defconf interface=VLAN_01 list=LAN
/interface list member add comment=defconf interface=ether1-WAN1 list=WAN
/ip address add address=192.168.0.1/24 comment=defconf interface=VLAN_01 network=192.168.0.0
/ip address add address=10.235.51.1/24 comment=defconf interface=VLAN_02 network=10.235.51.0
/ppp secret add local-address=10.235.51.1 name=xxxxxx profile=openvpn remote-address=10.235.51.10 service=ovpn