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

plz i need help WebSocket does not appear to be live #67

Open
live-industrial opened this issue Jun 3, 2023 · 9 comments
Open

plz i need help WebSocket does not appear to be live #67

live-industrial opened this issue Jun 3, 2023 · 9 comments

Comments

@live-industrial
Copy link

live-industrial commented Jun 3, 2023

i have try to install it in my aws ubuntu but after i install the extention no connection
1
3
4
5
6
7
8

@live-industrial live-industrial changed the title plz i need help plz i need help WebSocket does not appear to be live Jun 3, 2023
@live-industrial
Copy link
Author

can any one help me with this problem WebSocket does not appear to be live! Restarting the WebSocket connection...

@live-industrial
Copy link
Author

9

@jemieukgoi
Copy link

i have same problem did you find the solution ?

@live-industrial
Copy link
Author

@mandatoryprogrammer can you plz anser me this will help me a lot in my work

@Matir
Copy link
Contributor

Matir commented Jun 6, 2023

If you're going to use DNAT you probably need to set net.ipv4.conf.all.route_localnet so that the kernel doesn't drop the packet on the incoming interface. Note that this has security implications -- anything on your LAN can now potentially inject packets that pretend to be local packets.

@jemieukgoi
Copy link

@mandatoryprogrammer can you plz anser me this will help me a lot in my work don't waste your time for this project will not work

@mandatoryprogrammer
Copy link
Owner

@jemieukgoi let me be clear, you are not entitled to free IT support just because this is an open source project. Replying this way after @Matir went out of his way to help you is embarrassing. It also does not make me want to help you. The maintainers of this project have full time jobs and limited free time outside of them. They don't have to spend them helping out on Github issues. You are always free to write your own version of CursedChrome if you have having problems setting this up.

As far as I can tell, I don't see any nginx setup in what either of you posted. You need to have HTTPS for this to work, and nginx + LetsEncrypt is the easiest way to do this. You can't use the server directly to host the websockets. This is mentioned in the comments of the screenshot posted originally in this thread. There are also free videos that walk you through how to set it up: https://www.youtube.com/watch?v=cdSXdwa5trc

@live-industrial
Copy link
Author

@mandatoryprogrammer thanks

@bhatritesh
Copy link

bhatritesh commented Sep 16, 2024

@mandatoryprogrammer can you plz anser me this will help me a lot in my work don't waste your time for this project will not work

@jemieukgoi No need to act like a clown. People are helping you in an open source project and you decide to act like this. Nonce!

@live-industrial it's a networking issue. Here's how I fixed it:

  • Ensure that packet forwarding is enabled on your attacker machine. You can do this by editing the sysctl configuration:
    echo 1 > /proc/sys/net/ipv4/ip_forward
  • To make this change permanent, you can add the following line to /etc/sysctl.conf
    net.ipv4.ip_forward = 1
  • sysctl -p to apply the changes
  • Set up iptables rules
# Flush NAT table to avoid conflicts
iptables -t nat -F

# Forward incoming requests on port 4343 to the Docker container
iptables -t nat -A PREROUTING -p tcp --dport 4343 -j DNAT --to-destination 172.17.0.X:4343

# Allow forwarding of packets to the Docker container
iptables -A FORWARD -p tcp -d 172.17.0.X --dport 4343 -j ACCEPT
  • Replace 172.17.0.X with the actual IP address of the Docker container, which you can find by running below:
    docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' <container_name_or_id>

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

5 participants