On Mon, Jan 14, 2002 at 10:02:29PM +1300, Linux wrote:
> Yes this can be done with firewall rules. The one you need is PREROUTE to
> NAT the incoming connection to the appropriate box
> 
> Mike
when i add this to my firewall, my host 1.2.3.1 and gateway 1.2.3.1 in the same 
network :
iptables -t nat -A PREROUTING -d 1.2.3.2 -p tcp --dport 80 -j DNAT --to 1.2.3.3

and i access from 1.2.3.4,
w3m 1.2.3.1, don't appear something at all

why? what's wrong?

> 
> -----Original Message-----
> From: Lewi [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 15 January 2002 06:56
> To: [EMAIL PROTECTED]
> Subject: ip and port redirection
> 
> 
> i'm just wondering can i redirect connection if someone ssh to my linux box,
> i want to direct that to another server that i want it.
> 
> 
> --
> ichtus
> ------
> Lewi Supranata .K
> ICQ: 50643061
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

-- 
ichtus
------
Lewi Supranata .K
ICQ: 50643061

Attachment: msg69044/pgp00000.pgp
Description: PGP signature

Reply via email to