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

ERROR [vpn] redirecting port in firewall: redirecting port: redirecting IPv6 source port #72

Open
kevinbeared opened this issue May 16, 2024 · 2 comments

Comments

@kevinbeared
Copy link

URL to the Wiki page

https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/protonvpn.md

What's missing?

Hi guys,

Spent an awful lot of time searching to resolve this error.

2024-05-1615:24:40+02:00 ERROR [vpn] redirecting port in firewall: redirecting port: redirecting IPv6 source port 41874 to destination port 51413 on interface tunO: command failed: "ipotables-legacy -t nat --append PREROUTING -i tuno -d :: 1 -p tcp -- dport 41874 -j REDIRECT --to-ports 51413": ip6tables v1.8.10 (legacy): can't initialize potables table 'nat': Table does not exist (do you need to insmod?)

Everything is set up correctly, added +pmp to my username, PORT_FORWARDED on, with protonvpn and country=netherlands with PAID_ONLY=on.

Can't find a way around this. My transmission container doesn't have the peer so i'm downloading at 50ko/s... so for 4K torrent you should not be in a hurry !

Tried everything but couldn't make it work.

DS224+ up to date with gluetun container, and transmission with network_mode = contrainer-vpn

@mukcodes
Copy link

mukcodes commented Jul 16, 2024

EDIT: Happy to provide whatever information needed :)
Hey,

I am having the exact same issue on both OpenVPN and Wireguard with Proton VPN.

DS920+ Synology NAS | Latest Update 5 Firmware

I have tested multiple times and it seems to only happen when I have PORT_FORWARDED=ON and specify a port VPN_PORT_FORWARDING_LISTENING_PORT=51765

@qdm12
Copy link
Owner

qdm12 commented Jul 29, 2024

Workaround: just leave VPN_PORT_FORWARDING_LISTENING_PORT blank and use whatever port you get assigned in Transmission.

Otherwise, would this help: https://stackoverflow.com/a/22876662

sudo modprobe ip_tables
sudo echo 'ip_tables' >> /etc/modules

EDIT: doing an exception for you two guys this one time, but please in the future open an issue on the Gluetun repository since this not about the Gluetun wiki documentation....

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

No branches or pull requests

3 participants