You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Phil Lembo
plembo
Enterprise Architect, sysadmin, identity management engineer now focused on collaboration solutions for a global Fortune 200 company.
Even with bridged networking, a KVM (libvirtd) guest can't be reached from the network (except by the KVM host machine). The two ways to deal with this on a Debian or Debian derived (e.g. Ubuntu) system are as follows:
Add a ufw FORWARD rule
This solution provides minimal access to bridged guests. It does not disable netfilter on the bridge. It does require the guest to have a static IP address, as it won't be able to receive one from the local network.
Modify /etc/ufw/before.rules to add a FORWARD rule with the guest's IP address:
# allow all traffic to 10.1.0.81
-A FORWARD -d 10.1.0.81 -j ACCEPT
File already pushed to github. In this case it's too big and should have been compressed first.
This is how to remove it completely. If others have their own copies of repo, will need to coordinate with them.
I'm a big fan of the MVS 3.8j Tur(n)key 4- System, and the excellent tutorial by
moshix on his YouTube channel, How to get MVS 3.8 up and running on Linux. In my case, running on an Ubuntu KVM virtual machine. Of course, as a former server sysadmin I really wanted my server to automatically start when my vm booted up. The following is what I did to make that happen.
For my setup I chose to create a normal user on the vm, mvs, to run the server.
The user's home directory was set to /d1/app/mvs.
Following moshix's tutorial, I installed the tur(n)key system to /d1/app/mvs/mvs38.
Notes on setting up Visual Studio Code (vscode). My machines are mostly Linux, but I have also used vscode as my primary editor on the work Windows 10 laptop. Like many of Microsoft's "free" offerings, vscode is always changing, so the location and even existence of settings described here may not be as described below. Questions should be directed to the appropriate subject matter fora on the Internet.
NOTE: I currently use vim for most of my code editing, and the open source Theia IDE (https://theia-ide.org) as my IDE for complex projects. Theia is pretty much a drop-in replacement for vscode, without the latter's proprietary features (that include many popular closed-source extensions from Microsoft).
Originally had a Ubuntu 18.04 LTS server configured with a bridge interface called "br0".
Decided to remove it as an unnecessary complexity (it was originally there to service multiple IPs on the same
physical interface, but I now only need one IP).
First rewrote /etc/netplan/01-netcfg.yaml to remove bridge and put everything under the ethernet iface,