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

HTTP Web Terminal for WARP VM #21

Closed
3 tasks done
mrzzy opened this issue Jun 24, 2022 · 0 comments · Fixed by #22
Closed
3 tasks done

HTTP Web Terminal for WARP VM #21

mrzzy opened this issue Jun 24, 2022 · 0 comments · Fixed by #22
Assignees

Comments

@mrzzy
Copy link
Owner

mrzzy commented Jun 24, 2022

Motivation

One of the original aims of WARP VM is provide access to a development environment from a sandboxed & firewall-ed organization laptop for accessing the internet. Despite implementing HTTPS access in #20, access to WARP VM from the organization laptop is still blocked by a TCP reset.

While the exact reason of the TCP reset cannot be determined with having access to the organisation's firewall, we could experiment in accessing via plaintext HTTP, based on the hypothesis that traffic would have a lower likelihood to be blocked if it can be inspected by the firewall.

Proposal

Add HTTP Web Terminal for WARP VM:

  • create systemd service ttyd-http to serve a plaintext HTTP terminal.
    • run TTYD to listen for requests on port 7682 on boot.
    • add iptables rules to redirect HTTP (port 80) traffic to TTYD (port 7682).
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

Successfully merging a pull request may close this issue.

1 participant