Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Firewall, port redirection #38

Open
Revertron opened this issue Nov 24, 2022 · 4 comments
Open

Feature request: Firewall, port redirection #38

Revertron opened this issue Nov 24, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Revertron
Copy link
Collaborator

Security

Normally, mobile devices use some NAT'ed networks or are firewalled by their ISPs.
But if we create true-p2p network where every user gets "white" IP-address we may have a problem in terms of unsolicited actions by any bad actors in network.

I propose we implement some kind of filtering that will let through only outgoing and established connections as it is advised everywhere where we talk about configuring firewalls.
I think that Android OS has some kind of firewall itself, but I'm not sure about decent configuration of it.

Features

Imagine, if you could host some website on your old mobile device? Just install some HTTP-server and use it to to serve some pages and files?
Current state of Android app enables you to do this already, but (without root) not on low ports < 1024. But if your users want to get to your site you will need to make all links include port, like my-awesome-ygg-page.com:8080 or so. This is not aesthetic and not memorable.

Also, if we want to use DNS-server on local mobile device we can't bind to port 53 (again without root), and that is the only port that OS will use to make requests. But we can configure our own Ygg-address as DNS-server in already available UI and "patch" packets on TUN to change the ports.

@Revertron Revertron self-assigned this Nov 24, 2022
@Revertron Revertron added the enhancement New feature or request label Nov 24, 2022
@flikites
Copy link

Would love to see this happen.

@neilalexander
Copy link
Member

I don’t believe this to be Android-specific, but instead a general Yggdrasil consideration. We might want to move this as a result, as it is true on all platforms.

@flikites
Copy link

I don’t believe this to be Android-specific, but instead a general Yggdrasil consideration. We might want to move this as a result, as it is true on all platforms.

I agree.

@basilgello
Copy link
Contributor

Now we have yggstack for this purpose. If we integrate necessary parts into native library and adapt interface similar to Orbot (SOCKS/VPN mode, app selection, port forwarding view), we can solve this issue and maybe several others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants