Re: Help with ipchains please

2001-07-05 Thread Miguel Griffa

At 12:14 p.m. 05/07/01 -0600, [EMAIL PROTECTED] wrote:

On Thu, Jul 05, 2001 at 03:06:25PM -0300, Miguel Griffa wrote:
> Hi,
>   I've seached the net and read the howto but I still don't get to 
realize
> what I need to do for something as simple as ip/port redirection. 
Here'e goes

> I want to accept any incoming connection on 1.2.3.4:81 and redirect it to
> (internal server) 192.168.1.20:80 could any one tell me what parameters
> should I send to ipchains (better with little explanation). The involved
> machine is potato.
>

ipchains doesn't do this, ipmasqadm does.  Here is an example:

ipmasqadm portfw -a -P tcp -L 1.2.3.4 80 -R 192.168.1.20 80

Make sure you have port forwarding enabled in your kernel.

Thanks!
I remember now ...
It's very difficult to find a black cat in a completely dark room, but it 
is impossible if it is not there...

kindda similar...
Thanks again, I'll try it right now



Re: Help with ipchains please

2001-07-05 Thread mark
On Thu, Jul 05, 2001 at 03:06:25PM -0300, Miguel Griffa wrote:
> Hi,
>   I've seached the net and read the howto but I still don't get to 
> realize 
> what I need to do for something as simple as ip/port redirection. Here'e goes
> I want to accept any incoming connection on 1.2.3.4:81 and redirect it to 
> (internal server) 192.168.1.20:80 could any one tell me what parameters 
> should I send to ipchains (better with little explanation). The involved 
> machine is potato.
> 

ipchains doesn't do this, ipmasqadm does.  Here is an example:

ipmasqadm portfw -a -P tcp -L 1.2.3.4 80 -R 192.168.1.20 80

Make sure you have port forwarding enabled in your kernel.




Re: Help with ipchains please

2001-07-05 Thread Lamer
have a look on ipmasqadm's autofw

--
k h a o s * lamer
new name, new look, new ftp:
linux.dyn.dhs.org (change FOUR letter)
upload something before downloading, or your class C IP banned.
- Original Message -
From: "Miguel Griffa" <[EMAIL PROTECTED]>
To: 
Sent: Friday, July 06, 2001 2:06 AM
Subject: Help with ipchains please


> Hi,
> I've seached the net and read the howto but I still don't get to realize
> what I need to do for something as simple as ip/port redirection. Here'e
goes
> I want to accept any incoming connection on 1.2.3.4:81 and redirect it to
> (internal server) 192.168.1.20:80 could any one tell me what parameters
> should I send to ipchains (better with little explanation). The involved
> machine is potato.
>
> Thanks in advance!
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>



Help with ipchains please

2001-07-05 Thread Miguel Griffa

Hi,
	I've seached the net and read the howto but I still don't get to realize 
what I need to do for something as simple as ip/port redirection. Here'e goes
I want to accept any incoming connection on 1.2.3.4:81 and redirect it to 
(internal server) 192.168.1.20:80 could any one tell me what parameters 
should I send to ipchains (better with little explanation). The involved 
machine is potato.


Thanks in advance!