-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
Description
Package Name
snowflake-proxy
Maintainer
OpenWrt Version
25.12.0-rc5
OpenWrt Target/Subtarget
mediatek/filogic
Steps to Reproduce
- install
snowflake-proxy - add
-ephemeral-ports-range 32768:60999as a command parameter in thestart_service()function in the init script - add a firewall rule to allow incoming IPv4 & IPv6 UDP traffic on the above port range on the WAN interface:
# /etc/init.d/snowflake-proxy restart# logread|grep snowflake-proxy
Observe after the line "Proxy starting" the line "NAT type: unrestricted"
- reboot the router
The logs should report "NAT type: unrestricted" again.
Actual Behaviour
After a reboot logs say "NAT type: unknown".
I've reported the bug at the Tor Project's snowflake repo and been advised to report it here too. We suspect NAT type detection is failing because the STUN server probe test is conducted before the WAN connection is up.
Adding sleep 10 to the beginning of the start_service() function seems to fix it, but I expect there is a better way of waiting for a network connection.
Thanks for making this package available btw.
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Reactions are currently unavailable