All of lore.kernel.org
 help / color / mirror / Atom feed
* Virtual Hosts
@ 2002-05-31  7:43 Uwe Eisner
  2002-05-31 12:11 ` Ramin Alidousti
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Eisner @ 2002-05-31  7:43 UTC (permalink / raw)
  To: netfilter

Hi @ all,

I am starting set up a iptables based firewall (iptables v1.2.5) on a 
Suse Linux 8.0prof machine.
I created a virtual host an eth0, which is eth0:1.

The situation is, that the firewall is a zebra OSPFD-Router (verson 
0.92a), too. And the machine needs a public IP-Address at the internal 
interface as well. How ever, I would like to use internal ip-stack at my 
network, wherefor I need a virtual host, needn't I?

I have same roule at iptables like:
iptables -A FORWARD -d 192.168.0.0/16 -i eth0:1 -j ACCEPT

The script stoped with following error:
Warning: wierd chracter in interface 'eth0:1' (No aliases, :, ! or *)

In same list, it is mentioned, that it works, other guys say, it works not..

Hope sameone can help me..

Thx and best reguards
Uwe Eisner



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

* Re: Virtual Hosts
  2002-05-31  7:43 Virtual Hosts Uwe Eisner
@ 2002-05-31 12:11 ` Ramin Alidousti
  0 siblings, 0 replies; 2+ messages in thread
From: Ramin Alidousti @ 2002-05-31 12:11 UTC (permalink / raw)
  To: Uwe Eisner; +Cc: netfilter

On Fri, May 31, 2002 at 09:43:07AM +0200, Uwe Eisner wrote:

> Hi @ all,
> 
> I am starting set up a iptables based firewall (iptables v1.2.5) on a 
> Suse Linux 8.0prof machine.
> I created a virtual host an eth0, which is eth0:1.
> 
> The situation is, that the firewall is a zebra OSPFD-Router (verson 
> 0.92a), too. And the machine needs a public IP-Address at the internal 

Why?

> interface as well. How ever, I would like to use internal ip-stack at my 
> network, wherefor I need a virtual host, needn't I?

You can use iproute2 to set multiple ip's on an interface.

> 
> I have same roule at iptables like:
> iptables -A FORWARD -d 192.168.0.0/16 -i eth0:1 -j ACCEPT
> 
> The script stoped with following error:
> Warning: wierd chracter in interface 'eth0:1' (No aliases, :, ! or *)

I believe that the newer iptables versions do not have this problem.

Ramin

> 
> In same list, it is mentioned, that it works, other guys say, it works not..
> 
> Hope sameone can help me..
> 
> Thx and best reguards
> Uwe Eisner
> 


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

end of thread, other threads:[~2002-05-31 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-31  7:43 Virtual Hosts Uwe Eisner
2002-05-31 12:11 ` Ramin Alidousti

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.