Page MenuHomeDevCentral

Review Dwellers' iptables configuration
Closed, DuplicatePublic

Description

P50 (+ an extra rule to open 80) and P51 gives the current configuration.

We should simplify, rewrite and document it.

Event Timeline

dereckson raised the priority of this task from to Normal.
dereckson updated the task description. (Show Details)
dereckson added a project: Servers.
dereckson added a subscriber: dereckson.

We need to add commands for mail server.

$ iptables -t nat -I PREROUTING -i docker0 -p TCP -d 212.129.32.223/32 --dport 143 -j DNAT --to-destination 10.0.3.8:143
$ iptables -t nat -I PREROUTING -i ens192 -p TCP -d 212.129.32.223/32 --dport 143 -j DNAT --to-destination 10.0.3.8:143

Concerned ports are:

  • SMTP: 25, 465, 587
  • POP3: 110, 995
  • IMAP: 143, 993