Find the answer to your Linux question:
Results 1 to 6 of 6
Dear all, My network is: ISP --> SonicWALL--> Proxy --> LAN Currently Sonicwall is running VPN, DHCP, port forwarding etc.. in a range of 10.0.0.0/24 and I have tried to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    11

    Squid proxy and SonicWALL


    Dear all,

    My network is:

    ISP --> SonicWALL--> Proxy --> LAN

    Currently Sonicwall is running VPN, DHCP, port forwarding etc.. in a range of 10.0.0.0/24 and I have tried to configure Squid Proxy for content filtering (using squid 3 Transparent mode on Fedora 10 and Iptables) .

    Now I need to implement the proxy over my network without changing the SonicWALL current settings (VPN, Port forwarding and DHCP).

    Thanks in advance!
    Sanuu

  2. #2
    Linux Engineer Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    773

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Posts
    11
    I have already configured my Squid proxy for content filtering and tested over my lan manually. But now I want to implement proxy server over my network and wants all request (http) to go via proxy only.

    Can anyone help me to place my proxy over the network behind SonicWALL without changing my current settings?

    ISP-->SonicWALL--> Proxy --> LAN

    If I place the proxy just behind SonicWALL, what rules do i need to add to redirect http (80) to proxy's port (312 .

    Thanking you in advance

  4. #4
    Linux Engineer Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    773
    A forwarding rule should do the job. Basically you would redirect all outgoing traffic from port 80 (http requests of LAN clients) to your proxy. See your firewall documentation how to configure a NAT port forward from SonicWall:INPUT/80 to Proxy:3128. Make sure to not forward port 80 requests from the Proxy to the Proxy itself, as it would produce an infinite forwarding loop.

  5. #5
    Just Joined!
    Join Date
    Feb 2009
    Posts
    11
    Thanks !

    My Firewall settings has following :

    Pic attached!

    How to add the NAT rule ?


    Thanks!!
    Attached Images Attached Images
    • File Type: jpg 1.jpg (34.2 KB, 25 views)

  6. #6
    Linux Engineer Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    773
    Even though the document above is rather outdated, it provides you with all the information you would need to configure an iptables firewall properly:

    Transparent Proxy with Linux and Squid mini-HOWTO: Transparent Proxy to a Remote Box

    I simply don't know how to configure it on your firewall. You've gotta find that out on yourself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •