Page 1 of 1

Forwarding a port to the router

Posted: Wed Jan 21, 2015 3:34 am
by davidgeoffreyh
Hello,

I have Transmission running on my router on 1.7.0. I have also installed the webgui which is accessible on port 1988. For some reason I can't open this port using Gargoyle, even though the Firewall page seems to be set up correctly.

From memory this was the same setup when I was on a previous version of Gargoyle, and the change only occurred when I upgraded to 1.7.0.

Here is a screenshot of my port forwarding config. Gargoyle is set up on 192.168.3.1, and when I am connected to the internal network I can access http://192.168.3.1:1988 without problems.

Any ideas?

Thanks

Re: Forwarding a port to the router

Posted: Thu Feb 12, 2015 4:57 am
by figwit
try this :

Code: Select all

uci add firewall rule
uci set firewall.@rule[-1].name=transmission
uci set firewall.@rule[-1].src=wan
uci set firewall.@rule[-1].target=ACCEPT
uci set firewall.@rule[-1].proto=tcpudp
uci set firewall.@rule[-1].dest_port=51413 
uci commit
reboot

Re: Forwarding a port to the router

Posted: Sat Feb 28, 2015 7:05 pm
by dade75
I have the same problem. I've tried your advice but don't work.
Is there another solution?
I just need to forward the 443 port from the wan to an IP on the lan.
Thank you in advance.
Davide

Re: Forwarding a port to the router

Posted: Sun Mar 01, 2015 3:40 am
by figwit
Hi guys, I have transmission running on both my desktop and my router,

let me show you how I configured transmission on the router.

/etc/config/transmission
option peer_port '51413' add this rule to the firewall*
option rpc_port '9091' this is the port you connect to the webui, doesn't need forwarding.
option rpc_whitelist '127.0.0.1,192.168.1.*' allowed ip addresses, in my case only localhost and lan
if you want to access outside lan add that ip

*/etc/config/firewall
config rule
option name 'transmission'
option src 'wan'
option target 'ACCEPT'
option proto 'tcpudp'
option dest_port '51413'

restart firewall and reload transmission config
/etc/init.d/firewall restart
/etc/init.d/transmission reload

Re: Forwarding a port to the router

Posted: Thu Apr 19, 2018 1:50 am
by agent24
Is this still valid? I upgraded to v1.10.0 and can't seem to get this to work. The rule adds fine and shows up, but transmission says the port is closed.