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

no tun0 if ipv6 is deactivate on system #78

Open
zamentur opened this issue Mar 1, 2021 · 0 comments
Open

no tun0 if ipv6 is deactivate on system #78

zamentur opened this issue Mar 1, 2021 · 0 comments

Comments

@zamentur
Copy link
Contributor

zamentur commented Mar 1, 2021

I had to do

sysctl -w net.ipv6.conf.default.disable_ipv6=0
sysctl -w net.ipv6.conf.all.disable_ipv6=0
systemctl restart ynh-vpnclient.service

To get the tun0 interface

Without ipv6 i had those errors in openvpn log:

# tail -f /var/log/openvpn-client.log 
Mon Mar  1 22:24:37 2021 Restart pause, 5 second(s)
Mon Mar  1 22:24:42 2021 WARNING: --ns-cert-type is DEPRECATED.  Use --remote-cert-tls instead.
Mon Mar  1 22:24:42 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]89.xxx.yyy.zzz:443
Mon Mar  1 22:24:42 2021 Socket Buffers: R=[180224->180224] S=[180224->180224]
Mon Mar  1 22:24:42 2021 UDP link local: (not bound)
Mon Mar  1 22:24:42 2021 UDP link remote: [AF_INET]89.xxx.yyy.zzz:443
Mon Mar  1 22:24:42 2021 write UDP: Operation not permitted (code=1)
Mon Mar  1 22:24:44 2021 write UDP: Operation not permitted (code=1)
Mon Mar  1 22:24:48 2021 write UDP: Operation not permitted (code=1)
Mon Mar  1 22:24:56 2021 write UDP: Operation not permitted (code=1)
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

1 participant