After disabling ipv6 port forwarding does not work anymore

Bug #730620 reported by inode77
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Invalid
Low
Unassigned

Bug Description

After having disabled ipv6 (sysctl) local port forwarding does not work anymore.

debug1: Local connections to LOCALHOST:8080 forwarded to remote address 127.0.0.1:80
debug1: Local forwarding listening on 127.0.0.1 port 8080.
debug1: channel 0: new [port listener]
debug1: Local forwarding listening on ::1 port 8080.
bind: Cannot assign requested address

This is not a behaviour I expected and it went away when I reenabled ipv6.
Please advise how to disable ipv6 but keep openssh functionality.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: openssh-client 1:5.5p1-4ubuntu5
ProcVersionSignature: Ubuntu 2.6.35-27.48-generic-pae 2.6.35.11
Uname: Linux 2.6.35-27-generic-pae i686
Architecture: i386
Date: Mon Mar 7 14:30:02 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: openssh

Revision history for this message
inode77 (simon-gerber) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

In the configuration file:

  AddressFamily inet

But disabling IPv6 is only going to get less and less sensible over the next couple of years ...

Revision history for this message
Scott Moser (smoser) wrote :

I'm marking this as 'Invalid' please re-open if Colin's fix did not work for you.

Changed in openssh (Ubuntu):
importance: Undecided → Low
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.