[FS#1334] port forwarding not working

LEDE Bugs lede-bugs at lists.infradead.org
Thu Feb 8 04:04:18 PST 2018


The following task has a new comment added:

FS#1334 - port forwarding not working
User who did this - Robert Muth (robertmuth)

----------
Re: Arjen de Korte 

good catch!
I am really trying to forward ssh from 2222->22 but switch to a web server for debugging. I must have messed things up when editing the forwarding rule.
(It is confusing to have 3 ports involved of which only 2 are exposed in the guys
and all have similar names.)
I added another rule to firewall so that we have:
But it still does not work.


config redirect
	option target 'DNAT'
	option src 'wan'
	option dest 'lan'
	option dest_ip '192.168.1.111'
	option name 'ssh3'
	option reflection '0'
	option proto 'tcp'
	option dest_port '8877'
	option src_port '8877'

config redirect
	option target 'DNAT'
	option src 'wan'
	option dest 'lan'
	option proto 'tcp udp'
	option name 'Ssh '
	option dest_ip '192.168.1.111'
	option src_dport '8877'
	option dest_port '8877'



----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1334#comment4278



More information about the lede-bugs mailing list