All of lore.kernel.org
 help / color / mirror / Atom feed
* Routing Problem
@ 2002-09-20 14:29 Tom Fischer
  0 siblings, 0 replies; 26+ messages in thread
From: Tom Fischer @ 2002-09-20 14:29 UTC (permalink / raw)
  To: netfilter

Hi,

I have 2 Machines connected to the Internet via DSL. The first machine 
is the default gateway on all machines in the LAN. I've 2 Machines 
because i want to use the second as a fallback. But now i want to route 
a few services over the second machine, like E-Mail.

For testing i wanted to route a host over the second machine. I followed 
the Adv-Routing-HOWTO and placed:

iptables -I PREROUTING -i eth0 -t mangle -p tcp -s host -j MARK --set-mark 1
echo 201 test >> /etc/iproute2/rt_tables
ip rule add fwmark 1 table test
ip route add default via xxx.xxx.xxx.xxx dev eth2 table test

xxx.xxx.xxx.xxx is the IP of the second Machine connected to the first 
via a Crossover-Cable. This works fine, both machines can ping the other.

This setup didn't work. Did i miss something?

Hope anybody can help me out.

Regards, Tom

-- 
Tom Fischer			ABH Marketingservice GmbH
System Administrator		Weisshaustrasse 23a
Tel: 0221-94400446		50939 Koeln
http://www.abh.de




^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: Editing File Associations in KDE
@ 2003-06-06 18:22 Rex Dieter
  2003-06-07  1:17 ` Routing Problem lance turner
  0 siblings, 1 reply; 26+ messages in thread
From: Rex Dieter @ 2003-06-06 18:22 UTC (permalink / raw)
  To: Sadanapalli, Pradeep Kumar (MED, TCS); +Cc: linux-admin

On Fri, 6 Jun 2003, Sadanapalli, Pradeep Kumar (MED, TCS) wrote:

> I want to change the default file associations in KDE.

/usr/share/config/profilerc

-- Rex


^ permalink raw reply	[flat|nested] 26+ messages in thread
* Routing problem
@ 2003-08-13 18:26 GG Noris
  0 siblings, 0 replies; 26+ messages in thread
From: GG Noris @ 2003-08-13 18:26 UTC (permalink / raw)
  To: netfilter

Hello.
I have a problem  in my network. i need to substitute my internet line
with 16 public ip with another line with other 16 ip.

my current functioning situation is:

1 lan 192.168.100.0/24
1 dmz	10.100.200.0/24
1 public zone 80.x.x.16/29

this 3 network are connected wit an iptables machine. fot lan i use nat
for navigate, for dmz i use port traslation to public my service in the
public zone.

all function well for 2 years.

now i need to change my public zone without loss of services.
my little brain have thinked to up another firewall box iptables and put
it with 1 nic in dmz to serve as new GW and another nic in the new
public zone. afther i public the same services with this new FW in the
new public zone. sure do not function... i have tryed but not.

in this new configuration the service from server1 smtp ( that have
always the old GW to goin out ) is functioning to the old public zone,
but when i contact the server1 smtp ftom the new public zone, my server
recive only SYN packet. but do not respond and the service smtp do not
function.

My problem is to find a solution for the migration.

my little brain.. tel me to put another nic an the old FW and use this
with 2 public zones and having only one PAT and NAT machine... is this
the solution or there is a good solution ???


THANX in adv. 

GG


^ permalink raw reply	[flat|nested] 26+ messages in thread
* Routing problem
@ 2004-02-13 15:39 Carlos Fernandez Sanz
  2004-02-13 15:50 ` Antony Stone
  2004-02-13 16:53 ` John A. Sullivan III
  0 siblings, 2 replies; 26+ messages in thread
From: Carlos Fernandez Sanz @ 2004-02-13 15:39 UTC (permalink / raw)
  To: netfilter

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

I have a small problem setting up a routing exception here.

We have a small LAN with NAT-based internet access. Nothing special here. 
The router is a Linux box, with two NICs. One of them has a private address. The other one has a WAN address (it's a requirement of our provider that we use this address even if we have public addresses). 

Anyway, one of our users needs to go out using a public IP, and NAT doesn't do, because he needs to establish a connection encrypted where the IP address is part of a signature.

We do have spare IPs. The problem is that I can't add a route to him, route returns "network is unreachable".

Suppose NIC A in the linux box (route) is 192.168.21.1. NIC B is our public IP 1 (of a pool of five) A.B.C.1. Everyone gets out using this IP and NAT.
Now I want someone in the LAN to own the public IP A.B.C.2, however he is connected to the internal switch. 
I tried to do this

route add A.B.C.2 gw A.B.C.2 dev eth0 

But I get "network unreachable".

Before you ask: I can't connect this special computer to the same place I connect the linux box (which would be the obvious solution) because the carrier expects traffic to come from one WAN IP, owned by the linux box. 

All suggestions welcome.

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

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Routing problem...
@ 2004-07-27  7:23 Michelle Konzack
  2004-07-27  7:42 ` Sven Schuster
  0 siblings, 1 reply; 26+ messages in thread
