Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Silvio

Pages: [1]
1
Installation and Upgrades / Re: Server into an internal net
« on: April 07, 2008, 02:12:33 pm »
Hi, the problem is solved. There was an incorrect static route configuration in the server. Sorry for the inconvenient and thanks you for your time again.

2
Installation and Upgrades / Re: Server into an internal net
« on: April 07, 2008, 12:15:06 pm »
I think the problem should be in firewall rules, I have examined again the capture in the server and I can see that the public ip, we suposse 193.147.175.35 establish a conection with the server, 172.16.2.107, when the server begin the send data it when the transmission fails.

I attach a file where you can see what I'm saying, the public ip showed is the client one, so I supossed ebox is doing correctly the redirection and is in the back nat where is the problem.

Best regards, thanks for your time.

3
Installation and Upgrades / Re: Server into an internal net
« on: April 07, 2008, 11:03:01 am »
My configuration is  like this one:

eth0 172.16.xxx.xxx internal

eth3 193.147.xxx.0 external

I'm trying to access to a server with ip 172.16.2.30 from the inet, I configure the redirection as follow:

Iface:eth3 Extern Port:80 Proto:Tcp Ip_Adress:172.16.2.30 Port:80

To access I write in my browser the public ip on eth3 of the ebox machine, but it doesn¡t work. I run wireshark on the server and there isn't any packet from the ebox of any place, instead if I type directly in the browser the private ip of the server it works perfectly. The server has ebox like gateway. Can it be a iptables configuration problem into the ebox machine?

Thanks you again for your implication and your great job.

4
Installation and Upgrades / Server into an internal net
« on: April 07, 2008, 10:18:45 am »
Hi,

I have a web server into an internat net using ebox like gateway, I'm trying to configure access from external nets to this server using port redirection in the ebox machine. The problem is that the server doesn't receive any petition, if I do the redirection agaisnt a public ip machine it works perfect. What are I doing badly?

This is an example of the configuration:

eth0 port:80 proto:tcp ip:172.16.xxx.xxx port:80

Is this the correct way? Have I to configure any more?

Thanks you very much.

5
Installation and Upgrades / Firewall logs
« on: April 04, 2008, 12:36:20 pm »
Hi!

I'm using ebox 11.99 over Debian, until this morning I can consult the firewall log, and now I can't do it. However, can I consult a different event of drop? Is there anyway to create a firewall log?

6
Installation and Upgrades / Import dhcp fixed adresses list
« on: March 03, 2008, 10:01:30 am »
Hi, there is a perl script to import dhcp fixed adresses, it's based in the users script that is in the wiki.

It's very simple, you need a file name "lista in the root's home directory, copy the text above into a text file and made it executable for root.

#!/usr/bin/perl

use strict;
use warnings;

use EBox;
use EBox::Global;

EBox::init();
my $dhcpModule = EBox::Global->modInstance('dhcp');

my $iface = 'eth0';
my $ip;
my $mac;
my $name;
open(my $HOSTS,"lista");

while(my $line = <$HOSTS>)      {
        chomp ($line);
        my ($ip,$mac,$name) = split(',',$line);
        $dhcpModule->addFixedAddress($iface,mac => $mac,ip => $ip,name => $name);
}
close($HOSTS);

1;

The lista file need the CVS file type, example:

172.16.3.4,ff:aa:dd:ee:33:11,cdctest1,
172.16.2.1,aa:aa:aa:aa:aa:aa,natprobo2,


I hope this could be useful,

Best regards

Pages: [1]