Displaying 20 results from an estimated 20000 matches similar to: "CentOS as a router"
2012 Sep 04
6
Simple routing question
We use a dual homed CentOS-6.3 host for our Internet gateway router.
Its internal nic (eth1) is configured such that the address
192.168.0.1 is one of its aliases.
# cat /etc/sysconfig/network-scripts/ifcfg-eth1:192BOOTPROTO=none
BROADCAST=192.168.255.255
DEVICE=eth1:192
IPADDR=192.168.0.1
IPV6INIT=no
MTU=""
NAME="LAN - Non-routable"
NETMASK=255.255.0.0
NETWORK=192.168.0.0
2015 Feb 18
3
Help with routing question.
CentOS-6.6
We have a host that has multiple IPv4 addresses aliased to eth0. The
primary address is 216.185.71.x and the alias is 192.168.6.x.
This host connects to devices on both netblocks without problems.
Only default routing is used and it looks like this:
#ip route
192.168.6.0/24 dev eth0 proto kernel scope link src 192.168.6.x
216.185.71.0/24 dev eth0 proto kernel scope link src
2005 Oct 31
4
VPN via PPTP and MPPE
I have set up a VPN over PPTP on a CentOS server using the
DKMS module rpm dkms-0-2.0.6-3.el4 from
http://centos.karan.org/el4/extras/stable/i386/RPMS/repodata/repovie
w/dkms-0-2.0.6-3.el4.kb.html
and
kernel_ppp_mppe-0.0.5-2dkms.noarch.rpm at
http://pptpclient.sourceforge.net/howto-fedora-
core-3.phtml.
I have configured the pptpd server on Centos4 to use MS_CHAPv2,
128bit encryption and
2015 Mar 27
2
Anonymous SIP calls
We have a FreePBX-12 / Asterisk-12 setup that supports about 24
extensions, most internal Snom870s but six or so external (Jitsi-2.8).
we use TLS and SRTP everywhere on our side of the fence. The server
host is a dedicated atom(tm) box using the FreePBX distro (CentOS-6.x)
and is up-to-date. Registrations require very long random passwords
and registrable devices are further restricted by
2015 Apr 04
1
Explanation please?
I am seeing log file entries like this:
IN=eth0 OUT=eth1 SRC=109.74.193.253 DST=x.y.z.34 LEN=122 TOS=0x00
PREC=0x00 TTL=48 ID=49692 PROTO=ICMP TYPE=3 CODE=3 [SRC=x.y.z.34
DST=109.74.193.253 LEN=94 TOS=0x00 PREC=0x00 TTL=53 ID=41330 PROTO=UDP
SPT=34679 DPT=53 LEN=74 ]
This is found on our gateway host. eth0 is the WAN i/f, eth1 is the
LAN i/f. Our netblock is x.y.z.0/24. Can somebody tell me
2012 Aug 11
7
Eth1 problem on CentOS-6.3
I am trying to transport a dd image between to hosts over a cross
linked gigabit connection. Both hosts have an eth1 configured to a
non routable ip addr on a shared network. No other devices exist on
this link.
When transferring via sftp I received a stall warning. Checking the
logs I see this:
dmesg | grep eth
e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1)
00:1c:c0:f2:1f:bb
2008 Oct 03
3
OT: RIP settings for private netblocks
I am contemplating converting some of our internal networks from routable
to private IPv4 address space. I have a question about RIP as implemented
under Cisco IOS 12.x.
Presently the setting for rip is:
router rip
version 2
passive-interface [[FastEthernet]]0/0
network aaa.bbb.ccc.0
no auto-summary
What I would like to know is how one routes the entire 192.168/16 address
space using rip.
2013 Jun 07
2
IPv4 192.168.71.1 'leaks out onto WAN.
Arch = x86_64
OS = CentOS-6.4 (centos) with all updates applied to date.
On our gateway host eth0 is the WAN access and eth1 is the LAN. I wish
to activate the address 192.185.71.1 on eth1. The ifcfg-eth1:192071
file contains this:
NAME=""
BOOTPROTO=none
MACADDR=""
IPV6INIT=no
DEVICE=eth1:192071
NETMASK=255.255.255.0
MTU=""
BROADCAST=192.168.71.255
ONPARENT=no
2015 Mar 03
6
TLS, SRTP, Asterisk11 and Snom870s
CentOS-6.5 (FreePBX-2.6)
Asterisk-11.14.2 (FreePBX)
snom870-SIP 8.7.3.25.5
I am having a very difficult time attempting to get TLS and SRTP
working with Asterisk and anything else. At the moment I am trying to
get TLS functioning with our Snom870 desk-sets. And I am not having
much luck.
Since this is an extraordinarily (to me) Byzantine environemnt I am
going to ask if any of you have gotten
2007 Nov 24
5
rspec.opts
Where can I find a list of the options and their usage and meanings for
the contents of this file?
Regards,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada
2020 Jul 07
3
Can someone explain why host reports no SOA record for domain on DC?
[root at smb4-1 ~ (master)]# samba-tool dns query localhost brockley.harte-lyne.ca
brockley.harte-lyne.ca ALL -U administrator
Password for [BROCKLEY\administrator]:
Name=, Records=4, Children=0
SOA: serial=3, refresh=900, retry=600, expire=86400, minttl=3600,
ns=SMB4-1.brockley.harte-lyne.ca., email=hostmaster.brockley.harte-lyne.ca.
(flags=600000f0, serial=110, ttl=3600)
NS:
2008 Oct 21
3
OT: Setting a CentOS to gateway a private IP address
This is mildly off topic since it has more to do with TCP/IP networking
than with CentOS per se. However, at the risk of ruffling a few feathers
I would like some advice on how to resolve the following routing problem:
Given:
dual homed host running CentOS-5.2 with
eth0 = 2xx.yyy.zzz.23
eth1 = 192.168.219.1
and a Cisco gateway at 2xx.1xx.y7y.1 with the following networks:
interface
2013 Sep 16
3
easy BASH question
I am obviously missing something basic here but can someone explain to me what
is wrong with the first statement, which returns nothing?
$ history | grep ^su
$ history | grep su
2997 su -l
3024 su -l
3050 su -l
3054 su -l
Thanks,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited
2010 Sep 13
7
Problem with SSHD update.
This morning I applied the 13 or so new updates to my servers. On
one of them the ssh service and clients stopped working immediately
after the update. I restarted the server in anticipation that there
might be some instability introduced by updating on a system with
active ssh connections. However, this has not cleared the problem.
The packages in question are:
openssh.i386
2014 Dec 02
7
Help with at Bash script
I am attempting to get a script borrowed from DJB to work on my CentOS-6.6
box. Simplified it looks like this:
tcpdump -l -n -e port 53 \
| awk '{if ($14 ~ /A.*?/) print $15}' \
| while read domain ; do echo $domain ; done ;
The sticking point is the 'while read' construct. Run just as 'tcpdum | awk'
I get this:
english.stackexchange.com.
www.urbandictionary.com.
2006 Jan 25
8
conditional replacements in rhtml
I am working on the Agile programming tutorial and trying out some
ruby code. Can someone tell me why the following works:
<h1>Display Cart</h1>
<p>
Your cart currently holds <%= @items.size %>
<%= @items.size == 1 ? "item" : "items" %>.
</p>
while this does not?
<h1>Display Cart</h1>
<p>
Your cart currently
2007 Sep 07
7
rpm spec files for ruby
I am trying to package ruby-1.8.6 for CentOS-4.5 and I would like to take
a look at the spec files used for ruby-1.8.1 that ships with CentOS. Is
there any place that I can see these or could someone do me the kindness
of sending them to me?
I am also confused as to how one breaks out the component parts of a build
into separate rpm packages. The source distribution from ruby-lang.org
seemingly
2006 Jan 27
4
testing for nil numeric value in find
In the agile/rails tutorial book the following construct is added
to products.rb.
def self.salable_items
find( :all,
:conditions => "date_available <= now()",
:order => "date_available desc")
end
Now, I wish to extend :conditions => to exclude products that have
a nil value for the price. I have tried different syntax
2011 Dec 14
2
Shutdown KVM guest not working
I am in the middle of a rather confusing situation. At
the moment I am unable to shutdown a KVM guest machine.
Nor am I presently able to open a virt-manager session on
the host.
I am not exactly sure what has happened but the problem
with the vm guest is that issuing a "virsh shutdown 1"
from the root console has no effect.
# virsh list
Id Name State
2015 Jun 16
4
NUX Skype for Linux
I had cause to install the Skype for Linux package from the NUX repo.
I discover that this package is configured to automatically start
Skype whenever one logs on to the Gnome desktop. This behaviour I do
not wish. However, there seems to be no option in Skype to turn that
'feature' off. Is there any way to disable this in Gnome or elsewhere?
I will be removing Skype shortly when the