-
Notifications
You must be signed in to change notification settings - Fork 58
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
Port Forwarding - curl timeout for PF Token #112
Comments
If the Wireguard connection itself is up and working as expected, then I'm not sure why port forwarding would be unable to start. It looks like their Perth based server works fine on a Debian host:
It might be worth double checking that the vpn itself is otherwise working. Running something like I wonder if those iptables errors might be relevant:
The first is from Running the container with the |
Looks like vpn isn't working at all when I disable Port Forwarding and it "connects":
It's the Warning: Extension mark revision 0 not supported, missing kernel module? -- line that also has me wondering. I think the NAS doesn't fully support wg - I know it doesn't have wg-quick installed, the wg update was through a kernel update through the NAS web UI. Asustor uses custom BusyBox with their own ADM O/S so you're limited to what you can do console side. OpenVPN works, so will use that for now until I can get wireguard up and running. |
UPDATE: So it seems that if I use the WireGuard feature in ASUSTOR web-UI, I can connect to PIA if I use the .conf file generated by the PIA Manual Connections script (just ran it on my Raspberry Pi). So wg is definitely working, might just be since wg-quick isn't installed the container runs into errors when it tries to call wg-quick routines. Have to work out a way to either install it or find out how the Asustor connects to WireGuard. |
https://www.man7.org/linux/man-pages/man8/wg-quick.8.html This suggests that the issue might be related to an iptables module that might not be available. I guess their software sets things up differently to the way |
So ASUSTOR does support Entware and opkg applications. I've been able to install wg, wg-quick, iptables and many others to the NAS and can access it from console. Packages are stored in /opt/bin and /opt/sbin. However when I set these as PATH variables in the container, even tired IPTABLES and IPTABLES-RESTORE to /opt/sbin, I'm still getting the same error. Anyway I can get your container to use the opkg versions instead for iptables restore, etc? This might help. I'm pretty new to linux and docker, been a bit of a learning curve, but at least the NAS can run Entware stuff so I can use bash now instead of clunky sh! |
The container doesn't have access to the host's filesystem. It is possible to mount and run the host's binaries inside the container, but it can be a bit fiddly and might not work the same as if they were ran on the host. It might be worth testing to see if running I don't know if it's relevant, but on OpenWrt theres a |
Asustor Nimbustor (5404T). Has a kernel update for wireguard, but it's not really natively supported (no wg-quick I don't think?)
Running Portainer CE using a stack. Can connect to wg fine with Port Forwarding turned off (at least I think this is working?)
But when I turn Port Forwarding to 1, this happens:
Docker-compose (tried running the testing version to see if that helps but no dice)
I also tried other locations like aus_melbourne and overseas but AFAIK wireguard works on almost all locations with PF turned on anyway.
The text was updated successfully, but these errors were encountered: