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 - jcanfield

Pages: 1 ... 3 4 [5] 6
61
Run this :
Code: [Select]
#sudo squid -z


62
Installation and Upgrades / Re: schedule backup
« on: February 27, 2008, 04:42:16 pm »
Thanks for the pointer! This will not mess up Ebox "built-in" backup?

Nope.  Should be fine.

63
Installation and Upgrades / Re: 1:1 NAT
« on: February 27, 2008, 04:16:06 pm »
Iptables doesn't support virtual interfaces, so you can't create rules on the interfaces alias, however you will  want to create the alias for the second address so iptables can manage the new address address properly.

Here's an example:

For aliases:
eth0:0 == 10.0.0.1
eth0:1 == 10.0.0.2 <--make sure you designate as external

Do this:
iptables -t nat -A PREROUTING -i eth0 -d 10.0.0.1 -j DNAT --to-destination 192.168.1.1
iptables -t nat -A PREROUTING -i eth0 -d 10.0.0.2 -j DNAT --to-destination 192.168.2.2

Note:  I have not done this, but I'm very curious how this works for you.  It should work  "In theory" :)

Let me know,

-Jim

For more info:
http://www.netfilter.org/documentation/HOWTO//netfilter-double-nat-HOWTO.txt



64
Installation and Upgrades / Re: schedule backup
« on: February 27, 2008, 01:17:32 am »
Try flexbackup.   It's in the deb repository and works very well with cron.

The README is very helpful:

http://www.flexbackup.org/README





65
Installation and Upgrades / Re: HDD management tool??
« on: February 26, 2008, 02:38:14 am »

Is there any graphical hard disk management tool to install on the ebox?


Depending on which distro you are using (debain or ubuntu) you should use the common tools included.  This should all be part of the server planning process.  For example, if you plan on having software raid, build your server using standard documentation [1] then install ebox on top.

[1] http://advosys.ca/viewpoints/2007/04/setting-up-software-raid-in-ubuntu-server/

-Jim

66
Installation and Upgrades / Re: how to change the ebox system hostname?
« on: February 26, 2008, 12:13:02 am »
Make sure you edit /etc/hosts as well.

67
Installation and Upgrades / Re: ebox and vista
« on: February 19, 2008, 02:35:50 am »
This is probably the version you are running: 

Code: [Select]
#smbd -V
Version 3.0.14a-Debian

Unfortunately, you are out of luck at the moment. You could try the Ubuntu cd. 

68
Installation and Upgrades / Re: ebox and vista
« on: February 18, 2008, 06:09:45 am »
What is your samba version?  You must have >3.0.26. For ebox, this means you must use the ubuntu install.

69
Installation and Upgrades / Re: DHCP on multiple internal networks?
« on: February 14, 2008, 04:26:56 pm »
If you create a subnet in the range that matches the second nic, dhcp should automatically bond to the second nic...i haven't tested this in ebox though.

My network was originally setup like this.  I later purchased a layer 3 switch and started using DHCP helper address.

70
Installation and Upgrades / Re: Mail server customisation & access to it
« on: February 14, 2008, 03:42:34 am »

Some questions:
I have to add some lines to the postfix main.cf file. Something like "mynetworks = 127.0.0.8/32, 192.168.1.200/32" and some spam blacklist. But after every reboot or ebox reconfiguration this all my changes disappear, and I have to write them manually again. Any suggestions?

I can answer this one.  It's the first question most new ebox users ask. In order to keep the changes, you must edit the .mas file. In your case it would be:
Code: [Select]
/usr/share/ebox/stubs/mail/main.cf.mas

As for the firewall issue, perhaps someelse can shed some light on the issue.  Your initial config looks correct.  Just make sure you save all your changes.


71
I don't see a problem changing the .mas file, however, you will want to create a backup since it will likely be overwritten when you update ebox. 

I assume by "authorize" you mean you don't what to "authenticate" to the samba server.  Here's a sample public share:

Code: [Select]
[public]
   comment = Public Files
   path = /public/
   read only = no
   writable = yes

72
Installation and Upgrades / Re: Problem with external connections
« on: January 28, 2008, 01:51:43 am »
Not to make things more simplistic than they might be, but have you tried just adding a simple allow all rule for the internal networks?

73
Installation and Upgrades / Re: how to install printer driver
« on: January 22, 2008, 03:34:11 pm »
1020 is a fun beast.  You mention you have it on your network.   How is it attached? To another machine or via print server? 

Here are a couple links that should get you going.  No promises though, I have found this printer/driver to be quite flaky.

http://openprinting.org/show_printer.cgi?recnum=HP-LaserJet_1020
http://foo2zjs.rkkda.com/

74
Installation and Upgrades / Re: 2 WAN and 2 LAN configuration help
« on: January 13, 2008, 06:14:35 pm »
i haven't actually done this, but here's what it looks like you need to do.

1) Create routes for both interfaces
2) Write a heartbeat script for each LAN interface that monitors the primary WAN.

Check out this link [1], it has all of the moving parts. Not sure how things will tie into ebox.

[1] http://blog.taragana.com/index.php/archive/how-to-load-balancing-failover-with-dual-multi-wan-adsl-cable-connections-on-linux/





75
I just installed on a new Dell sc440.  I had to user the newer kernel get networking but other than that.  It works well. 

Pages: 1 ... 3 4 [5] 6