You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jeff Moe c2b99f2c09
postgres oca notes
6 years ago
..
etc/init.d Lots of updates, new co-location 7 years ago
lib/systemd/system Initial draft of Fork Sand IT Manual 7 years ago
README.md OCA, postgres notes for AO setup 6 years ago
oca-install.sh Lots of updates, new co-location 7 years ago
oca-manual-modules Initial draft of Fork Sand IT Manual 7 years ago
oca9-dev postgres oca notes 6 years ago
oca11-addons Initial draft of Fork Sand IT Manual 7 years ago
odoo9-modules Initial draft of Fork Sand IT Manual 7 years ago

README.md

Dev servers: ocadev2 ocadev3 ocadev4

AO Dev servers: once-dev1

On development servers, add this to firewall rules to block

sending/receiving of mails.

Block outgoing traffic to email ports...

SMTP, POP, IMAP, plus encrypted ports

Be sure to put before this line in the firewall rules:

-A OUTPUT -j ACCEPT

Allow only communications to localhost on port 25 ( -s IP )

-A OUTPUT -p tcp --dport 25 -o lo -d 127.0.0.1 -j ACCEPT

Allow only communications to localhost on IMAP port 993 ( -s IP )

-A OUTPUT -p tcp --dport 993 -o lo -d 127.0.0.1 -j ACCEPT

Block SMTP

-A OUTPUT -p tcp --dport 25 -j REJECT -A INPUT -p tcp --dport 25 -j REJECT

Block POP

-A OUTPUT -p tcp --dport 110 -j REJECT -A INPUT -p tcp --dport 110 -j REJECT

Block IMAP

-A OUTPUT -p tcp --dport 143 -j REJECT -A INPUT -p tcp --dport 143 -j REJECT

Block Email Submission

-A OUTPUT -p tcp --dport 587 -j REJECT -A INPUT -p tcp --dport 587 -j REJECT

Block encrypted IMAPS

-A OUTPUT -p tcp --dport 993 -j REJECT -A INPUT -p tcp --dport 993 -j REJECT

Block encrypted POP

-A OUTPUT -p tcp --dport 995 -j REJECT -A INPUT -p tcp --dport 995 -j REJECT