Displaying 20 results from an estimated 2000 matches similar to: "CentOS 4.x - Multiple gateways"
2005 Dec 05
4
IPSec tunnel and routing
Hello.
I wonder how just correct couple of spdadd commands like
spdadd 192.168.1.0/24 192.168.2.0/24 any -P out ipsec esp/tunnel/10.1.0.1-10.2.0.1/require;
spdadd 192.168.2.0/24 192.168.1.0/24 any -P in ipsec esp/tunnel/10.2.0.1-10.1.0.1/require;
makes _routing_ of packets from 192.168.1/24 into 192.168.2/24.
If I understand correctly how it works on *BSD, these commands with
make already
2008 Dec 10
2
Iptables Question
I have a squid proxy running transparently, so in my firewall script
I run the following fairly early:
iptables -A PREROUTING -t nat -i $LAN -p tcp -m multiport --dports 80,443 -j REDIRECT --to-port 3128
This is a multihomed server so after this change the masquerading was
removed (as only web access on the lan side of this server was needed).
I now need to masq cleanly one device so that it
2019 Mar 05
4
getent not working after installing firewall
Solution is really simple.
Since this server is dual-homed ( 2 nic's ), i suggest setup advanced routing tables.
The short version of howto setup.
edit /etc/iproute2/rt_tables and Add :
10 OfficeLan
20 InternetWan
Lookup the routing tables:
ip route show table OfficeLan
ip route show table InternetWan
The default gateway's is to the internet. ( change ethX to you network interface
2002 Sep 29
11
Iptables, SNAT/MASQ, Multiple gateways
I have a dual-homed firewall. It has 2 Internet connections, provided by
different ISPs (each with an associated IP address). The 2 Internet
connections are connected to the same physical interface. The 2 Internet
connections do NOT have equal bandwidth
How do I configure the SNAT/MASQ and ensure sharing of the gateways with
the correct ratio of usage and with the correct source IP address?
I
2015 Mar 13
4
Re: Name resolution not working inside virt-customize
On 03/13/2015 01:29 PM, Richard W.M. Jones wrote:
>
> I wonder why dhclient doesn't create /etc/resolv.conf .
>
FWIW, I've also found that on the fedora 21 host, supermin passes all 8
"make check" tests. On the Ubuntu 14.04 host, it fails 2 of 8. The log
is attached.
Additionally there are other weird differences, like /etc/passwd and
/etc/shadow and many other /etc
2007 Aug 09
4
MS Exchange to MBOX
We are planning on moving a large amount of Exchange mailboxes to
UNIX mbox format.
My question is, does anyone know of any projects out there or of any
tools that can assist in this conversion?
Thanks
Josh
2010 Jun 21
2
Querying netgroup information
Hi
I have been searching for commands to "debug" netgroup membership. I
am using netgroups provided by ldap. I can do a ldap query but it
seems a bit unwieldy to do. I have found a package on ubuntu called
ng-utils
https://launchpad.net/ubuntu/jaunty/+source/ng-utils/0.7-1 which does
what I require and compiles very easily. It contains two commands
netgroup and innetgr to query netgroup
2006 Mar 11
1
Getting DHCP Via CLI
Hi All,
I'm wanting to tell my centos box to get a dynamic ip via cli. I know I
can do "ifconfig eth0 up", or "ifconfig eth0 191.168.100.35 netmask
255.255.255.0", but, how do I tell it to send the dhcp 0.0.0.0 broadcast
to the DHCP server? Cheers.
Mark Sargent.
2009 Nov 15
3
Problem with Yum on CentOS 5.4
Hi,
I recently downloaded and burned the 5.4 DVD ISO. All my machines are
now running 5.4, but these are installs I performed with 5.0, 5.1, 5.2
etc. and then progressively upgraded. Now I had to use 5.4 because a
friend's laptop, a brandnew Fujitsu Esprimo Mobile, refuses to boot
anything under 5.4.
After a fresh install of the base system, first thing I do is 'yum
update' with
2018 Nov 19
3
NetworkManager and /etc/resolv.conf
> On 11/17/18 8:31 AM, Alice Wonder wrote:
>> On 11/17/2018 07:01 AM, Alice Wonder wrote:
>>> On 11/17/2018 06:43 AM, Alice Wonder wrote:
>>>> CentOS 7.5 image running on linode.
>>>>
>>>> unbound running on localhost.
>>>>
>>>> Have to use a cron job once a minute to keep /etc/resolv.conf using
>>>> the
2007 Mar 09
4
Adduser help
at
http://wiki.openpbx.org/tiki-index.php?page=Easy+route+to+building+OpenPBX.org
there is the following adduser command:
adduser --no-create-home --ingroup openpbx --disabled-password
--disabled-login openpbx
This does NOT seem to be the right format for Centos. So far, using
man, I have come up with;
adduser -M -g openpbx
What else do I need?
2009 Nov 15
3
bash variable expansion moment
It's half a nice Saturday later and many attempts have brought no
satisfaction. Maybe this can't be done.
I'm trying to write a function which, when called from one function
execute in another. In itself, that's not the problem. Rather, there's
one built-in variable which is evaluated in the function definition and
it's value is then set (too early).
Here's the one
2006 Dec 01
2
/var goes read-only
This is an issue that I have been having with one of our production servers
for a couple of months, just out of no where /var goes to read only.
There aren't any errors that show up in /var/log/messages nor dmesg, I
checked to make sure that the drives on error option is set to continue and
there isn't anything as far as I can tell wrong with the disks. Also there
is plenty of disk space.
2007 Mar 26
2
Disabling selinux at boot command prompt
I noticed in 4.92 there is no disabling selinux at install.
It is now a firstboot option which then requires a reboot.
Is there anyway to disable selinux at the boot install prompt
so after the firstboot screens it wont reboot again?
I presently install with "linux askmethod" so I can select NFS install.
Thanks,
Jerry
2007 Feb 04
2
APM and suspend to swap
I have been delving into how to get this HP NC4010 to suspend. I think
the practice of just closing the unit for 15+ min inside my backpack as
I move to the next meeting is what cooked my drive...
So it seems that Debian users have been successful with APM:
http://www.proulx.com/~bob/nc4000/ and http://www.gag.com/~bdale/nc4000/
So my Centos related questions are:
I need to turn acpi=off
2006 Jun 01
2
CentOS 4.3 Server spontaneously rebooting (over and over again)
Hi there,
This post has also been posted in the Hardware and General forums but I
thought it might be wise to post it here as well!
My CentOS 4.3 (upgraded from CentOS 4.2 installed from Linux Magazine's
April 2006 issue) server is rebooting spontaneously (over and over again).
It started while I was copying from USB-device (iPod) to another
USB-device (Freecom Portable-Hard-disk) but it
2003 Jan 21
7
DHCP Question
How do I configure my DHCP client to restart Shorewall when it obtains a
new IP address?
Blake
2004 Feb 15
1
nmbd multihomed registration request must be directed at a WINS server error
Hi there,
I just got a new machine with Redhat Enterprise Workstation and samba
3.0.0-14 pre-installed. I am trying to connect it to my existing network
which has a redhat v8 samba v2 PDC controlling 16 or so win2k and winxp
machines.
In the nmbd log I get this error 3 times every 5 seconds or so:
nmbd/nmbd_packets.c:process_nmb_request(1448)
process_nmb_request: Multihomed registration
2008 Dec 05
4
Web Filter
I have a location using a CentOS 5 server that's multihomed running Asterisk and iptables for internal web access.
Recently some sales people got busted surfing some explicit content so the owner wants something in there to block this.
I had heard of Dans Guardian and am reading about what's involved here but just wanted an opinion on what's the best solution for this. NTLM silent
2014 Nov 03
1
Multihomed AC DC Server and subnets
Hello:
I am currently planning to divide our network in smaller subnets. Our
central server is a Samba AD DC File Server also acting as DC.
My plan is subnet our current network, add a new interface for each
subnet in the Samba File Server and configure it to listen in all new
interfaces.
Questions:
1 - Does this multihomed configuration have any drawback, specifically
because AD relies