summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_missing/2876
blob: 0da636a92903d12bfbbc350e77b287fab880158e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
IPv6 support for hostfwd + guestfwd
Description of problem:
When using hostfwd, only IPv4 connections are forwarded.
Steps to reproduce:
1. Start vm with the aforementioned command using a system image that comes with a socket listening on both IPv4 and IPv6. (I used Arch Linux Box which comes with `sshd` enabled by default).
2. Connect to the forwarded socket:
  - IPv4 succeeds:
    - `ssh -oPasswordAuthentication=yes arch@127.0.0.1 -p 52022`
    - `nc -zv 127.0.0.1 52022`
  - IPv6 does not:
    - `ssh -oPasswordAuthentication=yes arch@::1 -p 52022`
    - `nc -zv ::1 52022`
Additional information:
#