-
Notifications
You must be signed in to change notification settings - Fork 25
Setup port forwarding for Transmission #68
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -172,9 +172,18 @@ spec: | |
| port: 9091 | ||
| protocol: TCP | ||
| targetPort: 9091 | ||
| - name: torrent-tcp | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Kubernetes requires all ports in a Service to be named when multiple ports are defined. The first port (9091) is missing a name in this manifest, which will cause a validation error (e.g., It appears that the name: webui
- name: torrent-tcp |
||
| port: 51413 | ||
| protocol: TCP | ||
| targetPort: 51413 | ||
| - name: torrent-udp | ||
| port: 51413 | ||
| protocol: UDP | ||
| targetPort: 51413 | ||
| selector: | ||
| app: htpc | ||
| run: transmission | ||
| type: LoadBalancer | ||
| --- | ||
| apiVersion: v1 | ||
| kind: Service | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -172,9 +172,18 @@ spec: | |
| port: 9091 | ||
| protocol: TCP | ||
| targetPort: 9091 | ||
| - name: torrent-tcp | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Kubernetes requires all ports in a Service to be named when multiple ports are defined. The first port (9091) is missing a name in this manifest, which will cause a validation error (e.g., It appears that the name: webui
- name: torrent-tcp |
||
| port: 51413 | ||
| protocol: TCP | ||
| targetPort: 51413 | ||
| - name: torrent-udp | ||
| port: 51413 | ||
| protocol: UDP | ||
| targetPort: 51413 | ||
| selector: | ||
| app: htpc | ||
| run: transmission | ||
| type: LoadBalancer | ||
| --- | ||
| apiVersion: v1 | ||
| kind: Service | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When using
type: LoadBalancerfor a BitTorrent service like Transmission, it is highly recommended to setexternalTrafficPolicy: Local. This preserves the client's source IP address, which is essential for peer connectivity, DHT performance, and adhering to tracker requirements.Security Note: Changing the service type to
LoadBalancerexposes the Web UI (port 9091) to the network. Please ensure that RPC authentication is enabled in your Transmission configuration to prevent unauthorized access.