bordervm: expose ssh on port 2222
This commit is contained in:
parent
4ea1cf7f32
commit
6bfbdf352d
@ -102,12 +102,18 @@ in {
|
|||||||
systemd.services.sshd.wantedBy = pkgs.lib.mkForce [ "multi-user.target" ];
|
systemd.services.sshd.wantedBy = pkgs.lib.mkForce [ "multi-user.target" ];
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
forwardPorts = [ {
|
forwardPorts = [
|
||||||
from = "host";
|
{
|
||||||
host.port = 7654;
|
from = "host";
|
||||||
# guest.address = "10.0.2.15";
|
host.port = 7654;
|
||||||
guest.port =7654;
|
# guest.address = "10.0.2.15";
|
||||||
} ];
|
guest.port =7654;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
host.port = 2222;
|
||||||
|
guest.address = "10.0.2.15";
|
||||||
|
guest.port = 22;
|
||||||
|
}];
|
||||||
qemu = {
|
qemu = {
|
||||||
networkingOptions = [ ];
|
networkingOptions = [ ];
|
||||||
options =
|
options =
|
||||||
|
Loading…
Reference in New Issue
Block a user