accessing my Server (ESXI) from external network - server

I have a server ESXI (192.168.8.100) and i need to access it remotely from outside my network (https) .
I have got a DDNS account from 'No-ip.com (server.ddns.com)
i have forwarded port ( 443,80,22,21) and make the configuration of the host name in my router But still i can't access my ESXI server(192.168.8.100). Could you please help me if there is any configuration is missing ? I just need to access it from outside my network.

please verify that you added your router ip as Gateway in your esxi and esxi and router in same network subnet

Related

How to access shared drive from internet - openmediavault

I am using OpenMediaVault for NAS management installed on Raspberry Pi. I am able to access my shared drive on my network. I would like to access it from the internet. I have static IP connection and have done the port forwarding. I am able to access the OpenMediaVault configuration page from other network, but cannot access the shared drive.
Please help!
Thanks in advance.
I'm sure there should be multiple ways to do this. But following is how I access my NAS on Raspi from the internet.
Registered a free domain on DuckDNS for Private VPN
Used the domain created in #1 to set up a split tunnel Wireguard VPN server using PiVPN on the RaspberryPi
Set up a split-tunnel VPN profile
Forwarded port 51820 (default port for Wireguard) on the router
Installed Wireguard on my phone and Mac and set the connections
Whenever I'm outside the home network, I just connect to the VPN and I can access my shared folders.

Reverse OpenVPN connection

I am close to getting this to work but need some assistance.
I have OpenVPN Access server running on a Droplet in Digital ocean.
I have a RaspberryPi with a wireless connection on my network.
IP = 192.168.20.205
The user the pi connects to the Access server is set to be a VPN gateway with :
Allow Access From: all server-side private subnets
Allow Access From: all other VPN clients
192.168.20.0/24.
I have another user that connects to the Access server without the gateway settings.
When both users connect I can see them both in the web GUI of the access server with an IP assigned. 172.27.232.XXX
Now from the remote user I can ping the Pis 172.xxx.xxx.xxx IP address and even SSH into it using the 172 address.
However, it seems like the Pi isn't bridging / routing correctly or getting stopped by a firewall, as from the remote user I cant see the local network 192.168.20.xxx.
any pointers for me here?
Thanks!
The solution to your problem is clearly explained here:
https://openvpn.net/vpn-server-resources/site-to-site-routing-explained-in-detail/
You have to set the static routes on both routers and set the ip forward on the raspberry pi

Multi IP Addresses for SSL sites on Azure VM machine

i am trying to add multi ssl sites to my azure vm machine, but i am missing something.
i tried "Add-AzureVirtualIP" ,"New-AzureReservedIP","Set-AzureReservedIPAssociation","Set-AzurePublicIP"
i can see the new ip in powershell , but when i add the bindings in the iis dialog box, its doesn't work
on my own servers i usually added the new IPs that my isp provided withen the network ip4 properties and it was so easy, now i have no internal ips nor external port forword working
any ideas

Mikrotik direct ip to server on subnet

Please, advice on how to set the public IP address/domain name for a web page to be forwarded to a specific server machine on a subnet (say, 192.168.1.77). Can this be done via Mikrotik GUI interface?
An outside IP or assigned domain do not do this automatically, Mikrotik doesn't pick up the server behind a subnet if one does not set the path to it. I've seen a couple of tutorials assigning a server IP address in Mikrotik terminal with "masquerade" command but wonder if this can be done via Mikrotik Webfig GUI.
You need 2 things:
dst-nat to WEBserver
Default route on WEBserver set to Mikroitk
/ip firewall nat add chain=dstnat dst-address=PUBL.IC.I.P dst-port=80 or 443 action=dst-nat to-addresses=192.168.1.77
You must disbale /ip service www and www-ssl for using port 80 or 443
If Mikrotik isn't default route to internet for WEBserver say to me and I will explain how to do
For testing if it's working, you must test by other connectiont outside your LAN ( maybe smartphone without wifi)

Connecting to Local Web Server when I am Outside my LAN

I have a web server running out of my home. I have assigned it an address such as 192.168.1.123 on port 80.
I understand that this is running on my local network. If I go to another computer on my network and type in the server's ip address, I can see the server.
Is there a way to access this server from outside my LAN?
Yes, you need to set your router to forward connections to port 80 to your internal IP address (192.168.1.123). Look for Port Forwarding on your router admin screen which I would imagine you access by going to http://192.168.1.1
Keep in mind that your ISP may block port 80 completely in which case you can run your web server on a different port (for example por 8180) and have your router forward connections to port 8180 to your internal IP.
To access your server from outside, you just need to point your browser to your external IP address which you can find out by going to http://www.ipchicken.com
Assuming you have a connection to the internet:
https://github.com/progrium/localtunnel
is a quick way to access your local server from the internet. There might be similar implementations in other languages/platforms. This is just the one I know about.
Remember that security issues need to be carefully considered when opening your local network to the world.
If you use a PHP Webserver you can set it this way:
php -S <YourIPAdresse>:<SomePortNumber> <StartPHPpage>
Example: „php -S 192.168.1.123:9000 index.php"