From: Michelle Konzack @ 2004-07-27  7:23 UTC (permalink / raw)
  To: netfilter

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

*************************************************************************
* Do not Cc: me, because I am on THIS list, if I write here             *
* Keine Cc: am mich senden, bin auf DIESER Liste wenn ich hier schreibe *
*************************************************************************

Hello, 

I have 4 NICs in my Router and with two I have a problem:

eth0	-> public network with Servers
eth1    -> private network with Workstations.

I have following rules:

  ____ ( 'stdin' ) _____________________________________________________
 /
|  iptables -P INPUT ACCEPT
|  iptables -F INPUT 
|  iptables -P OUTPUT ACCEPT
|  iptables -F OUTPUT 
|  iptables -P FORWARD DROP
|  iptables -F FORWARD 
|  
|  iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT

OK, I can SEND packages from my Workstations in eth1 
to the Servers in eth0

|  iptables -A FORWARD -i eth0 -o eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT

Here comes the Packages from the Servers back and 
I allow to come into my private Network

 \______________________________________________________________________

But if I execute the script, I get: 

iptables: No chain/target/match by that name

Whats wrong ?
I have compiled Linux with ALL netfilter modules in.

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Routing problem
@ 2006-05-12 20:53 Antonio Di Bacco
  0 siblings, 0 replies; 26+ messages in thread
From: Antonio Di Bacco @ 2006-05-12 20:53 UTC (permalink / raw)
  To: linuxppc-embedded

Hi all,

I have a board with an MPC880 using the tow FECs as two ethernet interfaces. I 
tried to enable the ip forwarding with no success. I have issued  "echo 1 
> /proc/sys/net/ipv4/ip_forward", is it sufficient to make Linux work as a 
router?

Bye,
Antonio. 

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: Routing problem
@ 2006-05-15 16:08 Yang, Steve
  2006-05-15 19:39 ` Antonio Di Bacco
  0 siblings, 1 reply; 26+ messages in thread
From: Yang, Steve @ 2006-05-15 16:08 UTC (permalink / raw)
  To: Antonio Di Bacco, linuxppc-embedded

Antonio,

Try this:

  sysctl net.ipv4.ip_forward=3D1=20

Regards,=20
Steve Yang
510-749-4535 Alameda
AIM: steveyang4535

-----Original Message-----
From: linuxppc-embedded-bounces+syang=3Dwindriver.com@ozlabs.org
[mailto:linuxppc-embedded-bounces+syang=3Dwindriver.com@ozlabs.org] On
Behalf Of Antonio Di Bacco
Sent: Friday, May 12, 2006 1:53 PM
To: linuxppc-embedded@ozlabs.org
Subject: Routing problem

Hi all,

I have a board with an MPC880 using the tow FECs as two ethernet
interfaces. I tried to enable the ip forwarding with no success. I have
issued  "echo 1=20
> /proc/sys/net/ipv4/ip_forward", is it sufficient to make Linux work as

> a
router?

Bye,
Antonio.=20
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

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

end of thread, other threads:[~2006-05-15 23:04 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-20 14:29 Routing Problem Tom Fischer
  -- strict thread matches above, loose matches on Subject: below --
2003-06-06 18:22 Editing File Associations in KDE Rex Dieter
2003-06-07  1:17 ` Routing Problem lance turner
2003-06-07  2:27   ` terry white
2003-06-07  3:46   ` Joakim Ryden
2003-06-07  3:46   ` Joakim Ryden
2003-08-13 18:26 Routing problem GG Noris
2004-02-13 15:39 Carlos Fernandez Sanz
2004-02-13 15:50 ` Antony Stone
2004-02-13 16:30   ` Carlos Fernandez Sanz
2004-02-13 17:12     ` Antony Stone
2004-02-14  8:41       ` Carlos Fernandez Sanz
2004-02-14  9:09         ` Antony Stone
2004-02-14 15:15           ` Carlos Fernandez Sanz
2004-02-14 15:19           ` Carlos Fernandez Sanz
2004-02-14 15:38             ` Antony Stone
2004-02-13 17:16     ` Scott MacKay
2004-02-14  8:47       ` Carlos Fernandez Sanz
2004-02-13 16:53 ` John A. Sullivan III
2004-07-27  7:23 Michelle Konzack
2004-07-27  7:42 ` Sven Schuster
2004-07-27  8:06   ` Michelle Konzack
2004-07-27 14:21     ` Sven Schuster
2004-07-28  8:32       ` Michelle Konzack
2006-05-12 20:53 Antonio Di Bacco
2006-05-15 16:08 Yang, Steve
2006-05-15 19:39 ` Antonio Di Bacco

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.