I’m always forgetting linux commands that I rarely use but know I’ve executed in the past. So, this post is to give me a central location for those pesky commands, so I never have to bang my head against the keyboard again.
CentOS – I love you. You’re my new best friend as I grew quickly tired of Fedora’s yum repositories staying around about as long as I keep a pair of underwear. But what’s up with making me issue default route commands to get networking going or restarting networking after startup? Very annoying.
route add default gw 10.1.1.254 eth0 [place this in /etc/rc.d/rc.local]
Mod command to track the state of connections
modprobe ip_conntrack
Mod command to load the iptables active FTP module (requires ip_conntrack command to have been executed)
modprobe ip_conntrack_ftp
Mod command to load iptables NAT module when required
modprobe iptable_nat
Mod command required for active an FTP server using NAT
modprobe ip_nat_ftp