Comments

You must log in or register to comment.

2

[deleted] wrote (edited )

3

NEOalquimista wrote (edited )

I think I'm gonna have to reformulate this question because I was able to connect to 10.1.1.1 through bypassing the router and plugging the Ethernet cable instead of WIFI.

Honestly, I don't know WTF is going on here in my house. I did the same steps back in my workplace (they have the same modem and the same ISP) and it worked. Transmission port was open. But here. No matter what I do with the firewalls, the router, the modem, nothing opens the 51413 port.

EDIT: since 2012, when I first started using GNU/Linux, I never succeeded in opening ports. Not even with the GUI firewall utilities. Maybe it's some obscure option in my router. I have the same old TP-LINK router since 2009 (2014 firmware).

2

[deleted] wrote (edited )

3

NEOalquimista wrote (edited )

FEDORA FIREWALL

The default and active zone is "FedoraWorkstation"

$ sudo firewall-cmd --permanent --zone=FedoraWorkstation --add-port=51413/tcp

$ sudo firewall-cmd --permanent --zone=FedoraWorkstation --add-port=51413/udp

$ sudo firewall-cmd --list-ports

1025-65535/udp 1025-65535/tcp 51413/tcp 51413/udp

After setting these ports, I ran "sudo firewall-cmd --reload" and rebooted the PC. The entries were still there afterwards, so I proceeded to the Cable Modem.

CABLE MODEM SETTINGS:

Enabled Firewall (was disabled, which means port forwarding would have no effect) and configured Port Forwarding to my static local IP (setup through DHCP address reservation in router), port 51413. Then I rebooted the modem.

ROUTER SETTINGS:

After making my local IP static through DHCP settings, I went to "Virtual Servers", which is equivalent to port forwarding, and I created a new entry, adding the static IP, the Transmission port and both protocols (UDP and TCP). I then rebooted the router.

TRANSMISSION

Went to Transmission settings, "Network" tab, clicked to test if port was open, but it said it was still closed.

NOTE: I also connected directly to the Cable Modem (bypassing the router) while the modem had the proper port forwarding set. No effect either. The same cable modem from the same ISP configured on a Windows machine at my workplace managed to open the port. That's why I think Fedora's firewall might not be properly configured.

1

[deleted] wrote (edited )

3

NEOalquimista wrote

Yes, I run Fedora 26. Is it working with other distros? I just installed Ubuntu so I can test that, but it will have to wait a few hours. I have to go to my shitty capitalist work (which I expect to quit not long from now, haha). I'll try what you said.

2

NEOalquimista wrote (edited )

I have an idea. Instead of pointing the MODEM to the COMPUTER IP, I should point the MODEM to the ROUTER, and the ROUTER to the COMPUTER.

Sounds good, no? I'm trying now. Will update.

UPDATE: Test failed. Port still closed after restarting every device. I am officially out of ideas.

UPDATE 2: Your suggestion didn't work either. My last option is to make the router a bridge.

1

[deleted] wrote (edited )

3

NEOalquimista wrote

SUCCESS!

The port is open without passing through the router. You need to forward the port from the MODEM to the next node in your network, be it your computer or your router. Problem is I was using the wrong IP.

Example:

The MODEM uses the 10.x.x.x IP layout. The router uses 192.168.x.x layout. I need to point the MODEM to the ROUTER using the former's layout, which is 10.x.x.x.

Now when I plug in the router, I will have to point the router to the COMPUTER using the ROUTER layout, which is 192.168.x.x

2

MarkVale wrote

3

NEOalquimista wrote

Thanks. I found my router, read through the instructions, but there was nothing else to do. It is configured properly. But I would really appreciate some assistance with configuring Fedora's firewall, if you or someone else knows it well. I've been reading docs online, I've sucessfully opened the required ports and reloaded the firewall safely (like the official documentation says), but they had zero effect.