Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#6503 closed enhancement (fixed)

Add a UCI option for dropbear's -a (GatewayPorts) option

Reported by: phiporiphic@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: Cc:


I request the dropbear UCI section include an 'allowRemote' option or suchlike. For now I add '-a' to DROPBEAR_ARGS= in /etc/init.d/dropbear, but that is a pretty rough way of doing things.

I'd like to send incoming connections to my openwrt box over ssh to a port on my tunneled remote machine. I pass ssh -R *:50500:localhost:50500, but no dice.

# netstat -tl
tcp 0 0 localhost.:50499* LISTEN

man ssh(1):
By default, the listening socket on the server will be bound to the loopback interface only. This may be overridden by specifying a bind_address. An empty bind_address, or the address ‘*’, indicates that the remote socket should listen on all interfaces. Specifying a remote bind_address will only succeed if the server’s GatewayPorts option is enabled.

The problem (as explained here):
You'll have to start the Dropbear server with the -a argument (equivalent to the "gatewayports yes" directive).

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

added in r19127

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.