LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   squid proxy with POP3 and SMTP ports forwarding (https://www.linuxquestions.org/questions/linux-newbie-8/squid-proxy-with-pop3-and-smtp-ports-forwarding-729910/)

mandarpatkar 06-01-2009 12:40 PM

squid proxy with POP3 and SMTP ports forwarding
 
i am having open suse 11.3 linux which i have configured to work as squid proxy server .

It is working fine only problem is that my internal lan users are not able to access company mails hosted at head offcie location .
Flollowing is my setup .

Server : Open Suse 11.3
Proxy : squid proxy 2.7 stable

Inetranl Ip address 192.168.2.1/24
Internal network 192.168.2.0/24

Extetrnal Ip 115.119.0.114 /28

POP3 and SMTP server address 61.16.177.191

Kindly help how to forward request on 192.168.2.1:110 and 192.168.2.1:25 to ip address 61.16.177.191:110 and 61.16.177.191:25 .

Thanks in advance for your support .

harry edwards 06-01-2009 01:59 PM

Squid also allows you to permit and reject ports: see /etc/squid/squid.conf


Sample:

Code:

acl Safe_ports                  port          80 8080    # http
acl Safe_ports                  port          21        # ftp
acl Safe_ports                  port          443 563    # https, snews
acl Safe_ports                  port          1025-65535 # unregistered ports

Is your config permitting POP and SMTP?


All times are GMT -5. The time now is 09:12 PM.