All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Routing
Date: Wed, 30 Oct 2002 15:57:58 +0000	[thread overview]
Message-ID: <marc-lartc-103599364803160@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373940416816@msgid-missing>


Jose,

You show your filters (iptables -t filter -nL), but you don't show your 
NAT tables.  You should probably be using NAT/masquerading on this 
machine, since it connects an RFC1918 network (172.16.0.0/xx) to the 
Internet.

Check the netfilter list, archives, and HOWTOs--LARTC isn't the right 
forum for your question.

  http://www.netfilter.org/documentation/HOWTO//packet-filtering-HOWTO.html
  http://iptables-tutorial.frozentux.net/

Nonetheless, you probably want to do something like this:

# iptables -t nat -A POSTROUTING -o $OUTSIDE_INTERFACE -j SNAT \
> --to-source x.y.z.8

Good luck,

-Martin

 : Hi all,
 : 
 : I'm new to iproute2 and iptables. It's a very simple topology:
 : 
 : world--a.b.c.d--|router|--x.y.z.10--x.y.z.8--|linux+iptables|
 :                                                              |
 :                                                         172.16.0.1
 :                                                              |
 :                                                             / \
 :                                                            / HUB
 :                                                linux1\x172.16.0.200
 : 
 : I can ping  x.y.z.8 from privite net linux1 or $windows but not
 : the router interface x.y.z.10.
 : Here are my settings:
 : 

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2002-10-30 15:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-03 11:13 [LARTC] routing Spyros
2001-01-03 12:37 ` David
2001-01-05 12:25 ` Junus
2001-01-05 12:33 ` Junus
2001-07-06 14:03 ` [LARTC] Routing Dave Miller
2001-07-06 15:01 ` Arthur van Leeuwen
2001-07-06 15:18 ` Dave Miller
2001-07-07  6:33 ` Deepak singhal
2001-07-07 18:24 ` Arthur van Leeuwen
2001-07-07 18:33 ` Dave Miller
2001-07-07 18:37 ` Arthur van Leeuwen
2001-12-25  4:58 ` [LARTC] routing Daniel Wittenberg
2001-12-25 12:16 ` bert hubert
2002-10-30 12:57 ` [LARTC] Routing Jose Sebastiao Martins
2002-10-30 15:57 ` Martin A. Brown [this message]

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-103599364803160@msgid-missing \
    --to=mabrown-lartc@securepipe.com \
    --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.