Displaying 20 results from an estimated 2000 matches similar to: "fwmark / MARK / --set-mark syntax never run on my system! Search step by step help."
2004 May 08
1
Dual Multipath DSL Script Problem!
Hello!
I had found a script to multipath DSL connections:
http://linux.com.lb/beta/index.pl?node=Load%20Balancing%20Across%20Multiple%20Links
I have made some modifications, but in second part of this mail are some errors:
__________________________________________________________________
First the script:
__________________________________________________________________
#!/bin/bash
#
2007 Jan 21
2
mark and route traffic in a bridge
Hi all !!
I would to like to mark and route some kind of traffic (ie: outbound
www, now by simplicity)
---inet1--------eth0------------| |
| linux |
--eth1------- clientes
---inet2(90.0.0.1)--------eth2-| |
I have eth0 and eth1 bridged (eth2 is not bridged).
I would to route www outbound clients
2007 Jan 21
2
mark and route traffic in a bridge
Hi all !!
I would to like to mark and route some kind of traffic (ie: outbound
www, now by simplicity)
---inet1--------eth0------------| |
| linux |
--eth1------- clientes
---inet2(90.0.0.1)--------eth2-| |
I have eth0 and eth1 bridged (eth2 is not bridged).
I would to route www outbound clients
2005 Feb 03
1
why fwmark don''t work
Hi guys im trying to make a port redirecction using iproute together with iptables mangle option .. but for some strange reason is not working yet, I know i can do it in a diferent way, but the idea is using packet marking and redirect the packets with a rule.
I have two computers PC1 and PC2
PC1: 192.168.0.1 this is the one connected to internet, and this machine make the redirection
PC2:
2006 Feb 20
2
question about traffic control
Hi,
I have the following situation:
1 gateway box with 2 WAN interfaces (eth1 and eth2).
1 LAN interface eth0
default gateway is eth2
I want to route all traffic with destination protocol tcp 22 (ssh) NOT
over the default gateway eth2 but force them to find it''s route over
eth1.
All other traffic must go the normal way over eth2.
Is this possible with tc or an other tool?
--
2004 Oct 15
1
mark & owner for local connections
Hi,
Host A has two interfaces: eth0, tap0.
I want that all locally generated traffic from user 1004 goes through
tap0.
This is what I did:
iptables -A OUTPUT -t mangle -m owner --uid-owner 1004 -j MARK --set-mark 2
echo 202 bigmac.out >> /etc/iproute2/rt_tables
ip rule add fwmark 2 table bigmac.out
ip route add default via 10.0.0.1 dev tap0 table bigmac.out
ip route flush cache
2004 Mar 16
4
split route questions
I am working on a split route and ShoreWall system. I reviewed the
lartc documentation but have a few areas that I still need help on.
Here is my network:
64.xxx.xxx.1/25 66.xxx.xxx.129/26
| |
#################################################
# Eth2 64.xxx.xxx.2 eth0 66.xxx.xxx.130 #
#
2007 Jul 09
2
custom routing (two gateways)
Hi all,
i''m having a somewhat stupid problem I can''t get rid of.
we''ve a server that accepts incoming world connections
from a load balancer (10.10.10.4) to port 80,
and we still want to serve incoming ssh/http from the firewall (10.10.10.1)
routed to this host (10.10.10.90) and their reply packets of cause shall be
send out through the firewall.
unfortunately, both
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
2005 Nov 13
9
MSN keeps disconnecting with load balancing
Hi,
I have the my gateway with load balancing traffic going out over two
providers. Web browsing is fine...working great.
But, my clients (office staff) complains that MSN keeps disconnecting
(in 5 mins). Why?
Please help me...
Regards,
ro0ot
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
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
2007 Sep 01
13
2 ISP connection sharing problem
Hi all,
I have a similar question like many asked before I know but Please
help as i cant figure out where the problem is and how should I tackle.
I have 2 ISP connections. I want to share the bandwidth from both. I have
copied the script from many places and created my own after changes. Problem
is that only one connection is utilized at a time. Not both working. ratio
of consuming
2007 Aug 16
4
two providers.
Hello, people.
I read iptables tutorial and lartc, but i''m still confused with one
trouble.
May be this question was discussed already, so forward me solution, if
is.
So, there''s a trouble.
I have debian etch linux. 2.6.18-4 kernel.
On this computer i have three interfaces: eth0 - my lan, eth1, eth2 -
providers.
By default all internet traffic routed through eth2. But i
2004 Aug 12
2
Hashing table based on FWMARK
We currently use iptables, matching packets based on IP address and marking
them with an ID. Multiple IP addresses can be marked with the same ID. We
then filter based on the ID. We have close to 2000 filters now and I''m
looking into hashing tables. Is there any way to create a hashing filter
based on the fwmark?
Paul C. Diem
PCDiem@FoxValley.net
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
2003 Aug 29
1
transparent proxy with shorewall
Hi,
I followed the instructions posted on the
shorewall web page for transparent proxy, but I
still cannot get it to work.
I have almost the same setup as described on the web, running squid on dmz, eth1, and the loc on eth2.
I can see that packets going out from the fw, they are not sent to the squid proxy, and if I try to telnet to the squid proxy to port 80, where I should be directed to
2005 Jan 14
1
iproute2 + netfilter problem
Hi guys, i have a problem with a configuration what i''m trying to do.
I have two computers with linux, A and B, connected in the same network with this configuration:
PC1 A: 192.168.192.1
PC2 B: 192.168.192.30
The PC1 A is a firewall doing nat... this one is connected to the internet via an adsl modem and of course it have its own public ip , and the router B is a smtp server but
2008 May 30
6
Routing squid to a different gateway
Hi all,
I''ve been using shorewall 3 (3.4.8 now) for a while on a simple gateway
setup for my office. Routing is enabled only for a few hosts and all user
access the internet thru squid, which is running on the shorewall box. I
have a few other services on this box and some others on another server, but
they don''t matter for what I need.
Quick and dirty schematics to illustrate
2004 Dec 14
4
fwmark
how can I check whether packets are being marked as per my tcrules file?
4 0.0.0.0/0 202.37.230.93 udp 500
4 fw 0.0.0.0/0 udp 500
also can someone confirm what ports are needed to be opened for ipsec?
1701,1723,47,500 ???
P.