Outlook and ssquid proxy server
Hi,
I use squid as proxy server in my network but have a problem with outlook in clients hosts.
my network is composed by :
- 1 router having address 192.168.1.1, it is the gateway to Internet
- 1 switcher (16 ports) that all network hosts are linked to it
- 1 host having 2 network cards
- eth0 : adress 192.168.1.2
mask 255.255.255.0
gateway 192.168.1.1
DNS 192.168.1.1
- eth1 : adress 169.254.1.1
mask 255.255.0.0
gateway 0.0.0.0
- network hosts use the network 169.254.1.0/16
My squid configuration is this :
############################################################
########### local config ############
############################################################
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
http_access allow manager localhost
http_access deny manager
http_access allow localhost
#############################################################
########### Denied request rules #############
#############################################################
acl d_porn url_regex porn
deny_info deny_page_porn d_porn
http_access deny d_porn
#############################################################
########### Exceptions #############
#############################################################
acl sam-admin src 169.254.1.6
http_access allow sam-admin
#############################################################
########### ACL #############
#############################################################
# Network definition
acl my_network src 169.254.0.0/16
# Domain to block
acl video_share dstdomain .youtube.com .dailymotion.com
acl faceb dstdomain .facebook.com
# Ports acl
acl SSL_ports port 443
acl Safe_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 22
acl Safe_ports port 1158
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 6881-6999 # Torrents
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 25 # pop
acl Safe_ports port 110 # SMTP
acl Safe_ports port 109 # SMTP
acl Safe_ports port 995
acl CONNECT method CONNECT
# Media streaming acl
acl media rep_mime_type video/flv video/x-flv
acl media rep_mime_type -i ^video/
acl media rep_mime_type -i ^video\/
acl media rep_mime_type ^application/x-shockwave-flash
acl media rep_mime_type ^application/vnd.ms.wms-hdr.asfv1
acl media rep_mime_type ^application/x-fcs
acl media rep_mime_type ^application/x-mms-framed
acl media rep_mime_type ^video/x-ms-asf
acl media rep_mime_type ^audio/mpeg
acl media rep_mime_type ^audio/x-scpls
acl media rep_mime_type ^video/x-flv
acl media rep_mime_type ^video/mpeg4
acl media rep_mime_type ms-hdr
acl media rep_mime_type x-fcs
acl mediapr urlpath_regex \.flv(\?.*)?$
acl mediapr urlpath_regex -i \.(avi|mp4|mov|m4v|mkv|flv)(\?.*)?$
acl mediapr urlpath_regex -i \.(mpg|mpeg|avi|mov|flv|wmv|mkv|rmvb)(\?.*)?$
#############################################################
########### Return ACL page #############
#############################################################
deny_info deny_page video_share
deny_info deny_page faceb
deny_info deny_page Safe_ports
deny_info deny_page SSL_ports
deny_info deny_page media
deny_info deny_page mediapr
#############################################################
########### Access permission #############
#############################################################
#http_access deny video_share
#http_access deny faceb
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#http_access deny mediapr
#http_reply_access deny media
http_access allow my_network
#http_access deny all
http_access allow all
##############################################################
########### Global config ##############
##############################################################
http_port 3128 transparent
coredump_dir /var/spool/squid3
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
cache_effective_user proxy
cache_effective_group proxy
###############################################################
The ufw service is disabled and iptables rules are as default (no rules)
Everything about HTTP access work correctly and the filtration work well but outlook, i can't receive or sent mails from any hosts in the LAN network using the proxy
Someone can help me to resolve this problem please ?
Thanks
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 3 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 1 Open Source Best Practice Training
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 955 Programming and Development
- 310 Kernel Development
- 627 Software Development
- 983 Software
- 375 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)