Displaying 20 results from an estimated 10000 matches similar to: "Problems with netfilter"
2005 Jul 17
1
routing based on user id
Hi all!
I''ve got 2 (soon 3) internet connection. 1 - via ADSL, 2(and3) via ppp
My network:
http://desima.objectis.net/network-diag
linux1:
user1.user2
eth0=192.168.1.1
ppp0=192.168.5.2( gw 192.168.5.1)
gw=192.168.1.2 ( thru ADSL)
compA=192.168.1.6
compB=192.168.1.15
gw2=192.168.1.217 via ppp to different ISP
All works for compA and CompB,
user1 should use default gw(192.168.1.2)
2004 May 09
3
prerouting does not effect filtering
I try to shape traffic using HTB and mark packets within iptables using
PREROUTING. But the filterrules seems to ignore the marks set with
PREROUTING
Only POSTROUTING marks are accepted.
First my configuration
I have a router connected to the internet via ADSL over interface ppp0.
eth0 is a tunnel to ppp0 and eth1 serves the LAN.
LAN is 192.168.57.0/24 on 10Mbit
ppp0 is 80.126.16.44 on
2004 Nov 25
12
simple dual Internet connection setup not sending return packets on correct interface
I have a very simple setup exactly as described in the HOWTO section "
4.2. Routing for multiple uplinks/providers".
One is cable (eth1: dhcp) and the other is PPPoE (ppp0).
I used the following commands to configure the routing once all of my
interfaces are up and i have configured SNATing for them:
ip route add 66.11.173.0/24 dev ppp0 src 66.11.173.224 table 11
ip route add default
2005 May 11
2
Multiple Internet links - routing traffic to the correct one.
Hi all,
I have the following configuration:
_______
+------------+ /
diginet link | | |
+-------------+ Provider 1 +-------
__ | | | /
___/ \_
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
2005 Jan 23
15
Idea: permit /etc/shorewall/masq to contain zones, as well as interfaces
Dear All,
Firstly, thank you very much - shorewall is great. I''m not a member of
this list, and please forgive me if I am suggesting something stupid, but
the following occurs to me, and I thought it might be useful.
Why no make it possible to specify zones as well as interfaces in the
/etc/shorewall/masq file ?
Eg: instead of:
eth0 eth1
one might write:
net loc (or masq in
2005 Sep 29
7
need help on multiple isp routing
i''ve read your http://lartc.org/howto/lartc.rpdb.multiple-links.html article
as well as Advanced IP Routing (esp. chapter 10.4) and still unable to make
this thing work. am i that helpless? :)
is there anyone to guide me through the multiple ISP setup?
into details. i got 2 dsl connections from different ISPs (A and B), both
connections use PPPoE, both got assigned with dynamic IPs
2006 Mar 14
9
firewall problem
snat not working
my local ip is aaa.aaa.aaa.aaa
asterisk sitting on the internet at ip bbb.bbb.bbb.bbb
my firewall''s internal ip is 192.168.0.254
i did snat:
iptables -t nat -A POSTROUTING -o ppp0 -j SNAT --to aaa.aaa.aaa
iptables -t nat -L -v gives:
Chain POSTROUTING (policy ACCEPT 23663 packets, 2182K bytes)
pkts bytes target prot opt in out source
destination
33056
2005 Jan 07
10
How to balance OUTBOUND traffic by packet if..
how to use iproute/iptables to balance by packet OUTBOUND traffic between
2 PPP (pptp cable modem and pppoe adsl modem) links to the same ISP . also
by using the fact that the ISP dosen''t filter source IP address - meaning
i can use either PPP''s link assigned IP address as the source IP in the ip
header.., it works for both devices.., what i want to achive is : when
uploading a
2007 Jun 24
5
Traffic shaping on multiple interfaces
I''m trying to setup traffic shaping on my linux gateway/router.
The system has 3 interfaces:
eth0 - My LAN - with IP address 192.168.0.254
eth1 - The ethernet connection to which my ADSL modem is connected. This
has a 10.25.x.x IP, more on this later. The ADSL link has an upstream of
~1.2mbit.
ppp0 - The PPP connection which is my WAN connection, with a real world IP.
The system acts
2005 Nov 25
1
2 WAN links and DNAT
Hi
Here is a short description of my network:
ppp0 (adsl) ppp1 (adsl)
| |
| |
---------------------
| Router |
| Firewall |
| MASQUERAD |
| DNAT |
| |
| eth0 |
---------------------
|
|
|
----------------------
|
2004 May 24
2
routing with multiple uplinks problem
Hello all,
I''m writing to the list, because I have a problem setting up my routing
that I''m unable to overcome.
1. The situation:
+-------------+ +-------------+
| actaea | eth0 | ilex |
| 192.168.1.4 |------ localnet ------| 192.168.1.1 |
+-------------+ 192.168.1.0/24 +-------------+
2005 Aug 08
7
Loadbalancing and failover using TC and Iptables
Hi all
iam trying to deploy loadbalance and failover
My setup description
--Fedora Core 4
--Linux 2.6.12.3 #1 SMP Mon Jul 25 22:37:34 IST 2005 i686 i686 i386
GNU/Linux
--tc utility, iproute2-ss050314
--ip utility, iproute2-ss050314
--iptables v1.3.0
And i had deployed Following configuration
#table main with priority 50, the highest one
ip rule add prio 50 table main
#table 201
ip rule add
2003 Nov 13
1
HTB traffic shaping + squid cache proxy
Hello!
My system is:
Internet ADSL(PPPoE) ---> ppp0 [LINUX server(router)] eth0 ---> LAN
Server(router) is running on LINUX Slackware 8.1. I have recompiled a
2.4.22 kernel, enabled all QoS support in the kernel config,
including HTB. My ADSL bandwidth is 256Kbit/s for download and
64Kbit/s for upload.
I use the following HTB+IPTABLES configuration, because I want to
reduce bandwith for
2004 Jul 03
1
load balanced adsl lines
Hi Ppl
I have 5 adsl lines that after reading quite a bit i managed to get load balanced now abvoiusly it doesnt load balance evenly and this works on what routes are still in the routing cache. my question is my outbound masquerading had to be modified to use snat in iptables instead of just plain masquerading my outbound masquerading now works but my inbound port forwarding doesnt work would
2004 Jan 15
2
Fw: Re:simple(?!?) source routing
Hi,
Thanks for the reply. Thats where the problem starts. If I set ppp0 as
the
default gw the internet doesnt work anymore. This is how im doing it...
route del default
route add default gw 217.32.81.74 dev ppp0
if I put it back to ppp1...
route del default
route add default gw 217.32.68.73 dev ppp1
It works fine again. Whats up with that?
Cheers,
Chris
----- Original Message
2002 May 17
1
Routing problem with 2 "wan" interfaces
Hello!
I''ve got the following setup:
ippp0 (isdn), ppp0 (adsl), eth1 (internal lan), eth0 (nic dedicated to the
adsl modem)
Firewall rules:
Default 2.4. iptables (everything set to accept) except:
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -t nat -A POSTROUTING -o ippp0 -j MASQUERADE
Routing Table:
Default gw is set to the ptp partner of ippp0
Problem:
Packets
2004 Aug 01
2
tables and default
I already setup several 2 gateways boxes, with rules too decide which lan
should use which gateway.
Now I''m stuck with a simpler problem. At home I was just making some
experimental setup:
* 1 adsl (ppp0)
* 1 more tables in rt_tables (200 ping) called "bluff"
* table ''bluff *has not* a default route
root@fw-eden root # ip ro li table bluff
2009 Jun 11
2
router NAT problem
Hello All. I have a strange problem on my router. I use a xl2tpd
program to establish a connection to the INTERNET. After I start xl2tpd
it's create a new ppp0 device with correct ip parameters, also it's add
some routes to the routing table and all this routes are correct too.
After connection with provider are establish the router exec some simple
iptables+NAT commands to give an
2004 Jan 13
1
simple(?!?) source routing
Hi,
I''ve set up a Linux box with redhat on to act as an internet gateway and I''m running into a few problems. Its got two adsl modems connected to it, both connected to seperate 512kbs lines. Now I''ve followed the simple source routing in the advanced routing howto to the letter but it doesnt work.
I''ve got it autoconnecting on startup and redhat puts ppp1