Results 1 to 2 of 2

Thread: Proxy with Squid.conf

  1. #1

    Proxy with Squid.conf

    Hi all,

    I have a Redhat Linux AS 2.1 server working as proxy server. I have an ADSL line to connect to the internet, my server has 2 NIC, one connected to LAN, the other connected to ADSL modem. I have configured squid.conf file for all workstations connect to internet through my server. Everything is OK. But I also want all clients behind proxy can check mail POP3 with Outlook Express integrated in Windows and extra clients can use YM, webcam. I have known that POP3 and SMTP needed to open ports 110 and 25, but I have tried, not successfully.

    Please instruct me to solve this problem.
    and send me to namdn@fpt.com.vn, thank in advance.
    Best Regards,

  2. #2
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear namdn,
    Salam,

    Edit your /etc/rc.d/rc.local and place following rules.

    echo "1" > /proc/sys/net/ipv4/ip_forward

    /sbin/iptables -t nat -A PREROUTING -i eth0 -s ! 192.168.0.1 -p tcp --dport 80 -j DNAT --to 8080
    /sbin/iptables -t nat -A POSTROUTING -o eth1 -s 192.168.0.0/24 -d squid-box -j SNAT --to 192.168.0.1
    /sbin/ iptables -A FORWARD -s 192.168.0.0/24 -d 192.168.0.1 -i eth0 -o eth1 -p tcp --dport 8080 -j ACCEPT


    Note: where 192.168.0.1 is your Linux Server IP Address for LAN and 192.168.0.0/24 is your IP Pool.

    Best Regards.
    Färrükh Ähmëd

Similar Threads

  1. Set Up SQL Server with Proxy Server
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 02:18 AM
  2. Live Communications Server 2005 Glossary
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 08:16 PM
  3. Install Proxy Server 2.0 on Windows 2000
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 01:38 AM
  4. YOU, fou4s & apt4rpm Proxy Settings?
    By VampyreUK in forum Linux - General Topics
    Replies: 0
    Last Post: 06-02-2002, 07:07 PM
  5. YOU, fou4s & apt4rpm Proxy Settings?
    By VampyreUK in forum Linux - General Topics
    Replies: 0
    Last Post: 06-02-2002, 05:23 PM

Bookmarks

Posting Permissions

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