All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michelle Konzack <linux4michelle@freenet.de>
To: netfilter@lists.netfilter.org
Subject: Re: Linux as router (Gateway Server) [Revisited]
Date: Mon, 31 Jan 2005 21:52:34 +0100	[thread overview]
Message-ID: <20050131205234.GU5167@freenet.de> (raw)
In-Reply-To: <005701c507a8$f84e5330$eaab9385@gagan>

[-- Attachment #1: Type: text/plain, Size: 3162 bytes --]

Am 2005-01-31 20:54:10, schrieb Navneet:
> Many many thanks to all of you for devoting you valuable by reading &
> replying to my mail(query).
> 
> Quick recaps and updates:
> 
> 1.i am still using RedHat Linux 9

A little bit to fat...
I use Debian GNU/Linux 3.0 with 2.4.27 on a K5-133
with 64 MB of memory and a 210 MB HDD.

> #uname -a
> 
> Linux agni.leo.com 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
> GNU/Linux

You should upgrade your kernel to 2.4.27 or higher.

> 2.Having: RTL8139 on board +  RTL 8029 plugged in(external label is of SMC
> ?).
> 
> #lspci -v
> 
> 3:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
>         Subsystem: Standard Microsystems Corp [SMC] EZ-Card (SMC1208)
>         Flags: medium devsel, IRQ 5
>         I/O ports at cc00 [size=32]
>         Expansion ROM at ffffc000 [disabled] [size=16K]
> 
> 03:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL-8139/8139C/8139C+ (rev 10)
>         Subsystem: Unknown device 1849:8139
>         Flags: bus master, medium devsel, latency 32, IRQ 3
>         I/O ports at c800 [size=256]
>         Memory at dfdfff00 (32-bit, non-prefetchable) [size=256]
>         Capabilities: [50] Power Management version 2
> 
> NOTE: should I use different NIC , that use different modules ?

You can get better ones like the 3Com 3c509B and the 3c905{B,C}
on <http://www.ebay.com/> but better prices you can get on
<http://www.ebay.de/>.

> 3. iptables  v1.2.7a

Upgrading ?

> 4.Now I am port redirecting i.e http/80 >>squid-cache/3128
> 
> adding my current iptables rules

??? I have a transparent proxy, but do nothing with IP tables.

> 5.users can browse Internet, but can't able to access FTP sites?

Are you sure, you want this ?

> Please refer below for ftp error logs/X'fer log
> 
> 6.What I am trying to :
> 
> a.>  This Linux system should act as gateway 9router) between my LAN &
> WAN.[Working]
> 
> b.>  Act as proxy server trough Squid & url filtering by using SquidGuard.
> [Working]
> 
> c.>  Act as firewall
> 
> Allowed traffic http/https,POP3/SMTP,FTP & SonicMQ.
> 
> 
> 
> Please help in configuring this system

What about:
        man iptables
        netfilter-HOWTO
        NET3-HOWTO
        firewall-HOWTO

        man squid

> But my external NIC is eth1 NOT eth1 .Any particular reason for using eth0
                         ^^^^     ^^^^
                          ??? What ???
> as external?

> WINSOCK.DLL: WinSock 2.0
> WS_FTP32 4.04, Copyright © 1992-1996 Ipswitch, Inc. All rights reserved.

> PORT 192,168,0,234,11,12
          ^   ^ ^   ^^^^^^
Why are you using commas ?
And why two ports ?

It should be

PORT 192.168.0.234:21

> 500 Illegal PORT command.
> DoDirList returned 0

Do you Log-In with a script ?

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2005-01-31 20:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-19 14:37 Linux as router (Gateway Server) Navneet
     [not found] ` <1106851960.14748.6.camel@localhost.localdomain>
2005-01-31 15:24   ` Linux as router (Gateway Server) [Revisited] Navneet
2005-01-31 16:37     ` Jason Opperisano
2005-02-01 13:09       ` Navneet Choudhary
2005-01-31 20:52     ` Michelle Konzack [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050131205234.GU5167@freenet.de \
    --to=linux4michelle@freenet.de \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.