Re: [LARTC] How to

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lør, 2002-06-01 kl. 09:37 skrev Stef Coene:

> > In as much as this is a perfectly normal use of Netfilter (iptables), I
> > reckon that you're asking in the wrong group.
> Copy-paste can never hurt :)

> iptables -t nat -A PREROUTING -p tcp -d $EX_IP --dport 8080 -j DNAT --to 
> 192.168.1.253:80

> All traffic entering the external ip of my firewall on port 8080 is forwarded 
> to my internal web-server.

Yerrrs, but now there's the FORWARDing rule, then there's the
POSTROUTING and SNAT rule back etc. etc. that you haven't included. He
won't make it work without them. Then there's the
/proc/sys/net/ipv4/ip_forward that you haven't included, etc. etc.

The bloke is obviously in the wrong group, he'll be having more problems
and these should not be addressed on this list, which is for something
completely different. God knows, iproute2 problems ar complicated enough
as they are.

Best,

Tony

-- 

Tony Earnshaw

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl
gpg public key:	http://www.billy.demon.nl/tonni.armor

Telefoon:	(+31) (0)172 530428
Mobiel:		(+31) (0)6 51153356

GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981
3BE7B981


Attachment: signature.asc
Description: Dette er en digitalt signert meldingsdel


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux