UWNetworksLab / uProxy-p2p

Internet without borders

Home Page:https://www.uproxy.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Share specific server?

orawalters opened this issue · comments

I just setup an AWS server but when I send invites, my friends are tunneled in through my connection. How do I fix this?

Hi @10by10pixel, sorry you're having trouble, and thanks for trying uProxy!

First off, we don't officially support AWS, but there's no reason you can't get a uProxy cloud server running on it, and I'm happy to try to help as much as I can.

If you set up your uProxy cloud server on AWS, I take it you followed advanced instructions like the ones at https://blog.uproxy.org/2016/02/get-access-24x7-through-your-own-uproxy.html (rather than using uProxy's GUI to create the cloud server on DigitalOcean). Is that right?

If so, are you sending your friends the invite that was output at the end of running the install-cloud.sh script? Quoting the instructions linked above:

  • Once you’ve successfully logged in (to your AWS server via e.g. SSH), copy/paste the following command (after pasting, press enter to run it if it doesn’t start running immediately): curl https://raw.githubusercontent.com/uProxy/uproxy-docker/master/install-cloud.sh | sh
  • Get some coffee: in our testing, this command runs for approximately 15 minutes. Once complete, you’ll see a very long sequence of random letters and numbers as the last thing output to the screen. This is actually part of a very long “invitation URL". You’ll probably have to scroll up to get to the beginning (look for a line beginning with INVITE CODE URL:—the URL will be on the next line and will start with https://www.uproxy.org/invite/). If necessary, resize the window so you can select the entire invite code URL, then copy/paste it into a file and save it somewhere you’ll be able to get to it in the future. You’re done setting up your server, so you can type exit (and then press “enter”) to log out. In the next section, we’ll use this URL to access your new cloud server.

One other thing to make sure of is that you don't have a firewall configured (either via AWS's Security Groups, or even locally on your EC2 instance via e.g. iptables) that's blocking TCP or UDP traffic on certain ports. Amazon's docs on this are at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html

No the AWS server is working fine. The problem is with the invite generated by the extension. It's not allowing me to share access to just that server but rather tunneling my personal internet access.

I'm not sure I'm following so apologies if this doesn't help, but just in case:

Any invites your extension generates are invitations for friends to proxy through your local machine's connection. You need to share the invite generated by running the script on the server with friends for them to proxy through the server.

If you are currently proxying through the server yourself and don't mean to be, click the STOP GETTING ACCESS button in the uProxy extension on your local machine.

Ok thanks. I thought that link was supposed to be kept secure, Is there anyway to get the link back if the console is already cleared?

It's meant to be shared only with people you trust to access your cloud server, sorry if that wasn't clear. There's no way to get that link back, but you can just generate a new one by running the issue_invite.sh script on the server. Just send that new link to your friends and they should be able to proxy through your server. Let us know how it goes!

Closing this for now. Please reopen if you have any further trouble!!