pfSense English Support > Firewalling

Block cameras from everything but email

(1/6) > >>

xman111:
Hey guys, trying to get my Hikvision cameras to send email notifications.  I was trying to figure out why it wasn't working then I remembered i blocked all access to the internet for them so they don't get hijacked or hacked.  Is there any way to just let them send out emails but block everything else?   I have a block all rule in the firewall settings.

KOM:
Everything is done either by port or by src/dst address.  Use your block log to figure out how & where it's trying to talk to send emails, and then craft rules to specifically allow that traffic.

xman111:
thanks KOM, it just needs to get to googles email servers.

Derelict:
Make an alias gmail_smtp_submit for FQDN smtp.gmail.com.

Put a pass rule above your block rule for TCP destination gmail_smtp_submit port 587

Gertjan:

--- Quote from: xman111 on February 08, 2018, 12:41:13 pm ---thanks KOM, it just needs to get to googles email servers.

--- End quote ---
In that case, ask Google : https://support.google.com/a/answer/176600?hl=en  ;)

Navigation

[0] Message Index

[#] Next page

Go to full version