All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petre Bandac <petre@kgb.ro>
To: netfilter@lists.netfilter.org
Subject: is it possible only with iptables
Date: Wed, 10 Dec 2003 19:28:27 +0200	[thread overview]
Message-ID: <200312101928.27882.petre@kgb.ro> (raw)

I have 2 linux machines - linux_1 and linux_2

linux_1 has behind it a subnet with routable adresses (not private)

I want that all the traffic incoming from the subnet behind linux_1 and going 
to port 80 to be redirected to linux_2, and from linux_2 go on the internet

I presumed that a -j SNAT --to-source IP_linux_2 should be enough, but 
apparently it isn't

should I issue a SNAT rule on linux_2 too, or it should run something like 
squid there ?

thanks in advance,

petre


-- 
Login: petre          			Name: Petre Bandac
Directory: /home/petre              	Shell: /usr/local/bin/zsh
On since Tue Dec  9 10:15 (EET) on ttyv0, idle 1 day 9:08 (messages off)
Last login Wed Dec 10 16:05 (EET) on ttyp3 from ns.rdsbv.ro
No Mail.
No Plan.



             reply	other threads:[~2003-12-10 17:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-10 17:28 Petre Bandac [this message]
2003-12-11 10:05 ` is it possible only with iptables 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=200312101928.27882.petre@kgb.ro \
    --to=petre@kgb.ro \
    --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.