- #1
gfd43tg
Gold Member
- 950
- 50
Hello,
I am new to linux and I have a few ports that I need to forward to allow me to play my game
TCP Ports 1119 and 3724 are forwarded.
TCP ports 6881-6999
TCP port 1120
So I used ufw and used the default settings to block everything. Then I allowed the aforementioned ports.
And this is my status
My question is, I don't know if this is the same as port forwarding. I denied access to two of the ports which are needed to play the game and I was still able to, which prompts me to believe that this isn't correct. I used ufw instead of iptables because I don't feel comfortable using iptables since it looks more complicated. If these aren't forwarded, then what did I do with these commands? Just allow those ports to go through my firewall?
Thanks!
I am new to linux and I have a few ports that I need to forward to allow me to play my game
TCP Ports 1119 and 3724 are forwarded.
TCP ports 6881-6999
TCP port 1120
So I used ufw and used the default settings to block everything. Then I allowed the aforementioned ports.
Code:
~$ sudo ufw allow 3724/tcp
Rule updated
Rule updated (v6)
And this is my status
Code:
sudo ufw status
Status: active
To Action From
-- ------ ----
22 ALLOW Anywhere
443 ALLOW Anywhere
1119/tcp ALLOW Anywhere
3724/tcp ALLOW Anywhere
6881:6999/tcp ALLOW Anywhere
1120/tcp ALLOW Anywhere
22 (v6) ALLOW Anywhere (v6)
443 (v6) ALLOW Anywhere (v6)
1119/tcp (v6) ALLOW Anywhere (v6)
3724/tcp (v6) ALLOW Anywhere (v6)
6881:6999/tcp (v6) ALLOW Anywhere (v6)
1120/tcp (v6) ALLOW Anywhere (v6)
My question is, I don't know if this is the same as port forwarding. I denied access to two of the ports which are needed to play the game and I was still able to, which prompts me to believe that this isn't correct. I used ufw instead of iptables because I don't feel comfortable using iptables since it looks more complicated. If these aren't forwarded, then what did I do with these commands? Just allow those ports to go through my firewall?
Thanks!