- Install win32-openssh
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
- Install scoop from https://scoop.sh
- Enable extras bucket in scoop
scoop bucket add extras
- Install keepass and keeagent
scoop install keepass keepass-plugin-keeagent
- Add a ssh privatekey to an entry in keepass
- Enable the file in the entry to be visible for keeagent
- Make sure it is visible in the tools->keeagent menu and
ssh-add -l
- Check for system ssh.exe available under path with
where ssh
orcmd /c where ssh
(if executed from powershell), you should seeC:\Windows\System32\OpenSSH\ssh.exe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ip firewall address-list add list=mobile address=my_mobile_mobile_phone.duckdns.org comment=sane_comment_here | |
# address is a fqdn you'll get from your ddns provider, your phone should have something to send rest requests to ddns provider | |
/ip firewall nat add chain=dstnat action=dst-nat in-interface=ether1 to-addresses=192.168.88.2 to-ports=443 protocol=tcp src-address-list=mobile | |
# in-interface=ether1 is just a common case, one can make use of in-interface-list=WAN if interface lists are configured | |
# to-addresses - LAN ip of your computer here, single IP | |
# src-address-list - value shoul match to the "list" from the first line | |
# Move the rule above your deny rules like this | |
# /ip firewall nat print |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# inspired by https://github.com/beeyev/Mikrotik-Duckdns-Dynamic-IP-Updater | |
# DuckDNS Sub Domain | |
:local duckdnsSubDomain "CHANGEME" | |
# DuckDNS Token | |
:local duckdnsToken "CHANGEME" | |
# Online services which respond with your IPv4 | |
:local ipv4detectList {"https://api4.my-ip.io/ip.txt"; "http://v4.ipv6-test.com/api/myip.php"} | |
# Online services which respond with your IPv6 |