Skip to contentSkip to conversation

iptables problem

DISCUSSION Your Name 3 participants 3 messages Feb 17, 2005 – Feb 18, 2005

lore
Share & tools
lore

Your Name

author
#0 lore raw
Quoted 1 line

I'm not sure of what you're saying, since the machine goes on the

internet

Quoted 1 line

thru an ADSL router, that performs NAT by itself, so the firewall, as

far as

Quoted 2 lines

I'll use eth1 both as internal and external interface, will only forward requests to the ADSL router. However, here there's the output of the

iptables

Quoted 2 lines

-L -n:

ip_forwarding shall only work with two lan cards, no set up shall work as a firewall with one network interface.

never tried aliasing either (eth1:0 eth1:1) but sence would it make even if it works, the firewall should be between two networks.

Regards
Yayati.

#1 lore raw

That isn't exactly true. If he is just trying to firewall traffic from the firewall box, then you would only have one ethernet card.

Meaning, he has one computer hooked up to the ASDL line and that computer he has the firewall setup on. There are no other computers on the network.

----- Original Message -----
From: "Your Name" <[email protected]>
To: <[email protected]>; <[email protected]>
Sent: Thursday, February 17, 2005 1:45 PM
Subject: Re: iptables problem

Quoted 14 lines

ip_forwarding shall only work with two lan cards, no set up shall work as a firewall with one network interface.

never tried aliasing either (eth1:0 eth1:1) but sence would it make even if it works, the firewall should be between two networks.

Regards
Yayati.

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Your Name
Quoted 11 lines · On Thursday 17 February 2005 19:45 Your Name's cat walking on the keyboard…
Quoted 1 line

I'm not sure of what you're saying, since the machine goes on the

internet

Quoted 1 line

thru an ADSL router, that performs NAT by itself, so the firewall, as

far as

Quoted 2 lines

I'll use eth1 both as internal and external interface, will only forward requests to the ADSL router. However, here there's the output of the

Quoted 7 lines

iptables

Quoted 1 line

-L -n:

ip_forwarding shall only work with two lan cards, no set up shall work as a firewall with one network interface.

That's not true,since I was working (thanks to suggestions of this mailing list) with a single network interface. Now that I tried it, it's working in the right way (i.e., with two network cards), but even with one it was working.

Luca

Signature · 2 lines
Luca Ferrari,
[email protected]