Displaying 20 results from an estimated 11000 matches similar to: "[Bug 63] New: fwmark loopback routing issue"
2003 Mar 30
1
[Bug 63] fwmark loopback routing issue
https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=63
laforge@netfilter.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
------- Additional Comments From laforge@netfilter.org 2003-03-30 21:29 -------
I can confirm this bug, it
2003 Mar 04
2
Routing based on fwmark
I''m having trouble routing on high fwmarks, I want to use a lot of
different marks for 2 routes so that I can QoS based on the marks
ip rule looks like this:
0: from all lookup local
32751: from all fwmark 31 lookup dslout
32752: from all fwmark 30 lookup dslout
32753: from all fwmark 29 lookup dslout
32754: from all fwmark 28 lookup dslout
32755: from
2002 Aug 15
0
conditional routing based on tos/fwmark not working with ipsec
Hello all,
I am working with kernel 2.2.20 with the necessary options configured into
the kernel to support all of the wonderfully fancy routing features:
- routing based on ToS
- routing based on fwmark
- multiple routing tables
This same kernel is in use elsewhere, and is routing based on fwmark with
success. This leads me to believe that my kernel is OK and that I have
another
2005 Oct 30
0
FWMARK ROUTING OVER MULTIPLE ROUTERS/LANS
I would like to route ssh in my network via DSL2 and all other trafic via
DSL1.
So far I menaged to do it for LAN2 but there are still WLAN1,LAN3 and LAN1 to
go.
On all routers I added table "pilicka" with rule for fwmark and I fwmarked
ssh.
# ip rule show
0: from all lookup local
32765: from all fwmark 0x3 lookup pilicka
32766: from all lookup main
32767: from all lookup
2003 Sep 18
0
hexadecimal fwmark and fwmark mask
Hi list,
I''m new to this list, I just subscribed because I have some ackward
about IPRoute2.
First, while playing with NetFilter'' "MARK" target, I met a weird
behaviour once I tried to use this marks in the RPDB : the packets
where successfully marked, but it seemed that RPDB didn''t succed in
matching them (for those who already know the answer, I only used
2010 Oct 13
3
Routing local generted packets with fwmark
Hi all,
I need to route local generated packages depending on which tcp or udp
service I need to use. To accomplish this I have configured two routing
tables:
[root at lothlorien ~]# ip ru ls
0: from all lookup 255
32762: from all fwmark 0x2 lookup FirstLan
32763: from all fwmark 0x1 lookup SecondLan
32764: from 172.25.80.10 lookup SecondLan
32765: from 172.25.70.18 lookup FirstLan
2006 Nov 02
0
src routing and fwmark
Hi,
I''ve got 2 lines from two diffrent ISP''s, one is a leased line and another a
DSL line,
I route certain ips over the DSL line for faster access and would like
email to go over the leased line as it has a static ip and is our sending
mailserver ip
I would like to send mail to the same ips that is routed over DSL via the
leased line, otherwise my server gets blacklisted with
2005 Dec 23
3
Pb routing/fwmark
Hi,
I have a computer which is used as router/firewall/VPN with four network
card. One connected on the LAN (br0, 10.0.0.0/24), the three others to
three different ISP, eth0 192.168.1.0/29, eth1 192.168.0.0/24, eth2
192.168.2.0/29.
This computer is under Linux 2.6.11 with the Julian Anastasov routes patch.
The configuration by default is to balance the load on the three interfaces.
Then, I
2006 Jul 29
1
FWMark routing trouble
Hi everybody,
I''m trying to set up routing for 2 links to the internet on a box which
produces traffic itself (e.g. DNS) and will route all our local
traffic.
AS one route is quick and expensive and the other one slow and cheap, I
want to be able to route packets for some high-level protocols to the
second link.
If I correctly understood table 3-2 in
2005 Nov 29
0
fwmark port - dual adsl line
Hi all,
Below is my network diagram: -
eth0 (adsl 1) eth1 (adsl 2)
| |
| |
| |
| |
-----------------
| |
| Gateway |
| |
-----------------
|
|
|
tun0
Below is my iptables scripting to mark certain ports:
-
2003 Nov 06
0
fwmark and u32
Hello..
How can I specify a class for htb based on a fwmark and user ip ?
For instance:
I have some routes marked with fwmark and their are very-high speed connections... But only to some IP''s..
For the rest , I must limit the user to 64Kbits
Now , how can I limit the high speed connections ?
I must create a rule and take in account both fwmark and IP ?
To be more specific , I want
2004 Jan 07
0
Match packet mark with --set-mark to ip rule fwmark
Hi,
Here I am trying something simple.
My objective is to make ip rule fwmark command work :)
Network Diagram:
--- 192.168.250.197 (eth0) Linux Box (eth1) 192.168.8.88 -------------192.168.8.122 (eth0) Windows XP Client
Configuration done on Linux Box:-
(1) [root@g webauth]# iptables -t mangle -A PREROUTING -j MARK --set-mark 5
[root@g webauth]# iptables -t mangle -L
Chain PREROUTING (policy
2006 Mar 31
0
rule fwmark desn''t work for local packets (output chain)
Witam wszystkich
After few days with yours help I''ve succeeded with setup of load-balancing.
Now I have problem with next step. I want to mark some packets and than put
them to the one of the routing tables to force them going via only one
interface with only one ip. Easy?? Ofcourse, but not for me :(.
I''m NOT using NAT.
Chain OUTPUT (policy ACCEPT 71 packets, 24227
2005 Nov 01
0
ADSL-Bandwidth-Management-HOWTO
Hi,
I''ve read ADSL-Bandwidth-Management-HOWTO
http://www.tldp.org/HOWTO/ADSL-Bandwidth-Management-HOWTO/implementation.htm
l#AEN166
and I''ve a doubt from script:
[ ... ]
# DNS name resolution (small packets)
iptables -t mangle -A MYSHAPER-OUT -p udp -j MARK --set-mark 21
[ ... ]
That is a bug ?
I think that " DNS name resolution (small packets) " is better
2006 May 05
3
iptables CLASSIFY vs fwmark?
Could someone comment on the benefits of using CLASSIFY vs fwmark (or
vice versa) in iptables?
I''m getting ready to implement some basic tc for VoIP and most of the
examples seem to use the (older?) fwmark syntax. Should I convert these
to CLASSIFY? Can the two syntaxes be mixed? Also with U32?
TIA,
Edwin
--
<=+=+=+==+=+=+==+=+=+=+=+=+=+=+=>
Edwin Whitelaw, P.E.
New River
2003 Jul 29
1
IMQ and fwmark
Hi all,
I want to divide the incoming traffic between what should go to
the firewall and what should be forwarded to the local network
behind it. I started with the IMQ example config, but added an
extra htb class right below "10:1" to get the two sfq''s to borrow
each other''s bandwidth.
However, I can''t figure out how to set the two marks. According to
this
2006 Feb 06
0
ip rule, fwmark, mangle and src IP
I made a script to test if in a moultiple gateway setup all default
connection are up, regardless of the fact that that gateway is the default
gw.
Suppose adsl1 and adsl2 are present, and all traffic goes by default to
adsl1, and you want to test if adsl2 is ok.
1. I use mangles from iptables to mark icmp packets to some test machines
2. I set up a routing table for each adsl
3. I use
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
2005 Jul 01
0
split access & fwmark
Hi,
I had a nice router which was able to split my outgoing webtraffic over a
dsl line,
then I got a power failure and now my settings are lost and I don''t get it
to run.
I''ve configured a iptable rule like:
/sbin/iptables -A PREROUTING -t mangle -i eth1 -s 192.168.1.10 -p TCP
--dport 80 -j MARK --set-mark 1
and
ip rule add fwmark 1 lookup 10
ip route add default via
2004 Oct 15
0
iproute with fwmark
Hi,
not sure if it will work, i''ve 2 leased lines, behind line 1 is a webserver,
this
server should answer all incomming http requests through leased line 1, the
webserver
self parses other webserver, this outbound traffic should go over leased
line 2.
i''ve successfully added fwmark with iproute, but if i set the policy for the
webserver to
use leased line 2 (for parsing other