Forwarding a port to the router

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
davidgeoffreyh
Posts: 5
Joined: Fri Feb 14, 2014 12:03 am

Forwarding a port to the router

Post 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
Attachments
Screen Shot 2015-01-21 at 6.31.04 pm.png
Screen Shot 2015-01-21 at 6.31.04 pm.png (139.25 KiB) Viewed 5402 times

figwit
Posts: 3
Joined: Mon Dec 15, 2014 9:19 am

Re: Forwarding a port to the router

Post 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

dade75
Posts: 1
Joined: Sat Feb 28, 2015 7:02 pm

Re: Forwarding a port to the router

Post 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

figwit
Posts: 3
Joined: Mon Dec 15, 2014 9:19 am

Re: Forwarding a port to the router

Post 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

User avatar
agent24
Posts: 19
Joined: Sat Nov 07, 2015 11:03 pm

Re: Forwarding a port to the router

Post 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.

Post Reply