Re: proxy network server configuration

From: 'Dungeon' Dave (Newsgroup_at_tombstones.org.uk)
Date: 02/25/04


Date: Wed, 25 Feb 2004 18:52:59 +0000

begin not.binary!

And Phisherman <nobody@noone.com> confused OE posters with...
>I have a Linux computer and two Windows 98SE computers. All are
>connected to a hub. The Linux computer using pppd, calls my ISP using
>an external modem connected to the Linux computer's serial port. I
>start Squid, and the Windows computers can surf fine with IE.
>
>But on the Win98 machines, email does not work (POP3 & SMTP ports
>110, 25), Agent newsreaders don't work (port 115), Norton NAV update
>doesn't work (port ?), and RealPlayer (port ?) does not work.
>
>I've done some reading on transparent proxy and iptables, but I'm not
>sure what I need to do next to get these applications to work
>properly. Any reading suggestions for a newbie?
>
If you want to proxy those ports (listed above) then add them into the
"safe_ports" list in squid. Then point your clients at the proxy server,
and it should route okay.

If you don't want to use the proxy for the other services, you'll need
to configure IPtables to perform NAT for you. At the moment, the Win
machines are connecting to the server and (perhaps) routing out still
with their internal addresses. These need to be translated into external
addresses (ie: the address of your external modem) so that the
corresponding target server knows who to talk back to.

This works for IE as to the outside webservers, the connection isn't
originating from your internal Win machines, it's originating from the
Linux server, which is seen by the Internet.

For what it's worth... I've got EXACTLY this setup here at home - my
Linux server (RH8) dials and provides proxying/DNS/firewall, but I've
also got routing translated via iptables so that I can ping or telnet
out directly from the internal machines. It's not difficult - to all
intents and purposes, you've already done the hard work. If you decide
to go the "use iptables" route, I can send you copies of my scripts and
help you out that way.

-- 
"If flesh could crawl, my skin would fall
   from off my bones and run away from here
     as far from God... as heaven is wide..."


Relevant Pages

  • Re: Why does W2K (pro) client do more than it is asked to do?
    ... >server) from W2K is so slow, I tried connecting to the same share from ... >When I examined the samba log files on the server, ... >The log file for the Linux client contained a single entry: ...
    (microsoft.public.win2000.networking)
  • Re: Pls Help with X over TCPIP
    ... >> There is a known issue with connecting from recent releases of ... The problem is that the server ... >> in the protocol and now the LINUX client detects this. ...
    (comp.os.vms)
  • Re: name resolution by fqdn but not by netbios name
    ... You might need to add them into your WINS server in your Windows Server OS. ... If the computers can not find the Linux computer it will try appending every ...
    (microsoft.public.windows.server.dns)
  • Samba 3.0 MRxSmb Error in mixed Network
    ... I am new to this forum and newby in working with linux. ... A few days ago i have added a new linux computer to our Windows 2K/XP ... Server ever since. ... The master browser has received a server announcement from the computer ...
    (alt.os.linux.suse)
  • Re: suppressing username and password prompts in dbaccess
    ... Our site is running Informix Dynamic Server 11 on Linux. ... when connecting to a server using dbaccess the user is prompted for ...
    (comp.databases.informix)