goodbye rdp-proxy
This commit is contained in:
parent
bf5d2178bf
commit
518ba116c3
|
@ -145,22 +145,4 @@ in {
|
||||||
# Keymapp Flashing rules for the Voyager
|
# Keymapp Flashing rules for the Voyager
|
||||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="3297", MODE:="0666", SYMLINK+="ignition_dfu"
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="3297", MODE:="0666", SYMLINK+="ignition_dfu"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
networking.extraHosts =
|
|
||||||
''
|
|
||||||
127.0.0.1 rds-gw.studat.chalmers.se
|
|
||||||
'';
|
|
||||||
systemd.services.rdp-proxy = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
after = [ "network.target" ];
|
|
||||||
requires = [ "network.target" ];
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
serviceConfig = {
|
|
||||||
ExecStart = "${pkgs.sshpass}/bin/sshpass -f /home/xenia/wireguard-keys/cid.pw ${pkgs.openssh}/bin/ssh -o StrictHostKeychecking=no -vNL 443:rds-gw.studat.chalmers.se:443 loovj@remote11.chalmers.se";
|
|
||||||
Type = "simple";
|
|
||||||
User = "root"; # to bind on :443
|
|
||||||
Restart = "on-failure";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user