Changes between Version 16 and Version 17 of Internal/OpenFlow/miscUnix
- Timestamp:
- Aug 22, 2012, 4:29:20 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/miscUnix
v16 v17 3 3 Anything based on a link is reiterated just for completeness, and just in case a link dies. 4 4 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).5 This 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. 6 6 7 7 [#shell Shell-based] Command-line tools. So far, this section includes: … … 214 214 215 215 === 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. 217 217 Assuming you have IP forwarding enabled, the following configuration in /etc/pf.conf should give you a NAT firewall: 218 218 {{{ … … 230 230 sudo pfctl -e -f /etc/pf.conf 231 231 }}} 232 If it throws errors, make sure that the kernel module (pf.ko or something similar) is loaded. 232 If 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 {{{ 234 sudo sysctl net.inet.ip.forwarding=1 235 }}} 233 236 ---- 234 237 == Printing setup with CUPS. == #print … … 267 270 * find -x [dir] -size +10000 -exec du -h {} \; finds files over 10kB, including hidden files. 268 271 ---- 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]]