Off to bat, don't edit iptables manually anymore. Use ufw.
I just setup a new Ubuntu server (12.10) this weekend and while I'm still tweaking it, I've been documenting my process.
I'll make it available here: https://docs.google.com/document/d/1J2o6Lmq00Lk3k3HPUVKnOvSK...
For some reason this doesn't work too well in OpenVZ VMs. You have to go via iptables directly.
Off to bat, don't edit iptables manually anymore. Use ufw.
I just setup a new Ubuntu server (12.10) this weekend and while I'm still tweaking it, I've been documenting my process.
I'll make it available here: https://docs.google.com/document/d/1J2o6Lmq00Lk3k3HPUVKnOvSK...