All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Linux" <linux@usermail.com>
To: netfilter@lists.netfilter.org
Subject: Re: Forward all traffic to another Public address
Date: Sat, 7 Dec 2002 10:15:59 -0700	[thread overview]
Message-ID: <001301c29e57$d9307490$992826d8@bfons> (raw)
In-Reply-To: 002b01c29b16$58d97fb0$d318b2a1@IBMCMDCTR004

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

Does anyone have any imput on this?  Also, would iptables be the best way to redirect the traffic?  I don't have access to the router.

Linux
  ----- Original Message ----- 
  From: Linux 
  To: netfilter@lists.netfilter.org 
  Sent: Tuesday, December 03, 2002 2:52 PM
  Subject: Forward all traffic to another Public address


  Hello All,

  I am freaking going crazy and pulling my hair out.  Here is I want to do.
  Forward all traffic (smtp, pop3, web,etc) for one IP address in Server box located in CA to a Server in TX
  These boxes are on separate networks.
  Here is what I did

  iptables -t nat -A PREROUTING -s 216.x.x.x -d 238.x.x.x -m state --state RELATED,ESTABLISHED -j MASQ
  iptables -t nat -A PREROUTING -d 238.x.x.x -j DNAT --to 216.x.x.x


  Can someone please help me as I cannot figure out what I am doing wrong.


  Thank you,

  Linux




[-- Attachment #2: Type: text/html, Size: 2782 bytes --]

  reply	other threads:[~2002-12-07 17:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-03 21:52 Forward all traffic to another Public address Linux
2002-12-07 17:15 ` Linux [this message]
     [not found]   ` <1039368044.9597.9.camel@localhost.localdomain>
2002-12-09  0:27     ` Linux

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='001301c29e57$d9307490$992826d8@bfons' \
    --to=linux@usermail.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.