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

Multicast Forwarding #1265

Open
hachiko008 opened this issue Nov 22, 2024 · 0 comments
Open

Multicast Forwarding #1265

hachiko008 opened this issue Nov 22, 2024 · 0 comments

Comments

@hachiko008
Copy link

hachiko008 commented Nov 22, 2024

  1. I added push "route 224.0.0.0 240.0.0.0" to the OpenVPN server configuration file to allow multicast traffic. I also enabled IP forwarding by running sudo sysctl -w net.ipv4.ip_forward=1 and ensured this setting was persistent by adding net.ipv4.ip_forward=1 to /etc/sysctl.conf. Additionally, I allowed multicast traffic through the firewall with sudo ufw allow from 224.0.0.0/4.

  2. I verified that both the device and the TV were on the same network/subnet. I added a route for the local network (push "route 192.168.0.0 255.255.255.0") to the OpenVPN server configuration to allow traffic between the VPN and the local network. I also updated the firewall rules to ensure the VPN could communicate with the local network.

  3. modified the OpenVPN server configuration by adding client-to-client to allow VPN clients to communicate with each other. Finally, I restarted the OpenVPN service.

by doing so, nothing works just only for enabling to cast a device remotely while connected to VPN.

Thanks and well appreciated.

I'm using:
Ubuntu 20
Latest script
Ovpn client v3.5.0

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