• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Allow gmail access for smtp,pop and imap

Scheduled Pinned Locked Moved Firewalling
6 Posts 4 Posters 4.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    allwin
    last edited by Oct 28, 2015, 6:38 AM

    Hi All,
          I am new to pfsense help me with some logics.

    1.  How can i allow my clients to only access gmail for smtp,pop,imap for certain ip's?

    2.  how to allow and restrict a  particular URL in pfsense and wer shud i apply the rule?

    3.  how to allow and restrict a domain for limited ip's.wat's the syntax?can u help me out with screenshots.

    1 Reply Last reply Reply Quote 0
    • E
      exograpix
      last edited by Oct 28, 2015, 10:10 AM

      Hi,

      Actually it is quite easy to do with pfsense with squid 3 and squidguard package.

      a. smtp, pop3 and imap ports are open by default for incoming and outgoing mails. no setup required.

      b. You have to block gmail.* domain so users can't access webmail, can be done by either blacklisting this domain in squid3 or by url/content filter in squidguard. Please search the topic transparent ssl filtering in forum.

      c.You can create profiles in squidguard to filter content or websites as per you requirement and apply this profile to group of users. I will try to update on links available as soon as possible.

      1 Reply Last reply Reply Quote 0
      • A
        allwin
        last edited by Oct 28, 2015, 11:40 AM

        Hi,
            yup thankyou.i can understand and plss help me wit screen shots for all the things.

        1 Reply Last reply Reply Quote 0
        • E
          exograpix
          last edited by Oct 28, 2015, 11:48 AM

          I know nothing about your setup, do you want to do with transparent proxy or with wpad.

          1 Reply Last reply Reply Quote 0
          • K
            KOM
            last edited by Oct 28, 2015, 1:30 PM

            Why bother using a search engine to find what you need when you can ask someone to do all the work for you complete with screenshots?…

            http://www.moh10ly.com/blog/pfsense/setup-squid-guard-proxy-server-on-pfsense

            http://hubpages.com/hub/How-to-setup-a-transparent-proxy-using-pfSense

            http://hubpages.com/hub/URL-Filtering-How-To-Configure-SquidGuard-in-pfSense

            1 Reply Last reply Reply Quote 0
            • T
              Teddy
              last edited by Jan 15, 2016, 4:34 PM

              @exograpix:

              a. smtp, pop3 and imap ports are open by default for incoming and outgoing mails. no setup required.

              Hey,
              is it like this?
              I have my PFSense configured, to send all traffic throught the VPN Network.
              But anway, i cannot send System-Mails from PFSense and FreeNAS to my mailaccount (gmail).
              It always says: "[Errno 65] No route to host"

              Therefore i configured a firewall rule (to NOT sent it over VPN, because of maybe blocking SMTP by VPN Provider):
              IPv4 TCP LAN net * WAN net 465 (SMTP/S) WAN_DHCP none   SMTP

              But still it doesn't work! :(
              Tried so many things, to get PFSense and FreeNAS to send again system-mails.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received