how to connect to my local proxy via public wifi - burp

is there a way to connect to my PC proxy with burp suite, when i'm not connected to my local network ?
I wanted to use my proxy from other places.
is there a way to do this ?

Use openvpn. Create channel between proxy pc and your device, use vpn server address as proxy host.

Related

Is it possible to "fool" getpeername using a VPN server on localhost?

I have some code that uses getpeername to check if the server it's connecting to is hosted locally (127.0.0.1)
What I'm wondering is if it's possible to fool this by hosting a VPN server on the machine and connecting to the remote server through this?
If not, is there any other way a user might be able to fool this while still connecting to the remote server?
Environment is Windows 10.
Edit to clarify: I have an application running locally and connecting to a remote server, I want to know if it's possible to fool that application into thinking it's connecting to a server that's on the local machine while still actually connecting to the remote server.

How can I connect to a remote server?

I'm trying to deploy a flask app to a ubuntu server. When I'm in local network of place A, if I want to connect to ubuntu server of this place, I just simply type ssh username#192.168.1.IP
But when I'm in another network of place B. How can I connect to ubuntu server of place A? I can't connect to it by ssh username#192.168.1.IP command anymore.
You need to use the public ip of the other network and you need to configure port forwarding on the router

How to use an AWS instance to connect to a server on my local computer?

I have an HTTP server running on my local computer, and I would like to be able to connect to it remotely. I would like to connect to a port on the aws instance and have it forwarded to my local computer. This is because my local computer can't be connected to directly. I would like to create a connection from my computer to the instance, and forward an incoming connection to my computer over that connection.
Edit: I am able to curl the website from the AWS instance, so the port forwarding works, but I can't connect to that port from outside.

How do I get my server Ip address for my websocket

I've created a server using c++ and crow that uses webSockets to communicate with the client (which is an ionic app). I've been do everything through localhost but now I want to deploy the webapp to my iphone and have it communicate with the server. How do I get the URL for the server for the client to use in it's websocket so it can talk to the server?
In most cases when you want to host it for production you would upload it to a hosting provider (e.g. Azure, AWS, Heroku...).
Once you set up a server with the hosting provider they will provide you with the IP address and/or a URL to connect to the hosted service which you can use in your application.
Well, if your server is like webhost,VPS,CLOUD,or dedicated server, it has static ip address which you can use in your client websocket as the address. Also, the better approach is to point a domain name to the ip address of the server (or host) so that your client can always find the server.
In case you are trying to connect it to your local machine behind a router or modem, then your server might be behind NAT. Find appropriate port-forwarding configuration for your router and forward incoming and outgoing TCP public ports to your local address. then use your public ip address for websocket address (what is my ip).
Also, in case your public ip address is dynamic and might change over time, there are services like noip.com that help you create a free domain and use it in your client which helps you find the right ip address all the time.

VMware Workstation Player bridged connection doesn't work

I tried to use bridged connection VMware and Virtualbox but doesn't work.I need a router ? or I need another wireless adapter?
Brigde mode means that VM's network cart simulates connection to your real physical network. You may setup static IP, mask and gateway of your network or obtain them by dhcp (yes, you need router to configure your local network).