[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I do not have internet on my GNU/Hurd vm
From: |
Svante Signell |
Subject: |
Re: I do not have internet on my GNU/Hurd vm |
Date: |
Sat, 26 Jan 2019 20:42:18 +0100 |
User-agent: |
Evolution 3.30.4-1 |
On Sat, 2019-01-26 at 10:46 -0500, Joshua Branson wrote:
> Hello,
>
> At the moment I do not have internet access on my GNU/Hurd vm. I'm not
> certain how to go about fixing it. I'll attach the script that I use to
> start my vm. I would be open to any help.
#-net user,hostfwd=tcp:127.0.0.1:2222-:22;
Why do you forward tcp to port 2222 on the local host?
hostfwd=[tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport
Redirect incoming TCP or UDP connections to the host port
hostport to the guest IP address guestaddr on guest port
guestport. If guestaddr is not specified, its value is x.x.x.15
(default first address given by the built-in DHCP server). By
specifying hostaddr, the rule can be bound to a specific host
interface. If no connection type is set, TCP is used. This
option can be given multiple times.
I use, e.g:
-net user,hostfwd=tcp::5556-:22
#-redir tcp:2222::22;
man qemu-system does not show this option!
Note: Legacy stand-alone options -tftp, -bootp, -smb and -redir are
still processed and applied to -net user. Mixing them with the new
configuration syntax gives undefined results. Their use for new
applications is discouraged as they will be removed from future
versions.
# -machine kernel_irqchip=off
Not needed on a fairly recent qemu-system