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.


Topics - Netz

Pages: [1]
1
Installation and Upgrades / webserver for INTRAnet
« on: November 26, 2011, 09:19:13 pm »
Hi,
before I came to Zentyal I used Ubuntu Server with a LAMP for a website thats only avialeble form network.
Now I want to realise this here.

I have an static address for eth0 and that is working fine (updates and so on).
Now I'm trying to get the webserver working.

I tryed to make a second gateway 10.196.128.1 and divide the traffic. Did't work.
I tryed to make a static route from 10.196.255.255/32 to 10.196.128.1 . Did't work.

Before I was using this settings
Code: [Select]
echo "1 admin" >> /etc/iproute2/rt_tables
ip route add xxx.yy.213.0/24 dev eth0 src xxx.yy.213.8 table admin
ip route add default via xxx.yy.213.1 dev eth0 table admin
ip rule add from xxx.yy.213.8/32 table admin
ip rule add to xxx.yy.213.8/32 table admin

echo "1 intranet" >> /etc/iproute2/rt_tables
sudo ip route add 10.196.128.0/24 dev eth2 src 10.196.128.1 table intranet
sudo ip route add default via 10.196.128.1 dev eth2 table intranet
sudo ip rule add from 10.196.128.88/32 table intranet
sudo ip rule add to 10.196.128.88/32 table intranet

How to include what I had into the GUI of Zentyal?
Please keep in mind, I want my website to be able to be updated and send mails, but be abolutly not accesseble from the INTERnet.

Thanks!

Pages: [1]