Project Description:
I have an existing hosted Ubuntu VPS server that needs an iptables firewall written:
Allow all Paypal traffic
Allow google analytics traffic
Allow specific traffic on specific ports to a list of nominated IP addresses/ranges
Block all other traffic except SSH on port 1022
Push anyone outside the above range, and on port 8080 or 80 to a different website that I nominate
Log all traffic
Finally: explain to me how I can edit it going forward