Mailinglist Archive: opensuse-security (601 mails)

< Previous Next >
Re: [suse-security] Help! any other examples (gimme examples please ;) )?
  • From: Bogdan Zapca <lupe@xxxxxxxxxxxxxxxxx>
  • Date: Fri, 11 Aug 2000 19:08:12 +0300 (EEST)
  • Message-id: <Pine.LNX.4.21.0008111854580.11383-100000@xxxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----

I'm using something like that
:input ACCEPT
:forward ACCEPT
:output ACCEPT
- -A input -s 192.168.1.0/24 -d 0/0 80:80 -p tcp -j REDIRECT 3128
- -A forward -s 192.168.1.0/24 -d 192.168.1.0/24 -p all -j ACCEPT -i eth1
- -A forward -s 192.168.1.0/24 -d 0/0 -p all -j MASQ

Those go into a file (eg /etc/ipchains) an then issue the command
ipchains-restore </etc/ipchains.
Of course you should replace the IPs and proxy port as suited and add your
rules.

- ---
Bogdan Zapca System Administrator
SC EcoSoft SA Internet Service Provider
1-7 Deva st, Cluj-Napoca, Romania Tel: +40 64 199696
PGP: http://www.itotal.ro/lupe@xxxxxxxxxxxxxxxxxxxxx
http://www.ecosoft.ro

On Fri, 11 Aug 2000, Stuart Hodgkinson wrote:

> I have tried to set up the firewal package on s.u.s.e 6.4 and use example 2
> from the EXAMPLES file as a template for my system. However the masqurading
> doesn't work? has anyone got a working config file that may help me ?
> im trying to get all machines on my network to be ipmasq'd for pinging telnet
> etc etc but i require all http access to go through squid. Please
> help............... im losing my mind!!!!
>
> StOo
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: suse-security-unsubscribe@xxxxxxxx
> For additional commands, e-mail: suse-security-help@xxxxxxxx
>

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBOZQk8NPv6ylvTc6pAQH2hAP9GDSiO7yfCZMV6tsQkdq3UhpVBEZVJYnI
tw1B4tAGDOtUQmSrMcVLL8Bygqp9cwO5NhC74fdkgk8W5e+A+PaldfzMws3CJYow
3zu5ZyYB2+lxU1RW7nzEtdCBaC+Wlz060Rxy4X6aZlmExIZGT7KdYoCXc/284TbS
EuObrmSZt4I=
=EWwM
-----END PGP SIGNATURE-----


< Previous Next >
Follow Ups
References