Changes between Version 16 and Version 17 of Internal/OpenFlow/miscUnix


Ignore:
Timestamp:
Aug 22, 2012, 4:29:20 PM (12 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/miscUnix

    v16 v17  
    33Anything based on a link is reiterated just for completeness, and just in case a link dies.
    44
    5 While probably generally applicable to other distros, the contents on this page mostly reference lessons learned whilst using Ubuntu^1^ (and stated clearly when that's not the case).  
     5This page is a compilation of things done with Ubuntu and FreeBSD; however, general practices do apply to any UNIX-like OS, though syntax will inevitably be different. 
    66
    77[#shell Shell-based] Command-line tools. So far, this section includes:
     
    214214
    215215=== with `pf` ===
    216 `pf` is the OpenBSD packet filter, a piece of software intended for heavy-duty packet filtering/firewalls and comes with some Berkeley UNIX derivatives^2^
     216`pf` is the OpenBSD packet filter, a piece of software intended for heavy-duty packet filtering/firewalls and comes with some Berkeley UNIX derivatives
    217217Assuming you have IP forwarding enabled, the following configuration in /etc/pf.conf should give you a NAT firewall:
    218218{{{
     
    230230sudo pfctl -e -f /etc/pf.conf
    231231}}}
    232 If it throws errors, make sure that the kernel module (pf.ko or something similar) is loaded.
     232If it throws errors, make sure that the kernel module (pf.ko or something similar) is loaded. Also, don't forget that IP forwarding is enabled:
     233{{{
     234sudo sysctl net.inet.ip.forwarding=1
     235}}}
    233236----
    234237== Printing setup with CUPS. == #print
     
    267270 * find -x [dir] -size +10000 -exec du -h {} \; finds files over 10kB, including hidden files. 
    268271----
    269 ^1. Me being the person that I am will have likely tried these on FreeBSD and maybe lubuntu to see that they work there as well.^ [[BR]]
    270 ^2. See 1.^
     272[[BR]]