Displaying 20 results from an estimated 2000 matches similar to: "setup iptables to allow forwarding through eth1"
2015 Feb 19
4
Masquerading (packet forwarding) on CentOS 7
Hi,
I just migrated my office's server from Slackware64 14.1 to CentOS 7. So
far everything's running fine, I just have a few minor details to work out.
I removed the firewalld package and replaced it by a simple Iptables script:
--8<----------------------------------------------------
#!/bin/sh
#
# firewall-lan.sh
IPT=$(which iptables)
MOD=$(which modprobe)
SYS=$(which sysctl)
2007 Nov 22
4
reg vhost in apache
Hi all,
I am facing one problem in configuration of httpd-vhosts.
my requirment is if url comes from servername (i.e http://sutra) it
should redirect to my home page.if url comes from serverAlias(i.e
http://sutrateam) it should go to advance search page....if any one
knows how to do pls help me
below file is my vhost file
<VirtualHost *:80>
ServerName sutra
ServerAlias
2002 Apr 04
4
Samba 2.2.3a and password expiration?
One of my users complained that his Win2kSP2 complains that his password
Is going to expire in 8 days.
A while ago we changed from Win2k domain to a Samba 2.2.3a controlled domain.
How do I disable the password expiration? I read the man pages and searched
Google but couldn't find any hints about the issue. It almos seems like this
expiration thing should not be happening at all...?
2007 Sep 20
3
running php4 and php5 parallel
Is it possible to run php4 and php5 parallel in Centos4 somehow? If
the parallel php5 could be installed from rpm also that would be great
also.
Regards,
Peter
2015 Feb 19
0
Masquerading (packet forwarding) on CentOS 7
On 19.02.2015 11:58, Niki Kovacs wrote:
> Hi,
>
> I just migrated my office's server from Slackware64 14.1 to CentOS 7. So
> far everything's running fine, I just have a few minor details to work out.
>
> I removed the firewalld package and replaced it by a simple Iptables
> script:
>
>
> --8<----------------------------------------------------
>
2010 Nov 02
1
Libvirt and LXC
(oops accidentally sent to -owners)
Hi, i'm trying to start a LXC guest on a F14 computer .. followed the
examples in http://libvirt.org/drvlxc.html, but got stuck when
starting it ..
03:07:23.706: debug : virCgroupNew:542 : New group /
03:07:23.707: debug : lxcControllerRun:563 : Setting up private /dev/pts
03:07:23.711: debug : lxcControllerRun:589 : Mouting 'devpts' on
2004 Sep 04
4
masquerade and mac problem
Hello guys
I don''t know if this thing has been posted before (if it was , please forgive me).
I have 7 computers at home and I want all of them to have access to the internet. In order to do that , I set up a linux router (2 network cards) as a usual router (eth0 : 82.77.69.75 - internet connection ; eth1 : 192.168.10.1 - local network) . The other computers have ips ranging from
2005 Aug 09
4
Too slow computer?
Hello! I''ve put some questions on this list some weeks
ago and I''ve got good answers. Thank you!
Now I''ve finished my (beautyful) script and I ran it
on my router...
About my script:
It routes packages based on their destination on the
Internet. I have about 1650 preffered destination
networks listed in some file. The script read this
file and marks every package for
2005 Dec 22
5
control p2p upload bandwidth rate
Hi all,
I am running Slackware 10.1 with Kernel 2.6.14.3 includes iptables 1.3.4
with layer 7
My network diagram below: -
INTERNET --- LINUX_ROUTER_FW --- PCs
Below is my simple iptables script: -
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -t mangle -A POSTROUTING -m layer7 --l7proto applejuice -j MARK
--set-mark 1
iptables -t
2012 Jul 11
2
Computing inverse cdf (quantile function) from a KDE
Hello,
I wanted to know if there is a simple way of getting the inverse cdf for a
KDE estimate of a density (using the ks or KernSmooth packages) in R ?
The method I'm using now is to perform a numerical integration of the pdf
to get the cdf and then doing a search for the desired probablity value,
which is highly inefficient and very slow.
Thanks,
-fj
[[alternative HTML version deleted]]
2012 Aug 02
2
ggplot does not show in knitr
Hello,
I'm having some issues getting a ggplot figure to show up in the knitr
output, when placed in a loop.
Specifically, I have a loop inside a knitr chunk :
```{r fitting, warning=FALSE, fig.width=10, fig.height=10, fig.keep='high'}
for (t in 1:T)
{
# do a regression of tgt.vals ~ predictors and compute coeffs and
fitted values (fit.vals / fit.adj.vals)
plot(
2013 Apr 29
4
ECC memory errors
I started to receive this kind of messages a few days ago on one of my
servers:
Message from syslogd@ at Mon Apr 29 08:02:55 2013 ...
server1 kernel: EDAC MC0: UE row 0, channel-a= 0 channel-b= 1 labels "-":
(Branch=0 DRAM-Bank=0 RDWR=Read RAS=0 CAS=0, UE Err=0x2 (Aliased
Uncorrectable Non-Mirrored Demand Data ECC))
I've never had ECC memory to fail on me before, so now I am
2006 Apr 12
33
DUNDi with SIP
Anyone out there have a functional DUNDi configuration using SIP for the
inter-Asterisk transport? I've gotten it to work with IAX2, but if I
change it to SIP it does not pass the call over even though it knows
where to send it. Thanks.
The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally
2004 Nov 29
2
Interesting oopses...
OK - this is starting to get frustrating... Are there any known issues
with 2.6.9 and traffic shaping? I am using 2.6.9 with geoip 20041115,
and get odd oopses. The following script oopses my box:
-----------------------------------------------------
#!/bin/sh -x
IFOUT=''eth1''
IFIN=''eth0''
TC=''/sbin/tc''
2006 Jun 26
7
'500 Internal Server' Error on SIP NOTIFY
Is anyone getting '500 Internal Server' errors back from their Polycom phones when Asterisk sends a SIP NOTIFY message to them?
I called Polycom tech support, who where utterly useless.
Of course Polycom won't officially support it anyway, as they only support Asterisk Business Edition. We're using 1.2.9, but it's been ocurring for quite some time. We have about 35 phones and
2011 Mar 09
4
CentOS 5.5 does not recognise SAS drives with LSI 1068E Controller
I need to do a new CentOS net install on a new server having the
Supermicro X7DVL-3 motherboard:
http://www.supermicro.com/products/motherboard/xeon1333/5000V/X7DVL-3.cfm
Based on that info I assume the board having a "8x SAS Ports via LSI
1068E Controller". We received the server with 3 drives + 1 spare as
hw RAID-5 preinstalled. During bootup I see that the drives are
initialised
2006 Mar 07
1
OT: Polycom Registration Weirdness
This is a SER/Polycom question, but I hoped we may have some SER guru's here...
I have a series of Polycom phones that are tying to register with OpenSER. The phone sends a REGISTER message, and OpenSER replies with Unauthorised (all normal). The phone re-sends the REGISTER with the credentials, and OpenSER sends Ok.
Here's where it goes downhill. The polycom's appearance display
2011 Apr 13
4
Monitoring power consumption
Hi all,
I would like to monitor the power consumption of my server. What I am
looking for is:
* a simple monitoring device that would measure the power consumption
of 1 server
* a way to get the consumption reading from that device to my centos
server (via usb / wlan / whatever works)
Any suggestions?
Best,
Peter
2018 Mar 11
3
Squid vs. iptables redirection: exception for certain domains ?
Am 11.03.2018 um 11:53 schrieb Nicolas Kovacs <info at microlinux.fr>:
>
> I've experimented some more, and I have a partial success. Here, I'm
> redirecting all HTTPS traffic *except* the one that goes to my bank:
>
> iptables -A PREROUTING -t nat -i $IFACE_LAN -p tcp ! -d
> www.credit-cooperatif.coop --dport 443 -j REDIRECT --to-port 3129
>
> This works
2012 Jun 03
2
wins option in nsswitch.conf not working
I am trying to get BackupPC working with automount as documented in
this CentOS HowTo:
http://wiki.centos.org/HowTos/BackupPC
I think my CentOS6 box's NetBIOS name resolving is not working
correctly as when I try to access the mount for Win7 machine called
Parallels I get this:
[root at au ~]# ls /windows
ls: cannot access /windows/parallels: No such file or directory
parallels
[root at au