EFW Support

Support => General Support => Topic started by: mrcomponent on Wednesday 16 September 2009, 11:00:56 pm



Title: routing between network card
Post by: mrcomponent on Wednesday 16 September 2009, 11:00:56 pm
Hi,

This is a summary of our situation :

We have a modem routeur IP 10.0.0.1

I have endian installed with two network card 10.0.0.65 (main br) gw 10.0.0.1  and 10.0.2.1 (eth1)

I have a test server with this IP config :

IP 10.0.2.10
gw 10.0.2.1


With that we have a lot of servers and XP Clients.
Servers and computers using the old gateway (10.0.0.1) can communicate to this range 10.0.2.x

BUT my test server can only ping both IP address of the gateway.
for the rest it doesn't work.

With a traceroute I get

1/ 10.0.2.1
2/ timed out
...


It seems that endian can relay to the another network card ??

Someone have an idea, what I'm missing ??

Thank you,
Regards,

Frédéric



Title: Re: routing between network card
Post by: StephanSch on Friday 18 September 2009, 03:59:37 am
Are your clients behind efw or connected to the modem?
Did you accept the ping from green to red in the efw firewall?
What subnet mask has the server/efw/modem?


Title: Re: routing between network card
Post by: mrcomponent on Friday 18 September 2009, 04:06:19 am
Hi,

Thank you for your response.

Both, I have client connected to the modem directly and some "test" computer connected behind efw, but I only have a problem with computer connected behind endian.
For the other I have no problem.

The firewall is completly disabled. I set a rule Allow ANY from ANY !

Everyone is one the same subnet mask 255.255.255.0

Regards,
Frédéric



Title: Re: routing between network card
Post by: StephanSch on Friday 18 September 2009, 04:11:08 am
which clients of them you cannot ping to?


Title: Re: routing between network card
Post by: mrcomponent on Friday 18 September 2009, 04:13:06 am
Computers behind efw cannot ping computers connected to the modem.
But the other way is working perfectly ...

Fred


Title: Re: routing between network card
Post by: StephanSch on Friday 18 September 2009, 04:53:05 am
It should work if the clients connected to the modem have xactly the same ip (no vlan) as gateway as the efw has

Is there a firewall on the modem? What modem/router is it?


Title: Re: routing between network card
Post by: mrcomponent on Friday 18 September 2009, 05:04:41 am
This is a simple modem Linksys ADSL2, I will check tommorow morning for the firewall !

Fred


Title: Re: routing between network card
Post by: StephanSch on Friday 18 September 2009, 05:38:28 am
Looking at the manual of the ADSL2 it seems it has no real firewall.
Another possibility: the firewall on the clients (both nets possible).

Are the clients behind efw able to access internet?


Title: Re: routing between network card
Post by: mrcomponent on Saturday 19 September 2009, 03:01:36 am
Hello,

I just check, there is no active firewall running on the modem.
PC's behind efw cannot acces internet.

There is also a strange thing. I set a new server (Windows) with the same IP configuration and everything is working fine???
Is there a special or route - forward that I have to set up on efw ?

Thank you
Frederic


Title: Re: routing between network card
Post by: mrcomponent on Saturday 19 September 2009, 07:36:22 am
YES, I found the solution !!

The problem is with iptables... I don't know why there is a difference between the graphical interface and iptables ??
Is it the same or an added program.
 
I try this and everything is working fine (Internet,ping, ...)

Latest problem, when I restart I have to set those command again... Does someone have more experience with that ??

# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
# iptables -P INPUT ACCEPT
# iptables -P FORWARD ACCEPT
# iptables -P OUTPUT ACCEPT