Regarding port forwarding #1828
Unanswered
averagePedestrian
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A high-level overview of what I wanted to accomplish: I am currently behind a CGNAT. The VPS(Outside my home network), where I have installed PiVPN, has a static IPv4 address. I am trying to forward the port that qbittorrent is using on my pc. I am doing this to become connectable to others which in turn would increase my upload speeds.
Some info:
Iptables rules on the server:
https://rentry.co/pniz3pkn
I tried the following with no luck:
Then I finally managed to get it working. When I installed PiVPN, it created the following rules in the Forward chain
The first rule was preventing me from getting port forwarding to work, despite numerous attempts. However, after modifying this rule to:
1. ACCEPT all -- anywhere 10.221.178.0/24
port forwarding started functioning correctly. As I am just a beginner, could anyone explain what is happening here? Would this modification cause any issue? Everything seems to be working, but since PiVPN initially set it up that way, there must be a reason for it. Therefore, I’m hesitant about making changes.
Beta Was this translation helpful? Give feedback.
All reactions