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

[PORT] OpenVPN #21

Open
1 of 2 tasks
Informatic opened this issue Dec 26, 2021 · 3 comments
Open
1 of 2 tasks

[PORT] OpenVPN #21

Informatic opened this issue Dec 26, 2021 · 3 comments
Labels
port App porting request

Comments

@Informatic
Copy link
Member

Informatic commented Dec 26, 2021

Please read conditions below carefully, and don't delete this part. Invalid issues will be closed.

  • No apps related to piracy or intellectual property infringement is allowed.
  • We can't guarantee if the app will be ported by anyone.
  • We encourage you to port the app by yourself. This would be a great contribution to webOS homebrew community.
  • I understand conditions above
  • (Optional) I'd like to port this app by myself

Issue content starts below this line


OpenVPN builds perfectly fine for webOS and works well. (tun/tap driver is available on pretty much all devices)
This obviously needs a frontend and some maintenance background service.

OpenVPN build configuration:

. /opt/webos-sdk-x86_64/1.0.g/environment-setup-armv7a-neon-webos-linux-gnueabi 
wget https://swupdate.openvpn.org/community/releases/openvpn-2.5.4.tar.gz && tar xvf openvpn-2.5.4.tar.gz && cd openvpn-2.5.4
./configure --host arm-webos-linux-gnueabi --disable-lzo --disable-plugin-auth-pam
make

Boringtun - userspace wireguard implementation that supports tun/tap could also work well in here, if anyone wanted to make it an actual universal frontend.

connmand has some support for VPNs, but I have no idea if it would be possible to leverage their VPN handling code to connect our openvpn outside TVs rootfs.

If anyone is willing to take it up, I would be glad to help out.

@Informatic Informatic added the port App porting request label Dec 26, 2021
@Anatharias
Copy link

I would like to follow up on this, where can I find more documentation ? If I'm reading your explanation correctly, OpenVPN could be started manually on the TV by ssh-ing into it and editing the proper configuration files?

@mariotaku
Copy link
Member

I think so, although there is no UI for configuration, you can SSH into it and run.

@nickgirga
Copy link

How would one SSH into webos sdkVersion 5.5.0? Everytime I try (using port 9922) it says:
Unable to negotiate with 192.168.50.122 port 9922: no matching host key type found. Their offer: ssh-rsa. I even tried specifying the RSA private key that lives at ~/.ssh/Nick\'s_TV_webos for me, using ssh [email protected] -p 9922 -i ~/.ssh/Nick\'s_TV_webos, but it still says it can't find a matching key. Port 22 just fails to connect entirely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
port App porting request
Projects
None yet
Development

No branches or pull requests

4 participants