How to create server available from internet If Port forwarding not working


Making server accesseible from Public Internet without Port forwarding.

.

Greetings community!

I have a simple tutorial on how to make your server available from the public Internet. No port forwarding.

NGROK

NOTE: Before Step 1, please check if your server works on localhost.


Windows:

Step1: Download ngrok execute file.

Step2: Extract ngrok.exe to For example. (C:/Users/%user%/Desktop) -> + ngrok.exe

Step3: Open CMD.exe and go to folder where the ngrok file is. (Eg. cd C:/Users/Main )

Step4: type command>

ngrok http 80

// 80 = Apache port


RPI:

Step1: Open Terminal

Step2:

wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip

Step3:

unzip ngrok-stable-linux-arm.zip

Step4:

./ngrok http 80

 

VNC / SSH (RPI)

Step1: Make account on Remot3.it

Step2: Open Terminal

Step3:

sudo apt-get install weavedconnectd

Step4:

sudo weavedinstaller

Step5: Sign In to your account

Step6: Enter name for your device. E.g. RPI

Step7: Now install service (Write 1)

Step8: Now select SSH or VNC

Step9: Go to Remot3.it and Login to your account

Step10: Select your device, select service and click "Confirm"

 

PortMap(.io)

Step1: Make account on PortMap.io

Step2: Create new configuration (**link**)

Step3: Write random 'name', Select OpenVPN and Protocol>tcp

Step4: Click on 'Generate' and 'Create'

---------------------------------------------------------------------------------

Step5: Create new mapping rules (**link**)

Step6: Select Protocol 'http'

Step7: In 'Port on your PC' write your localhost port

Step8: Click on 'Create'

 

Connect>

Windows

Step1: Install OpenVPN

Step2: Download your Configuration file for OpenVPN (**link**)

Step3: Import your configuration file to OpenVPN

[Right click on OpenVPN Icon and click 'Import file..']

Step4: Click 'Connect'

 

Linux

Step1: Install OpenVPN> sudo apt-get install openvpn

Step2: 

sudo openvpn YOUR-Config-Path+file.ovpn

 

Settings Up Global VPN for Localhost network in Router

I use DD-WRT Firmware (Download here)

Login to router

Select: Services>VPN

Preview DD-WRT Settings

 

12756 Views