Navigation

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

    Allow gmail access for smtp,pop and imap

    Firewalling
    4
    6
    3822
    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

      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

        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

          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

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

            1 Reply Last reply Reply Quote 0
            • KOM
              KOM last edited by

              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

                @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

                Products

                • Platform Overview
                • TNSR
                • pfSense
                • Appliances

                Services

                • Training
                • Professional Services

                Support

                • Subscription Plans
                • Contact Support
                • Product Lifecycle
                • Documentation

                News

                • Media Coverage
                • Press
                • Events

                Resources

                • Blog
                • FAQ
                • Find a Partner
                • Resource Library
                • Security Information

                Company

                • About Us
                • Careers
                • Partners
                • Contact Us
                • Legal
                Our Mission

                We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                Subscribe to our Newsletter

                Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                © 2021 Rubicon Communications, LLC | Privacy Policy