Changes between Version 13 and Version 14 of Internal/OpenFlow/miscUnix


Ignore:
Timestamp:
Jun 27, 2012, 3:41:19 PM (12 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/miscUnix

    v13 v14  
    1111 * fixing garbled text (gcc)
    1212[#net Network] Various networking-related things.
    13  * NAT box methods
     13 * Disabling SSH timeout
     14 * NAT boxes
    1415  * with `ufw`
    1516  * with `pf`
     
    156157= Networking-related odds and ends = #net
    157158Various non-experimental network setups, usually done for convenience.
     159== Disabling SSH timeout ==
     160source: http://docs.oseems.com/application/ssh/disable-timeout
     161
     162You can essentially prevent SSH from timing out after a long idle period by adding the following to /etc/ssh/ssh_config :
     163{{{
     164ServerAliveInterval 100
     165}}}
     166
     167The above will make the client send a keepalive signal once every 100 seconds. Alternatively, you can modify server-side configs by adding the following to /etc/ssh/sshd_config :
     168{{{
     169ClientAliveInterval 30
     170TCPKeepAlive yes
     171ClientAliveCountMax 99999
     172}}} 
     173
     174And restarting sshd:
     175{{{
     176/etc/init.d/ssh restart
     177}}}
     178
     179
    158180== NAT boxes. ==
    159181=== with `ufw` ===
    160182source: https://nowhere.dk/articles/tip_nat_with_ubuntus_ufw_firewall
     183
    161184`ufw` is your standard Linux firewall, and comes with Ubuntu server edition. Turning a multi-interface Linux box into a router is a matter of the following steps:
    162185 1. configure IP forwarding
     
    217240cups cupsys-driver-gutenprint libcupsys2 libcupsimage2
    218241}}}
    219  2. The default port that CUPS serves its admin GUI on is tcp:631. You can see listening if you do `netstat -na -4 | grep 631`:
     242 2. The default port that CUPS serves its admin GUI on is tcp:631:
    220243{{{
    221244$ netstat -na -4 | grep 631