Entries from 2014-10-01 to 1 month

ubuntu iptables nat 確認 ip

$sudo iptables -t nat -A POSTROUTING -s 10.8.0.0/255.255.0.0 -o eth0 -j MASQUERADE →◎ 「10.8.0.0/255.255.0.0」からきたものはeth0宛てにNATする設定(因みに $iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -d 192.168.0.0/24 -j MASQUERADE, 「1…

OpenVPN

ブリッジとルーティングによる設定 http://www.openvpn.jp/document/how-to/ブリッジの場合はブリッジ(br0とtap0)の設定を行い、サーバーはサブネットの一部でサブネット上のゲートウェイである必要は無い。 http://www.slsmk.com/getting-started-with-op…

Using a nested wireless LAN router / Split Tunneling based on port by /etc/ppp/ip-up.d

Using a nested wireless LAN router http://ubuntuguide.org/wiki/Ubuntu_Trusty_Networking#Network_ManagerSplit Tunneling based on port by /etc/ppp/ip-up.d https://wiki.archlinux.org/index.php/PPTP_VPN_client_setup_with_pptpclient

about DNS

http://server.riopi.net/bind9.html http://www.tatsuyababa.com/NW-DNS/NW-200308-DNS.pdf http://www.tatsuyababa.com/NW-DNS/ https://www.upken.jp/kb/ubuntu-bind.html https://forums.ubuntulinux.jp/viewtopic.php?id=16090 http://www.atmarkit.co.…

ubuntu lightdm disable/enable

http://askubuntu.com/questions/16371/how-do-i-disable-x-at-boot-time-so-that-the-system-boots-in-text-mode http://askubuntu.com/questions/139014/how-to-disable-lightdm http://ubuntuforums.org/showthread.php?t=1911143teeコマンド http://blog…

ubuntu 14.04 x2go install error "Authentification Failed The host key for this server was not found but an othertype of key exists.An Attacker might change" / blanc&black screen problem

Server installation ( ubuntu server 14.04.1) http://wiki.x2go.org/doku.php/doc%3ainstallation%3ax2goserver http://www.howtoforge.com/how-to-install-x2goserver-on-ubuntu-14.04-as-vnc-alternative# sudo apt-get install python-software-common(…

window manager (not desktop manager) i3wm Qtile

http://askubuntu.com/questions/65083/what-kinds-of-desktop-environments-and-shells-are-available http://askubuntu.com/questions/524478/is-there-a-light-weight-minimal-unity-desktop-for-ubuntu-14-04 http://askubuntu.com/questions/65083/what…

GNOME Fallback/Classic on Ubuntu 14.04 /12.04 with Autologin

http://www.jakenovak.com/gnome-fallback-on-ubuntu-14-04-with-autologin/sudo apt-get install gnome-session-fallback -yAnd that’s it, if you want to have to select the “GNOME Flashback” mode each time you login. Personally, I think that’s a …

SSH SFTP X forward port specify指定

SSH: ssh -p @ SSH to accept socks 5 proxy on port you specify: ssh -p @ -D Forward the X server from your remote box: ssh -X -p @ SFTP: sftp -oPort= @ SCP:copy a directory (when "get") scp -P -r @: (when "put") scp -P -r @: Key-based SSH l…

sftp in win xp winscp and putty for key generation

Win XP scp as sftp virtual file system load http://winscp.net/KeyGen for Public Key login http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html http://www.putty.org/

FreeNX ssh sshd_conf public key

http://d.hatena.ne.jp/mobitan/20090130/1233403256$ sudo nano /etc/ssh/sshd_config AllowUsers nx "nx allowed username"$ sudo nano /etc/nxserver/node.conf ENABLE_PASSDB_AUTHENTICATION="1"$ sudo nxserver --adduser "nx allowed username" $ sudo…

windows xp ubuntu RDP remote desktop リモートデスクトップ 設定

以下でサーバ側のRDPをON マイコンピュータ>プロパティ>リモート コントロールパネル>システム>プロパティ>リモート“このコンピュータにユーザーがリモートで接続することを許可する”また、サーバ側のファイヤーウォールに例外を儲けRDPをスルー スター…