After disabling ipv6 port forwarding does not work anymore
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
ProcVersionSign
Uname: Linux 2.6.35-
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
In the configuration file:
AddressFamily inet
But disabling IPv6 is only going to get less and less sensible over the next couple of years ...