N
N
Ninazu2019-10-03 18:54:52
linux
Ninazu, 2019-10-03 18:54:52

Are there solutions to redirect traffic to the local machine?

I often develop locally, and often it is necessary to check some webhooks. Transferring to some server and debugging is inconvenient. It would be more convenient to run some kind of software that would create a unique subdomain leading to my local machine while the program is running. It must be exactly the same.
PS I am also interested in the question of how such logic works with certificates, since hooks often require HTTPS

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nujabes37, 2019-10-03
@Ninazu

https://ngrok.com/ is the best solution. HTTPS - also available)

S
Sergey c0re, 2019-10-03
@erge

iptables port forwarding

A
Andrey Barbolin, 2019-10-03
@dronmaxman

You can run a virtual machine on your laptop and add an IP domain entry to hosts. The certificate can be used self-signed for testing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question