All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeffrey Laramie <JALaramie@Loudoun-Fairfax.com>
To: netfilter@lists.netfilter.org
Subject: Re: Forwarding Help
Date: Thu, 20 Nov 2003 16:23:18 -0500	[thread overview]
Message-ID: <3FBD30C6.2020905@Loudoun-Fairfax.com> (raw)
In-Reply-To: <200311202040.hAKKex723544@onyx.rockstone.co.uk>

Antony Stone wrote:

>On Thursday 20 November 2003 8:26 pm, Michael Menges wrote:
>
>  
>
>>GlacierHello folks.  What's the best way to handle this situation:
>>
>>I wish to have my gateway/firewall using iptables to forward incoming
>>internet traffic destined to port 443 (https) to another machine on my
>>localnet (192.168.0.10) keeping the same port number, obviously.  I'm on a
>>cable connection with a dynamic IP address, of course. I've read the FAQ's
>>and man page but yet unable to come up with the proper syntax.  Any generic
>>command structures would be most helpful.
>>    
>>
>
>iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 443 -j DNAT --to 
>192.168.0.10
>iptables -A FORWARD -d 192.168.0.1 -p tcp --dport 443 -j ACCEPT
>  
>

Do you mean  -d 192.168.0.10 here?  ;-)

>eth0 is your external interface.   Adjust the rule if this assumption is 
>incorrect
>
>Ask if you don't see why the above rules do what you want.
>
>PS: What does "Glacier" mean?
>  
>

That didn't show up in my mail. I think it has something to do with his 
html formatting.

Jeff




  reply	other threads:[~2003-11-20 21:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-20 20:26 Forwarding Help Michael Menges
2003-11-20 20:40 ` Antony Stone
2003-11-20 21:23   ` Jeffrey Laramie [this message]
2003-11-20 21:37     ` Antony Stone
2003-11-20 21:20 ` Eric Wood
  -- strict thread matches above, loose matches on Subject: below --
2003-11-26 22:03 Forwarding help sc2
2003-11-26 22:30 ` zechim
2003-11-26 22:30 ` Antony Stone
2003-11-27 11:07   ` sc2
2003-11-27 11:34     ` Antony Stone
2003-11-27 12:48       ` sc2
2003-11-27 12:58         ` Antony Stone
2003-11-27 13:14           ` Ray Leach
2003-11-27 13:21             ` Antony Stone

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=3FBD30C6.2020905@Loudoun-Fairfax.com \
    --to=jalaramie@loudoun-fairfax.com \
    --cc=netfilter@lists.netfilter.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.