Displaying 20 results from an estimated 5000 matches similar to: "NAT over 2 providers (not load balance)"
2005 Feb 09
2
load balancing between two dsl links
Hi,
I am connected to two DSL providers (DSL 1 - 1Mbps downlink/384kbps
uplink and DSL 2 - 2Mbps downlink/512kpbs uplink)
I would like to only allow ftp, pop3 and http via the DSL 1 and only
smtp, ipsec and pptp via DSL 2.
How can I do so? Can I use iproute to route these protocols?
Below is my ip routing: -
# DSL 1
ip route add 2.2.2.208/30 dev eth0 src 2.2.2.210 table 1
ip route add
2004 Feb 06
3
Multiple uplinks - load balancing
Hello!
I have set up a LINUX router with two seperate uplinks to do load
balancing. I made all the configuration after the "NANO-HOWTO to use
more than one independent Internet connection" document. I patched my
2.4.24 kernel with patches, described in this document. My
configuration is:
---------------------------------------------------------------
#!/bin/bash
2006 Oct 06
12
Two outbound internet links, using one network interface
Hi,
I am trying to categorize the network traffic and to send it out across
two different providers.
For this I mark the packets in the firewall (in the PREROUTING chain of
table mangle),
and then use another routing table for the marked packets, which has a
different gateway
from the main routing table. Basicaly I am following the cookbook
example in this page:
2007 Jan 29
1
Questions about mutiple providers
Hi, this is my first post to the list.
I have googled a lot, and still cannot find a proper solution. I hope
someone here will be able to shed some light on my doubts.
I have set up a firewall using kernel 2.6.15 (Debian) that does NAT for
100 clients, and uses two different ISPs, using the howto found at
http://lartc.org/howto/lartc.rpdb.multiple-links.html. I have *not*
2006 Dec 11
6
load balacing with https home banking
Hello everybody.
I''m running linux 2.6.19 with nth match to
alternatively snat outgoing connections to
two different ip addresses for load balancing
between two adsl lines:
Here is:
$IPTABLES -t nat -A POSTROUTING -s my_ip --protocol tcp -m
multiport --dports 80,443 -m statistic --mode nth --every 2 -j SNAT --to
adslA
$IPTABLES -t nat -A POSTROUTING -s my_ip --protocol tcp -m
multiport
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
2006 May 03
5
SNAT on IPSEC tunnel with kernel 2.6/KAME tools?
Hi,
Could not conceive an working set-up for an IPSEC VPN made with racoon/setkey
on which I have one address on my side acting as an SNAT router for all
traffic from my network to a network segment on the far side.
my network --- my gateway ---------------------- remote network
10.0.0.0/24 - 10.0.0.1 (10.253.0.2) -- tunnel - 192.168.0.0/22
All traffic starts on my side, so if I can
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
2007 Apr 17
6
[Bug 554] Packet illegaly bypassing SNAT
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=554
------- Additional Comments From fhagur@gmail.com 2007-04-17 05:04 MET -------
I have been wondering about this bug and had similar problems myself here in my
Debian system, linux-kernel 2.6.18 iptables 1.3.6.
I too saw that some packets became transmitted illegally through the ppp0
interface, when they just shoudn't.
What I
2007 Dec 21
1
Regd: Iptables SNAT issue in Cluster Suite Setup
Dear All,
I have configured Cluster Suite with 2 servers
Server 1 : 192.168.13.110 IP Address
Server 2 : 192.168.13.179 IP Address
Floating : 192.168.13.83 IP Address (Assumed by currently active server)
I want all snmp packets going out through the active server to be
stamped with floating IP
So i have added a iptables rules as
"iptables -t nat -A POSTROUTING -p udp -s
2008 Dec 04
4
iptables questionson CentOS
Hi,
I know these are a few iptbales questions. NOT CentOS, anyway, I am
running a firewall on centos 5.x.
If you can response, it would be fine.
I want to add a SNAT rule for one user in LAN to access one particular
destination on the internet.
Let's say www.centos.org
I added the below rule. But . it does NOT work
Pls assume 1.2.3.4 is the real ip of the firewall.
ip address
2007 Oct 25
6
One machine, two net feeds, outbound route selection
Hello, world!
Sorry to subscribe to the list only to immediately ask a question,
but this one''s got me scratching my head and I can''t find the answer
in the archives, the HOWTO, or on the web. Maybe I''m just asking the
wrong question.
Anyway, our Internet gateway is a Linux box. We''ve got two Internet
feeds, a fast one from a crummy provider, and a
2004 Nov 15
3
source policy routing going to wrong path
Hi,
Below is my Linux firewall network configuration: -
eth0 - isp 1, IP: 1.1.1.10, Netmask: 255.255.255.252
eth1 - isp 2, IP: 2.2.2.10, Netmask: 255.255.255.252
eth2 - lan, IP: 172.16.0.254, Netmask: 255.255.255.0
eth3 - dmz, 192.168.0.254, Netmask: 255.255.255.0
isp 1 gateway: 1.1.1.9
isp 2 gateway: 2.2.2.9
Below is my iptables rules: -
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables
2005 Jun 10
3
Multiple gateways
Hello,
Since I could not figure out my previous problem, let me ask in a different way.
I have 3 networks inside my LAN. They are 172.16.55.0/24 ,
172.16.56.0/24 and 172.16.57.0/24 respectively. They all use eth0 as
an alias.
I also have 2 uplinks to different ISPs. One of them is leased line
and the other one is ADSL.
One of my uplink is 81.8.120.18/30 with gateway 81.8.120.17 on eth1
and the
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
2004 Sep 02
6
Slipt 2 ISP strange routing problem
Dear all Lartc,
I try to split my Internet access to my 2 ISP with 1 linux (GNU/Debian
sarge) 3 NIC router,
I want all my users conneted with ISP1 and just some IP connected with ISP2
Here is my configuration:
Internal network: 10.117.71.0/24
Interface eth0
ISP1: IP for my linux box: 1.2.3.4/29
Interface: eth1
Gateway: 1.2.3.5
ISP2: IP for my
2002 Nov 20
4
SNAT based on MAC before routing
Hi gurus,
I need a way to do SNAT based on source mac before routing. This is because
hosts attached to my gateway can have duplicate IP addresses, and I have to
distinguish over them.
I tried to use the nat tool that comes with iproute2, but this force to make
a mapping only address to address, and I wanted to do it by mark (I also use
iptables to do that). For example, I tried to
2004 Aug 10
11
who gives access? was: why ADD_DNAT_ALIASES missing?
hi,
there was some email problems and i repeat my question too fast, but
this is the second part of my questions.
- only the rules and policy files give access right? ie. rules in the
FORWARD chain of the filter table in iptables ?
- is a line in masq file automaticaly add an accept rule too? eg. in
msaq file
eth0 <internal ip>
allow connection from <internal ip> (local zona) to the
2006 Aug 03
28
[Bug 498] RTP packets are not hitting NAT table
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=498
cfilin@intermedia.net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chip@innovates.com
--
Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email
------- You are
2018 May 03
5
[Bug 1255] New: nftables SNAT is not working
https://bugzilla.netfilter.org/show_bug.cgi?id=1255
Bug ID: 1255
Summary: nftables SNAT is not working
Product: nftables
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: P5
Component: kernel
Assignee: pablo at netfilter.org