Ubuntufirefox,iptables,ssh,ufw,vnc4server,vncserver

GMOクラウドのAltus BasicのMiniサーバはメモリが512MBしかない。それでも、VPSのGUIを使いたいので、ubuntu 18.04 LTSのXfce4でチャレンジ。# apt install xfec4 xfce4-goodies# apt install vnc4server# vncpasswd ; 設定しなければ初回起動時に入力。# vncserver 1:# vncserver -kill 1:# echo "startxfce4" & ...

Archiptables,lsof,nmap,ss

Conohaは、コントロールパネルに接続許可ポートが設定できるので、iptablesの設定をサボっていたが、必要に迫られて設定する。基本インストールで、iptablesパッケージは設定されているので、ルールを設定して、サービスを起動するだけ。cd /etc/iptablescp simple_firewall.rules iptables.rulessystemctl start iptablessystemctl status iptablesiptables -Lsyst ...

Debian,etch,lennyiptables

Debian Etch V4/etc/init.d/iptablesの起動スクリプトは完全に省かれたので、iptablesのスクリプトを/etc/network/if-up.dにおいた。run-partsで実行しているので、スクリプト名は英数字とハイフンとアンダーバーのみである。つまり、ドットは使えない。/etc/netwrok/optionsはetchからなくなっている。ルータ化のためには、forwardのためには、# vi /etc/sysctl.conf# net.ip ...