Hello,

We are trying to set shorewall on a centos server hosting an asterisk server.

We are experiencing troubles due to very complicated environment.

Shorewall is running on the same box than asterisk with dual NIC, server also 
as several services running on it like ntp, https or dhcpd

Two network : 10.200.229.0/255.255.255.0 and 192.168.0.0/255.255.255.0

Router1     : 10.200.229.1
IP phones   : 10.200.229.20 - 10.200.229.29
Computers   : 10.200.229.30 - 10.200.229.40

Shorewall   : 10.200.229.10 (eth0) and 192.168.0.10 (eth1)
Asterisk ip : 10.200.229.10

DSL modem   : 192.168.0.254

All web traffic for asterisk /shorewall server (http, ftp, dns, ...)  should go 
through router1 10.200.229.1 via eth0

All SIP traffic (port 5060-5082 and 10000-20000) should go through dsl modem 
192.168.0.254 via eth1

/etc/sysconfig/network :

NETWORKING=yes
FORWARD_IPV4="yes"
HOSTNAME=localdomain.localhost
NOZEROCONF=yes

/etc/sysconfig/network-script/ifcfg-eth0 :
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:xx:xx:xx:xx:xx
ONBOOT=yes
NETMASK=255.255.255.0
IPADDR=10.200.229.10
GATEWAY=10.200.229.1
TYPE=Ethernet

/etc/sysconfig/network-script/ifcfg-eth1 :
DEVICE=eth1
HWADDR=00:xx:xx:xx:xx:xx
ONBOOT=yes
BOOTPROTO=none
TYPE=Ethernet
NETMASK=255.255.255.0
IPADDR=192.168.0.10

We don't control Router1 parameters.

Can you help me setting up a correct configuration, I'm trying for over 3 days 
to obtain a clean and working result. I tried multiple ISP, single ISP, no 
configuration is fully fonctionnal.

Thanks,

Olivier

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to