Displaying 20 results from an estimated 10000 matches similar to: "net.ipv4.conf.all.forwarding"
2015 Jan 22
1
IP forwarding
Recently, someone or something has been turning off IP forwarding
on my CentOS server:
--------------------------
[tim at william NumberTheory]$ sudo sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 0
[tim at william NumberTheory]$ sudo sysctl -w net.ipv4.ip_forward=1
net.ipv4.ip_forward = 1
[tim at william NumberTheory]$ sudo sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 1
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)
2009 Feb 06
8
iptables: forwarding on internal device
Good Evening,
I am trying to forward packages on an internal device using iptables:
/sbin/iptables -A FORWARD -i eth0 -o eth0 -m state --state
NEW,RELATED,ESTABLISHED -j ACCEPT
but the packages are still blocked, e.g.:
Feb 6 20:58:28 firewall kernel: DROP-TCP IN=eth0 OUT=eth0
SRC=192.168.100.177 DST=172.28.2.184 LEN=40 TOS=0x00 PREC=0x00 TTL=127
ID=16609 PROTO=TCP SPT=7166 DPT=3590 WINDOW=0
2005 Jun 17
4
linux ip forwarding problem
Hi,
I have three linux machines, and I want to let one of them forward packets
betwen the other two. The forwarding node has two ethernet cards,
connecting the two two machines respectively. However, when I ping between
the two end points, the forwarding node can receive the ping requests at
its eth0, but it never forwards them to its eth1. So is the reverse
direction.
The forwarding node is
2009 Aug 30
2
setup iptables to allow forwarding through eth1
I have a fresh installed CentOS 5.3 server which should route traffic
between two networks like this:
network A (Internet) -- eth0 (default gw) : server : eth1 -- network B (LAN)
I have set in sysctl.conf
net.ipv4.ip_forward = 1
and routing works fine like this. But when I switch on the iptables
service (with default setup, configured when installing the server),
routing stops working (or at
2008 Jul 22
3
6.3-RELEASE-p3 recurring panics on multiple SM PDSMi+
We have 10 SuperMicro PDSMi+ 5015M-MTs that are panic'ing every few
days. This started shortly after upgrade from 6.2-RELEASE to
6.3-RELEASE with freebsd-update.
Other than switching to a debugging kernel, a little sysctl tuning,
and patching with freebsd-update, they are stock. The debugging
kernel was built from source that is also being patched with
freebsd-update.
These systems are
2012 Nov 21
3
Increasing the DMESG buffer....
Hi,
As a next question to my building this server.
I'm nogt able to get a full verbose dmesg.
Probably because the kernelbuffer for it is too small.
I know there used to be a kernel option to increase it.
But I can not find it with the setting in NOTES or any other place I
looked....
Is it still there?
Thanx,
--WjW
2013 Nov 05
8
Forwarding external traffic to another external server?
I''m trying to use my VPS server (single interface of course) as
somewhat of a VPN gateway to my other location (which is not
accessible directly from some places) where the openvpn server is
running, and am kind of lost as to what to try next.
I tried a redirect rule, but apparently shorewall didn''t like that (it
just failed to start).
I tried adding the rules via
2020 Jun 17
2
C8 - KVM on bridge on VLAN on team issues.
As part of my initial KVM host on C8 deployment, I decided to set up
some HA features on the new host, specifically NIC teaming. Teaming
seems to be bond++ of a sort, so I thought I would at least try it.? So
here's the scenario:
1.) Server with two gigabit ethernet ports, two Cisco switches.
2.) During install, used the 'Server with GUI' group and added the
virtualization
2003 Apr 08
7
4.8-STABLE Kernel Panic with dummynet options.
I first met this problem when our (60 students) internetgateway refused to
boot its new kernel, it was a 4.7-RELEASE. Then i loaded the old kernel and
went home to check if my 4.8-STABLE does likewise. And the answer was yes!
Both kernels were GENERIC + these options taken from the dummynet man pages:
options DUMMYNET
options NMBCLUSTERS
options HZ
When i boot the machine
2008 Feb 12
7
Making FORWARD_IPV4=YES permanent / DHCP multiple routers
First,
I'd like to configure my system to forward ip, to act as a gateway for
my network. I've always used a script during startup to do this:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ${UPLINK} -j SNAT --to ${IP_NAT}
This works fine, however I want this permanent so I don't have to run
the script on startup. I have the firewall setup with SNAT
2010 Nov 04
1
IP forwarding and OpenVPN
I have a CentOS 4 server that acts as a gateway for a small LAN. The
lower half of the 192.168.144 address space is the LAN on eth1, the
upper half is the WAN on eth0, and the default route is to
192.168.144.254 which is my DSL router; this has been working fine for
years.
However, it's recently become convenient to connect the server to a
VPN from time to time, for which I've set up
2009 Jan 29
1
7.1, mpt and slow writes
Hello,
I think this needs a few more eyes:
http://lists.freebsd.org/pipermail/freebsd-scsi/2009-January/003782.html
In short, writes are slow, likely do to the write-cache being enabled on
the controller. The sysctl used in 6.x to turn the cache off don't seem
to be in 7.x.
Thanks,
Charles
___
Charles Sprickman
NetEng/SysAdmin
Bway.net - New York's Best Internet - www.bway.net
2013 Jan 02
1
sysctl -p at startup?
I understand that the contents of /etc/sysctl.conf should be read and executed at system startup. However that never happens and I have to run sysctl -p after every reboot to get the settings I want.
This is happening on every CentOS machine and VM I have. I can see in the startup scripts that "sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1"
is run at start up by the
2007 Mar 19
3
net.ipv4 TCP/IP Optimizations = sysctl.conf?
If I execute these via command line, will they persist after a reboot?
Or, should I be putting these into a file like /etc/sysctl.conf?
--------------snip--------------
/sbin/sysctl -w net.ipv4.tcp_max_syn_backlog=2048
/sbin/sysctl -w net.ipv4.tcp_fin_timeout=30
/sbin/sysctl -w net.ipv4.tcp_keepalive_intvl=10
/sbin/sysctl -w net.ipv4.tcp_keepalive_probes=7
/sbin/sysctl -w
2013 Oct 03
1
ixgbe/ix sysctl missing in FreeBSD 9.2
Hello everyone,
I am trying to tweak some of the sysctl tunables for the ix (ixgbe) driver
in FreeBSD 9.2 since I am experiencing less than ideal performance and it
seems like I can't find any:
# sysctl -a | grep -i ixgbe
device ixgbe
I am running 9.2-RC4.
Any input appreciated.
Thanks,
--
Rumen Telbizov
Unix Systems Administrator <http://telbizov.com>
2007 Jan 28
2
possible packet forwarding or routing problem
Hi. I have a system with two network cards -- eth0 is a public ip
address and eth1 is on an internal network. Now I have all the packet
forwards enabled, and there is a route from eth1 to the internal
network, but if a computer on the internal network sets his gateway to
the box, he can''t traceroute past the box to the internet. There
are no iptable rules yet.
Here is the routing
2018 Aug 29
2
Setting up port forwarding to guests on nat network
Hello all,
I’m currently trying to figure out how to forward ports to guests that are on a NAT Network. I have followed the directions on https://wiki.libvirt.org/page/Networking under the “Forwarding Incoming Connections” Section and get connection refused when attempting to connect.
System: Ubuntu Server 18.04.1
Virsh / LibVirtd Version: 4.0.0
Here’s the contents of /etc/libvirt/hooks/qemu
2006 Feb 04
1
local port redirect not working on Centos4
Hello,
I want to redirect one local port to another. I am using the following:
iptables -t nat -A PREROUTING -p tcp --dport 7003 -j REDIRECT --to-ports 80
and testing it by telneting to localhost on port 7003. It works on
Centos3, not on Centos4.
No luck with this either:
iptables -t nat -A PREROUTING -p tcp --dport 7002 -j DNAT --to 127.0.0.1:80
Am I doing something wrong? Or did something
2005 Jan 31
3
One interface forwarding (wireless ad-hoc mode)?
Hi,
I''m wondering if there''s any simple solution. This problem
looks very simple, so maybe there''s a simple solution that
I''m missing, but I couldn''t do it yet.
I''m configuring an wireless ad-hoc network with three
laptops;
A ---- B ---- C
where A and C can only talk to B, and B can talk to both A
and C. A and C cannot talk to each