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
Kubernetes: Port Forwarding configuration #2062
Comments
(Really never used k3s, but...) You must port forward Maybe this can help you: https://stackoverflow.com/questions/68547804/how-to-expose-two-apps-services-over-unique-ports-with-k3d Add: btw, you must forward both TCP and UDP. |
You have a double-NAT due to kube-proxy and your "modem". |
I switched to using a LoadBalancer service instead; since k3s ships with Klipper (ServiceLB), it allocated the ports and iptables rules. So, I switched to just outright using
...it's also a UDP port. I did not know that. I had always assumed it was just TCP. However, I had already configured it as both TCP and UDP: So... I eliminated most of the NATing; at this point it's slimmed down to: Internet -> router -> node; and there is no node-internal NATing anymore, because it runs with the host namespace now. Are there tools or something I can use to verify the workingness of the port? I have a remote VPS that I can use to send stuff to my public IP and look at the response. Is there something like a "get version" command I could send as a ping message? I am quite stumped now... |
I couldn't sit still so I started pushing buttons - best thing to do when you run out of ideas! Turns out DrayTec can't handle TCP/UDP combos at all. I changed the port to just UDP, later to just TCP - and after the latter, it finally showed me this: Before closing however; is there a list of which ports are associated to which protocol? This'd be super handy to have to make sure all other components are marked appropriately. Thanks! |
The 2 ports you forward are for communication between routers. The others are for your local client services, check the i2pd.conf and tunnels.conf |
FYI, you shouldnt post your "public" port publicly, as it narrows down the possible routers, leading to de-anonymization. better change it ;) |
Hello there!
I am working towards putting i2pd into my k3s cluster - the long-term plan is to mimic Traefik's
TraefikServce
to possibly put together anI2PService
; but, this is way in the future. For now, I just want to get my router working.I enabled port-forwarding on my modem to my k3s node on my desired port, and after using the WebUI to cause a re-test, it now says
Network status: Firewalled - Symmetric NAT
.I couldn't find any documentation about that - so, here is my current deployment (well, DaemonSet):
YAML DaemonSet
Got any idea what I can do here - or if this message is alright?
Thanks and kind regards,
Ingwie
The text was updated successfully, but these errors were encountered: