All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Earnshaw <tonni@billy.demon.nl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] How to
Date: Sat, 01 Jun 2002 10:47:23 +0000	[thread overview]
Message-ID: <marc-lartc-102292851432242@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102290865422954@msgid-missing>

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

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 #2: Dette er en digitalt signert meldingsdel --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2002-06-01 10:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-01  5:17 [LARTC] How to Neil Aggarwal
2002-06-01  6:51 ` Tony Earnshaw
2002-06-01  7:37 ` Stef Coene
2002-06-01 10:47 ` Tony Earnshaw [this message]
2002-06-01 14:55 ` Greg Scott
2002-06-01 15:04 ` Tony Earnshaw
2002-06-01 17:37 ` Greg Scott

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=marc-lartc-102292851432242@msgid-missing \
    --to=tonni@billy.demon.nl \
    --cc=lartc@vger.kernel.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.