OpenVPN Client on Azure VM
I'm trying to connect my Azure VM to my OpenVPN server at how, so it will be part of my Home Network, I installed the OpenVPN client and added the ovpn file, but every time I start the connection I get no activity and a fail message
You have to install the downloaded .ovpn file into the
configfolder of OpenVPN. For example,
Right-click the OpenVPN GUI icon on the desktop, and click Run as administrator to connect to VPN.
Also, you can verify the network connectivity between Azure VM and your home router server is working or not. From VM, you can use the command
telnet 18.104.22.168 1194to verify this. (If you set Service-Type TCP; Service-Port 1194, OpenVPN public IP address is 22.214.171.124 in your OpenVPN server side). Change the Public IP and port in your side to telnet.
In addition, you can refer to this link to check the setting on your home router server.
See also questions close to this topic
Use Certificate Authentication With SSIS and SQL Azure
I have tried to find any information on this and have not been very successful.
We have a DMZ Azure DB that we will be putting data into, and a partner will be pulling that data out of. We have set up cert active directory authentication with the partner who has been able to authenticate using a cert in their jdbc connection.
We need to also connect in the same manner, but I am using SSIS to prepare the data and transfer it.
I cannot see anywhere a way to use cert authentication in OLEdb.
Have my search skills failed me or is this not actually possible?
Using SQL server 2016 and SSIS on that server, wanting to connect and put data into an Azure DB.
Can anyone help me or point me in the right direction?
How to get the creation date of Azure RM Resources including all resources from Azure
I need to use the command Get-AzureRMResource and return resources created after a particular date . Is it possible to filter the resources w.r.t creation date. Can someone please help?
Azure Access Control (ACS) migration path guidance sought
I have an Azure web application which as a relying party uses a number of identity providers (IdentityServer, Facebook, Google, Windows LiveID) orchestrated by the now out of service Azure Access Control (ACS).
I am looking to maintain these identity providers, maintain their configurations as far as is possible, and replace ACS with Azure B2C, as per the Microsoft guidance.
I'd like Azure B2C to perform the same orchestraction between identity providers and relying party as does ACS in my current setup.
However, in my scenario IdentityServer is configured as an 'WS-Federation Identity Provider' in ACS, and it seems that Azure B2C custom policies do not allow this (e.g. this blog which states "...You can configure a policy e.g. sign up / sign in to handle any number of IDP as long as they support OpenID Connect or SAML 2.0....WS-Fed support is on the way.").
What option is best to pursue here? Can I use Azure B2C as "...a hub / identity router" with IdentityServer as currently configured, using a custom policy?
How to create and save json tempalte and snapshot in azure together(in storage)? And how to create a VMs from ARM and Snapshont?
How to create and save json tempalte and snapshot in azure together(in storage)? And how to create a VMs from ARM and Snapshont? (The question in the title) I have a json template and snapsot in azure. How I can save it in azure? And how I can deploy it from Azure ? I do this because my 1st vm has iis features and json template what i need. THANKS EVRYBODY FOR HELP!
Powershell cmdlet to gracefully shutdown azure virtual machine
I am having questions around the "Stop-AzureRmVm" PowerShell cmdlet. Does the cmdlet power crash the virtual machines? I have few SharePoint and SQL servers used in our non-production environment. I have powershell scripts that do a scheduled stop and start of these virtual machines.
I am worried if the "Stop-AzureRmVm" PowerShell cmdlet power crashes the virtual machines, as I need the servers to gracefully shutdown.
OR do we have any PowerShell cmdlet that gracefully shuts down the Azure virtual machine?
Azure batch job task not running on the specified pool?
I created an azure batch pool with custom image. Now when I create a job from the pool and create a task from the job and run it, the task fails because it does not find the (python) dependency package I preinstalled through the custom image; moreover in the task's overview, under 'Pool' it says 'n/a'. So does that mean the pool that I created from custom image is not being used by the task, and therefore my packages are missing?
By the way, if I log on to a node in the pool, I can see my packages do exist on the nodes.
App service not working with on-premises VPN
I've been trying to set up an App Service which communicates with a server in our on-premises environment. I've set up everything regarding VNET, Local network gateway, Virtual network gateway, Point-to-Site and so on. I've also set up a Linux VM to enable testing, the VM can communicate with on-prem and on-prem reaches our VM.
I also connected the app service to the VNET and it is able to tcpping the VM. But I can't get the app service to communicate with the on-prem service.
In the App Service Plan everything looks normal, I can see all the subnets, site-to-site, point-to-site and that the certificates are in sync.
But when I look at the Networking for the App Service it does not show as connected and Azure says that the certificates are not in sync. Could this be one of the reasons why the App Service and the on-prem can't communicate? Do I have to add routes for the Point-to-Site to the on-prem network?
Route ip specific traffic to AWS from Azure through OpenVPN
I am not a devops person but trying out something on my own. I have provisioned few resources in Azure and AWS. Want to make connection between them through VPN. as an example, i have web app in Azure and DB in AWS. I want to make the app connect to DB without any problem. I did below things.
- AWS is already being accessed through VPN (openVPN). So VPN server is already setup in AWS and working.
- I created a VM (in a VNET) in Azure and installed OpenVPN client there. Loaded AWS vpn config into Azure VM. Now i can make calls to AWS from Azure VM through VPN.
- I created a route table to hop AWS traffic through Azure VM (VPN).
Now the problem is, My webapp is in azure (app service) but is not in any Virtual Network. The traffic is not flowing through VPN and i can't access AWS DB from anywhere except Azure VM(VPN)
Am i missing any thing here? Some basic questions are 1) Is it mandatory to have all resources in the same VNET/SubNet of Azure VM (VPN) to be able to access AWS ? 2) Is it mandatory to have resources in any VNET/SubNET to be able to use VPN? 3) Should the route table be linked to the subnets of the resources which want to access VPN?
Any pointer is really helpful for me.
Design routing for Office 365 and Azure Express Route
Upon reading Azure documentation I still cannot figure out if we can design routing for our Express Route in the way described below.
We are planning to use one proxy server(with one public ip) for all O365 traffic. ( dedicated only for O365 ). Obviously, some of the O365 traffic can and should use ER, but some need to use internet (CDN, DNS, etc).
The goal is to announce proxy server ip toward ER as a /32 and toward internet as /22.
My concern is "assymetric routing" . Can this type of routing create the problem when Microsoft will send traffic to our proxy server via the ER while egress path from our AS lies via internet ?
PS. I am aware that some of the traffic should not be "proxied" or undergo DPI. Thats a security requirement.
Kubernetes network hub/router pod
I am looking for a way to be able to have a centralized pod for a namespace that all other pods connect to for their network routing. To clarify, the scenario I am looking to achieve is to have a container/pod that has an OpenVPN connection to a site and all the other pods/services in the namespace go through that OpenVPN pod for their external network communication/routing so that they can be accessible only via the VPN.
I have gone through a portion of the k8s documentation, but I have not yet found anything that can help me achieve this. Ideally I would like to be able to implement this in any k8s environment without having to rework the images for the already existing deployments. Any Kubernetes gurus here that might have some insight on the matter? :)
phpmyadmin not responding
I have installed phpmyadmin on my virtual server and want to access it via its private ip address (OpenVPN). But somehow im not able to load this site. There isn't a "not found" response, but the server keeps loading and loading with no result. Every other directory is accessible without any problems. The strange thing is: phpmyadmin loads without any problems on the public ip.
Loading time: waiting for like 70 secs to get a first response.
Is this about apache, phpmyadmin or OpenVPN?
How can it work on the public ip, but not on the private ip?
connect to SaferVPN / ExpressVPN /NordVPN through command-line in windows
I want to connect to VPN through Command-line in windows.
we can connect to
openVPNthrough command-line, in
OpenVPNwe can connect to VPN using
openvpn-gui.exe --connect "client.ovpn".
In this case simply we have to add
but i want to connect to
ExpressVPNetc this GUI based VPN through command-line.
in this VPN we have GUI where we have option to select country name to connect to that server, how to achieve that using command-line.
please help me out with this.