Firewall open port not working

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

chavo

Occasional Visitor
I run transmission with port 40000
And add rule to open 40000 port
But port closed

if i disable firewall all works fine
Screenshot from 2021-05-06 14-01-10.png
Screenshot from 2021-05-06 14-01-22.png
 

ColinTaylor

Part of the Furniture
That is the IPv6 firewall to your LAN devices. Is that really what you want? Is Transmission really running on a server on your LAN and using IPv6 only?
 

ColinTaylor

Part of the Furniture
Provide more information about your Transmission installation/setup. We can't just keep guessing.
 

chavo

Occasional Visitor
WITHOUT FIREWALL

on router
Code:
[email protected]:/tmp/home/root# ncat -l -p 20000
test
^C

connect to router

Code:
[email protected] ~ # telnet XX.XX.XX.XX 20000
Trying XX.XX.XX.XX...
Connected to XX.XX.XX.XX.
Escape character is '^]'.
test
Connection closed by foreign host.

WITH FIREWALL

on router
Code:
[email protected]:/tmp/home/root# ncat -l -p 20000

connect to router
Code:
[email protected] ~ # telnet XX.XX.XX.XX 20000
Trying XX.XX.XX.XX...

telnet: Unable to connect to remote host: Connection timed out

log

Code:
May  6 15:37:54 kernel: DROP IN=eth0 OUT= MAC= SRC= DST= LEN=60 TOS=0x00 PREC=0x00 TTL=51 ID=62482 DF PROTO=TCP SPT=55396 DPT=20000 SEQ=1915437760 ACK=0 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (020405B40402080A2570116A000000000103030A) MARK=0x8000000

Screenshot from 2021-05-06 15-34-00.png
 

ColinTaylor

Part of the Furniture
So is the Transmission server running on your router and not on your LAN like I asked you before?

How did you install Transmission? What instructions did you follow?
 

chavo

Occasional Visitor
insert manually rule
port is open

Code:
iptables -I INPUT 9 -p tcp --dport 40000 -j ACCEPT

Code:
[email protected]:/tmp/home/root# iptables -L -v -n --line-numbers
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
num   pkts bytes target     prot opt in     out     source               destination         
1     6670  859K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED
2        0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            state INVALID
3      822  123K PTCSRVWAN  all  --  !br0   *       0.0.0.0/0            0.0.0.0/0           
4      109  7331 PTCSRVLAN  all  --  br0    *       0.0.0.0/0            0.0.0.0/0           
5      109  7331 ACCEPT     all  --  br0    *       0.0.0.0/0            0.0.0.0/0            state NEW
6      119 32080 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0            state NEW
7      703 91098 OVPN       all  --  *      *       0.0.0.0/0            0.0.0.0/0            state NEW
8       93 30783 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:67 dpt:68
9       52  2768 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:40000
10       0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0           
11     558 57547 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top