eventure / hide.client.linux

Hide.me CLI VPN client for Linux
https://hide.me
GNU General Public License v2.0
90 stars 35 forks source link

ipv6 failure #23

Open mh-cbon opened 1 year ago

mh-cbon commented 1 year ago

hi,

the setup of the net interface using ipv6 address failed because the system refuses to run ipv6.

$ sudo cat /etc/sysctl.conf 
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

It outputs,

mars 16 19:24:34 Host-001 hide.me[97921]: Link: [ERR] Addition of fd00:****** to interface vpn failed, permission denied
...
mars 16 19:24:39 *** hide.me[97921]: Main: [ERR] Connection failed due to bad HTTP status
mars 16 19:24:39 *** hide.me[97921]: Main: [ERR] Connection setup/teardown failed, traffic blocked, waiting for a termination signal

Passing -4 option solves the issue.

It would have been smooth upon startup if the program had a default behavior to try acquire resources over ipv6, then, if it failed, try using ipv4, then, if it failed, terminates operation. Unless, one of -6/-4 option is provided to the cli arguments.

thanks