Displaying 20 results from an estimated 20000 matches similar to: "new iptable nat target extension --jump rt_lookup - possible?"
2006 Nov 12
1
Script for get bandwidth statistic from iptable
i search a lot forum how to get bandwidth statistic such number of packet, total byte in each application protocol by using IPTABLES + netfilter-layer7
but i don''t know which script for getting it in log file and use data after get it for plotting graph later
my IPTABLES command like this
iptables -t mangle -N all
iptables -t mangle -A POSTROUTING -j all
iptables -t mangle -A
2007 Feb 09
0
Routing / NAT for Multi Subnet Router
Hi,
I have a linux system which is router between several subnets (each also a
different segment), in total 3 different lans, 2 dmz, and 4 internet
connections, my default FORWARD policy is DROP, here is a simplified example
of my config with only two lan segments and internet connection:
Allow forwarding between lans
-A FORWARD -s lan1/mask -j ACCEPT
-A FORWARD -d lan1/mask -j ACCEPT
-A
2006 Mar 28
1
Please help - totally confused (NAT + FWMARK + IMQ + HTB)
Hello,
I''m trying to get my shaper to work, but have only a partial success.
Can someone help me with that. My setup unfortunately is not so trivial,
but I think some people could have similar one...
1. There is a router connected to the internet line via interface eth0
2. There are users connected to the router via two interfaces : eth1 and
wlan0
3. All users are assigned private IP
2006 Dec 12
0
Re: Routing & NAT Problem take #2
Try to SNAT the incoming conection too, then your server see only the
200.x.x.x IP for the incoming calls.
You have DNAT for redirections, add a postrouting SNAT. I supose that you
are DNATing in PREROUTING and you will add a rule (only for example) for
SNAT the incoming calls from 200.x.x.x router:
iptables -t nat -A POSTROUTING -d <internal server ip> -j MASQUERADE
Perhaps
2004 Sep 29
0
Netfilter NAT and IP rule
Hi all,
I have a network like this :
Provider 1 Provider 2
\ /
\ /
\ /
eth1 \ / eth2
-------------
| |
| |
| |
| |
| |
| eth0 |
-------------
|
|
|
|
2 networks :
-
2005 Feb 14
6
NAT over 2 providers (not load balance)
Hi guys,
Can you take a look at this? :)
+-----------+
| |
eth1-|- |
| -|-eth0---LAN---
| |
eth2-|- |
| |
+-----------+
-
eth0 is connected to the LAN having the IP=LAN_IP
eth1 is connected to the first ISP having IP=ISP_IP_1 and GW=ISP_GW_1
eth2 is connected to the second ISP having IP=ISP_IP_2 and GW=ISP_GW_2
I need
2004 Jan 18
2
HTB + ESFQ in nat router for shape incoming by ip
Hi, i´ve read about this problem but i didn´t find any solution.
I have a router with nat like that:
internet - eth0 - Router - eth1 - Lan
I made a htb script for shaping outgoing in eth0 and it works great. The
problem begin with the incoming traffic... Like other people said, when
somebody in the lan uses the tipical download accelerator, the line is
out because the bandwidth is divided by
2004 Jun 30
3
HTB and iptables statistics
Hello.
The problems are:
1. Using HTB I get negative values for tokens and ctokens in tc -s
output, for example:
mich:~# tc -s -d class show dev eth0
class htb 1:11 parent 1:1 prio 1 quantum 1024 rate 8Kbit ceil 23Kbit burst 1609b/8 mpu 0b
cburst 1628b/8 mpu 0b level 0
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 1287999 ctokens: 453286
class htb 1:1
2004 Dec 27
2
htb and iptables marked packets question
Hi folks,
I have a strange situation. When I add branches to the tree, everything
goes to the default class.
The error might be obvious, but I cannot find it. I would really appreciate
your help.
this works, nothing goes to "1:9999":
#############################################################################
/sbin/iptables -F -t mangle
/sbin/tc qdisc del dev eth1 root >
2005 Nov 24
1
ftp connmark
I saw this snippet from
Daniel Chemko dchemko@smgtec.com
Mon, 31 May 2004 09:30:43 -0700
# Egress marking (mostly for QOS operations)
iptables -t mangle -A POSTROUTING -j CONNMARK --restore-mark
iptables -t mangle -A POSTROUTING -m mark ! --mark 0 -j ACCEPT
iptables -t mangle -A POSTROUTING -o ${if_inet} --dport 21 -j MARK
--set-mark 0x111
iptables -t mangle -A POSTROUTING -j CONNMARK
2011 Sep 06
2
[Bug 747] New: IPtables marked packets not being inpsected in NAT table.
http://bugzilla.netfilter.org/show_bug.cgi?id=747
Summary: IPtables marked packets not being inpsected in NAT
table.
Product: iptables
Version: CVS (please indicate timestamp)
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P3
Component: iptables
AssignedTo:
2004 Mar 24
3
IP Masquerade issues
Okay here is my setup:
Gentoo Box running 2.6.4 w/ 4 NICs
1 NIC is for internal network
3 NICs are for external network
The machine has a static address assigned to the internal network nic. This
nic runs dhcp and dns forwarding. The other 3 nics have external dynamic IP
addresses. All will have the same gateway. There are 3 NICs because this is
a very large pipe, that will only allocate a
2007 Jul 08
0
Troubles with tc/iptables - per TCP session tc
Hello,
I have read most of the relevant emails already posted to the LARTC mailingilist and I have not found a solution to my problem.
What I am trying to do is: limit the HTTP output traffic to 30Mbps and also to limit each HTTP connection at 512Kbps, if the client downloads more than 1MB. I have managed to limit the total traffic but not the traffic of each HTTP connection.
Here it is my
2003 Mar 12
0
nat on teql devices
HI,
I have a problem with nat on teql devices, i set the nat on iptables and
he''s accept well , but don''t work ... he don''t masq or nat anything, i try
using -j MASQUERADE too, but without results.. i m using the command:
iptables -t nat -A POSTROUTING -j SNAT -s 10.0.0.0/24 --to ip-teql-device
On kernel 2.2x with ipchains works great.
2007 May 02
0
[Bug 565] New: ROUTE target extension freezes machine with 2.6.20.7
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=565
Summary: ROUTE target extension freezes machine with 2.6.20.7
Product: netfilter/iptables
Version: patch-o-matic-ng
Platform: x86_64
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ip_tables (kernel)
AssignedTo:
2004 Feb 09
1
htb,iptables
Hi all
I''m sure you have heard this before but sorry.I wrote a script once and
never looked at it again.An as my luck will have it I need it now and it
is gone.I''m trying my best to rewrite it:-(
My 1st question is: If my server is a gateway and I''m marking packets
for iptables should I use OUTPUT,INPUT,PREROUTING,POSTROUTING or FORWARD
rules in iptables
And
If I
2005 Jun 04
2
2-3 uplinks, nat and failover...is it possible?
Hello,
I am trying something crazy here. I have gone through the old
archives, lartc.org and lot''s of documentation, but still something is
wrong.
Here is the situation;
The server is Fedora core 2 running kernel 2.6.5
I have 2 uplinks to two different ISP''s. (It will be 3-4 in the future).
These ISP''s should serve the bandwith to local clients with multiple subnets.
2019 Jul 05
1
Re: UDP broadcasts vs. nat Masquerading issue
Hi Daniel and Laine,
[...]
>> -A POSTROUTING -o br0 -j MASQUERADE
>> -A POSTROUTING -o enp0s25 -j MASQUERADE
>> -A POSTROUTING -o virbr2_nic -j MASQUERADE
>> -A POSTROUTING -o vnet0 -j MASQUERADE
>
> *None* of those rules were added by libvirt (unless your build of
[...]
> You can verify my "counter-claim" by running "virsh net-destroy" for all
2019 Jul 04
0
Re: UDP broadcasts vs. nat Masquerading issue
On 6/28/19 10:23 AM, Nikolai Zhubr wrote:
> Hi all,
>
> I'm observing an issue that as soon as libvirt starts, UPD broadcasts
> going through physical network (and unrelated to any virtualization) get
> broken. Specifically, windows neighbourhood browsing through samba's
> nmbd starts suffering badly (Samba is running on this same box).
>
> At the moment
2006 Apr 09
3
Conntrack, nat and multipath - what is wrong here?
I have a gentoo 2.6.14 box with 4 nics, LAN/DMZ/PUB1/PUB2
LAN and DMZ have a 1918 /22 each, PUB1 and PUB2 have a /29 each of which 5 ips
are assigned.
Using the mangle table, I give all packets a mark (according to local
policies) in the range 1-10. Using ip rule, i pass marks 1-5 through the pub1
route table, and marks 6-10 through the pub2 routing table. Using the nat
table, I SNAT to one