FreeBSD cheat sheet coming soon.
Have to type out my notes.
Check out HugMe.org instead.
good little command for checking out mx stuff:
nslookup -qt=mx deljouartgroup.com
also, right now your ip is: 24.98.98.69
Firewall fun:
With ipf/pf, its the last rule that wins. With ipchains/iptables, the first rule that matches a packet wins.
so with ipf, you either block things that come IN or OUT
if you block it, you use the word block, if not you use the word pass
so the rules start with wether or not you block or pass
so lets say i want to block you from my machine
block in from 24.98.98.69
[thats the same as...
ipchains -A input -s 24.98.98.69 -j DENY69 to any.]
to specify protocol, is the word
proto, instead of -p.
so its proto tcp instead of -p tcp
so here's another example:
block in log on ip1 proto tcp from 24.98.98.69 to any
port = 43111
so that on morphine would block and log anything from you that tried to connect
to 43111, (ssh)
example:
block access to a certian site on the internet that has the ip of 24.24.24.24
blocks all packets from your network to that address and logs it
block out log from any to 24.24.24.24
You must specify the port if you
specify the protocol, and vice versa
Forget your root pw?
1. Reboot. when you see the "boot"
prompt, type boot -s and hit enter
2. run this command: fsck -p / && mount -u /
3. use the passwd command to set a password for root
4. reboot, done