public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* RE: Routing Multiple Inbound IP Addresses -- How?
@  Dawes, Stephen
   ` Ralph W. Reid
  0 siblings, 1 reply; 20+ messages in thread
From: Dawes, Stephen @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Not necessary, and don't know the effects if you do.
 


Steve Dawes
Phone: (403) 268-5527
Email: SDawes@calgary.ca
 
 

NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.

-----Original Message-----
From: speakup-bounces@braille.uwo.ca
[mailto:speakup-bounces@braille.uwo.ca] On Behalf Of Janina Sajka
Sent: 2005 November 29 6:37 PM
To: Speakup is a screen review system for Linux.
Subject: Re: Routing Multiple Inbound IP Addresses -- How?

Do I also need to accept explicitly, some version of:

iptables -t filter -A FORWARD -j ACCEPT


Or is that superfluous?



^ permalink raw reply	[flat|nested] 20+ messages in thread
* RE: Routing Multiple Inbound IP Addresses -- How?
@  Dawes, Stephen
   ` Janina Sajka
  0 siblings, 1 reply; 20+ messages in thread
From: Dawes, Stephen @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

No, because you are dealing with pre-routing. The accept is typically
used as destination for the packet if it is not being otherwise
processed.

The problem that you may be having is that you have not initialized your
nic with all of the external ip-addresses. eth0:0 for the first one, and
eth0:1 for the next in line etc.
Eth0 is the interface, and the :X indicates all of the locations for the
ipaddresses.  
A friend of mine has done what you are trying to do on his ip-tables. I
can see if he wants to share his set-up with us. The only problem is he
is out of town until next Monday.

Let me know if you want me to pursue this angle.


Steve Dawes
Phone: (403) 268-5527
Email: SDawes@calgary.ca
 
 


NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.



^ permalink raw reply	[flat|nested] 20+ messages in thread
* RE: Routing Multiple Inbound IP Addresses -- How?
@  Dawes, Stephen
   ` Janina Sajka
  0 siblings, 1 reply; 20+ messages in thread
From: Dawes, Stephen @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

My understanding of iptables, the -i eth0 is not necessary when you are
specifying a source ip address.

iptables -t nat -A PREROUTING --source 1.2.3.4 -j DNAT --to-destination
192.168.0.1

and

iptables -t nat -A PREROUTING --source 5.6.7.8 -j DNAT --to-destination
192.168.0.2

The only need to identify the interface, -i eth0, is when you want to
tell iptables to only look for information on a specific device.
A case in point is that you should never see any 10.x.x.x or 192.168.x.x
source ip addresses if eth0 is connect to the internet only.

Of course this all changes if you are behind a firewall router.


Steve Dawes
Phone: (403) 268-5527
Email: SDawes@calgary.ca
 
 


NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.



^ permalink raw reply	[flat|nested] 20+ messages in thread
* Routing Multiple Inbound IP Addresses -- How?
@  Janina Sajka
   ` Sina Bahram
  0 siblings, 1 reply; 20+ messages in thread
From: Janina Sajka @  UTC (permalink / raw)
  To: speakup, ma-linux, blinux-list-bounces

This is fairly basic, I'm sure. But, for the life of me, I can't find
documentation on it.

So, here's the situation ...

I have several routable IP addresses. All of them need to come through
the same interface, over my DSL to be specific. So, how can I route
based on IP alone? I know how to route by port, but how do I do it by IP
address?

All examples/help much appreciated.


-- 

Janina Sajka				Phone: +1.240.715.1272
Partner, Capital Accessibility LLC	http://www.CapitalAccessibility.Com

Marketing the Owasys 22C talking screenless cell phone in the U.S. and Canada--Go to http://www.ScreenlessPhone.Com to learn more.

Chair, Accessibility Workgroup		Free Standards Group (FSG)
janina@freestandards.org		http://a11y.org


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 Routing Multiple Inbound IP Addresses -- How? Dawes, Stephen
 ` Ralph W. Reid
   ` Janina Sajka
     ` Jim Kutsch
       ` Janina Sajka
     ` Gregory Nowak
       ` Janina Sajka
  -- strict thread matches above, loose matches on Subject: below --
 Dawes, Stephen
 ` Janina Sajka
 Dawes, Stephen
 ` Janina Sajka
 Janina Sajka
 ` Sina Bahram
   ` Travis Siegel
   ` Janina Sajka
     ` Sina Bahram
     ` Gregory Nowak
       ` Janina Sajka
       ` Janina Sajka
         ` Gregory Nowak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).