GCP OpenVPN with Win10 OpenVPN Client - networking

I'm really bad with networking things, but i tried today to set-up an OpenVPN server using GCP Marketplace following this tutorial:
https://openvpn.net/vpn-server-resources/google-cloud-platform-byol-instance-quick-launch-guide/
When trying to connect using OpenVPN Client on Windows 10, the connection seems ok but no traffic is redirected trough the VPN.
What i try to acheive is to route all the traffic from my Windows 10 computer trough the OpenVPN Server.
I think it's just about a settings on the server/client but i can't seem to understand while searching for a solution.
Thanks for the help!
Jimmy

I finally found the answer myself.
It was just a configuration to do in the OpenVPN web admin interface to ask the server to re-route all traffic.
I had another issue with DNS, so i did setup DNS manually in the admin interface.
Cheers.
Jimmy

Related

How to grant VPN access to my own OpenVPN without configuration files

I have created my own VPN service on one my VPS servers and logged in using the configuration files, i was wondering is there an easy/straight forward way to connect to my openvpn service for my community with a naive technical background.
Thanks,

Connecting LAN Subnet to GCP VM Subnet (VM Windows File Server)

So a little background of what I'm trying to accomplish. I'm basically trying to setup a Windows File Server using GCP VM Windows Instance. I have the VM setup and I have created a VPN connection between our office network and to the GCP VM network.
Now I'm trying to communicate between the two different subnets and I have to admit I'm kinda lost.
My office subnet is 192.168.72.0/24 and my GCP IP is 10.123.0.0 with my server being at 10.123.0.2
If I understand networking correctly I need to setup a route between 192.168.72.0 to 10.123.0.2? Or do I just need to create a firewall rule?
I'm using a SonicWall Firewall to establish the VPN connection to the GCP network.
I think I've been working at this too long for one day. I'm steaping away for a bit.
Thanks in advance.
If you set up a Site to Site, you should not need to include a route, you will if you setup a Tunnel Interface. But to me, it sounds like you just need to do a site to site. I dont think the tunnel will come up without the correct subnets, but just verify that the tunnel is up and then I would setup a packet monitor to see what route the traffic is taking when you try to ping from 192.168.72.0/24 to IP is 10.123.0.0.

Issues with bypassing internet filter by using squid proxy on Azure VM

Hey I'm trying to bypass my college internet filter by my own proxy server hosted on Microsoft azure VM.Its an Ubuntu VM and the proxy software used is squid.
The tutorial i have followed is
http://www.jittuu.com/2014/5/29/how-to-setup-squid-as-forward-proxy-in-azure/
I use SwitchySharp(a chrome app) to connect to my proxy server
The issue I'm facing is that the internet connection which I would like to bypass doesn't allow me to connect to the proxy server.It works fine with other internet connections.
What might be the problem?
Any input is appreciated thank you.
First of all just try to ping the public public IP of the azure virtual machine that you used to host squid proxy server and see whether it works or not.
> The issue I'm facing is that the internet connection which I would like to bypass doesn't allow me to connect to the proxy server.It works fine with other internet connections. What might be the problem?
Even if you change the system proxy setting to use the azure virtual machine, the traffic hitting the standard ports (80,443) of the Ethernet interface card will be configured to redirect to your college filtering app.
SwitchySharp will help you to switch the upstream proxy but the traffic will be routed only through your college server

Virtualbox incoming connections are the same IP

Okay, so I'm hosting a VPS for someone using Virtualbox. I've setup a server for that guy with a NAT network type ( this way I could port forward the entire thing so it can be used for what the guy wants ). The guy can use remote desktop to connect to the server, however. Everyone who tries to join his game, gets the same IP. I guess this has something to do with the guest settings, if I'm not mistaken.
Could anyone provide me any more information about the reason behind these IP's?
I'm running on the latest version of Virtualbox with a windows 7 enterprise 64bit version where a SA-MP server is being hosted on.
Everyone who connects to his server gets the ip; 10.0.2.2. Any help would be really appreciated
If a machine is located behind NAT, then all of the incoming connection will always be recorded only from a single source, that is you router's IP. It's normal since all of the incoming connection will have to go to the router first.

Azure VMs doesn't ping

I'm facing strange problem in Azure, I'm having 3 VMs (Domain Controller, Application server and Database Server). I've joined the 2 servers correctly to the domain Controller.
after a while i discovered that I'm not able to ping from one o the servers (DB Server) to the other servers. it reply Destination host unreachable and connection time out.
the other 2 servers are working fine between each other but not the third one.
to investigate I tried
1. Shutdown the firewall on the 3 machines. No luck
2. enable the ping rule in the firewall. No luck
3. I'm not able to telnet from this server to the RDP port to any of these servers, while I'm able to do so from the other 2 servers.
4. I tried nslookup command to see if I can communicate with the DNS Server or not. it fails with time out
Keeping in mind that
1. the 3 virtual machines are in the same virtual network and same sub-net.
2. I'v added the DNS server to the DNS Servers in the Azure Portal.
any help ?!
Sounds like perhaps the you have a machine that's no registered with the DNS server. You should be able to check this by doing an nslookup -all to get details on the machine's DNS settings. Make sure its resolving to the proper DNS machine.
It seems that the Public Endpoints are down in state so telnet and ping won’t work. you can try to recover this machine by following the steps in this blog post http://blogs.msdn.com/b/mast/archive/2014/11/20/recovering-azure-vm-by-attaching-os-disk-to-another-azure-vm.aspx
Hope that helps.

Resources