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

Connection through IPv6 #52

Closed
r6m opened this issue Feb 8, 2018 · 5 comments
Closed

Connection through IPv6 #52

r6m opened this issue Feb 8, 2018 · 5 comments

Comments

@r6m
Copy link

r6m commented Feb 8, 2018

Hi, I was wondering how to implement a connection through ipv6.
connection server is IPv4 but the server proxies the connection through IPv6.

the setProxy with @type: "proxySocks5" not connecting.

@levlam
Copy link
Contributor

levlam commented Feb 8, 2018

TDlib supposed to work over IPv6 without any additional settings. Do you want to prefer IPv6 over IPv4 or have some proxy that is mandatory for the Internet access?

@r6m
Copy link
Author

r6m commented Feb 8, 2018

I couldn't connect. how to connect to ipv4 which gives an ipv6?
Isn't it the setProxy method? I do it before Auth and after auth. but gives ok and still proxy not working.
i'm using go to build and using the tdjson

@levlam
Copy link
Contributor

levlam commented Feb 8, 2018

setProxy currently allows only SOCKS5 proxies. Could you give more details on why you need to use a proxy?

@r6m
Copy link
Author

r6m commented Feb 8, 2018

I have a SOCKS5 proxy. using the setProxy method and giving a Proxy json containing server, port, username, password fields returns OK which is good. but my proxy is IPv6.

I've used the socks5 proxy settings in Telegram X for both Android and iPhone. But stucks in connecting.

I think It should take the IPv6 of telegram servers listed in DC options after I set to socks5 and IPv6.

@levlam
Copy link
Contributor

levlam commented Sep 4, 2018

IPv6 Socks5 proxies are expected to work in TDLib 1.3.0 (and hence in Android Telegram X). Please provide additional details, if IPv6 proxy still doesn't work for you.

@levlam levlam closed this as completed Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants