Displaying 20 results from an estimated 7000 matches similar to: "Load Balance and SNAT problem."
2005 Apr 06
2
Multipath routing + traffic separation problem.
Hello,
I have set up a multipath gateway.
System is a linux 2.4.29 kernel, iproute 20010824, iptables 1.2.11.
here is the setup:
firewall:/# ip rule
0:      from all lookup local 
100:    from all lookup main 
152:    from all fwmark       10 lookup wan1 
153:    from all fwmark       20 lookup wan2 
201:    from 213.223.96.121 lookup wan1 
202:    from 82.236.230.217 lookup wan2 
1000:   from
2006 May 30
11
Problems with Routing and Masquerading
Hi,
I have a linux box which balances load between two interfaces ( say WAN1 
and WAN2). I have masquerading on for any request coming from LAN to the 
outside world.
The setup is in such a way that WAN1 drops packets with source ip 
belonging to WAN2''s network and viceversa.
For some strange reason, I find that packet coming out from the WAN 
interface has source address of WAN2 and
2007 Oct 18
4
exporting service on multiple wan
Hi all,
I''ve a routing problem. I''m setting up a router based on debian (kernel
2.4).
I need to setup routing to export an ftp service (ftp server is in dmz)
to 2 wan (both).
I setup prerouting ad forward rule with no problem.
The problem is that reply packet use default gateway (default wan) even
though they are enter using the other wan.
I solved it marking packets in input
2007 May 14
13
Multihome load balancing - kernel vs netfilter
Hi,
I have searched the archives on the topic, and it seems that the list
gurus favor load balancing to be done in the kernel as opposed to other
means. I have been using a home-grown approach, which splits traffic
based on `-m statistic --mode random --probability X`, then CONNMARKs
the individual connections and the kernel happily routes them. I
understand that for > 2 links it will become
2004 Dec 02
11
another network to add
Hi Tom (and others)
encase you don''t know my network already ;) here''s a quick run down
eth0 lan 192.168.1.1/255.255.255.0
eth1 wan1 172.30.7.4/255.255.240.0
eth2 wan2 202.37.230.93/255.255.255.192
eth3 wan3 203.96.213.73/255.255.254.0
I''ve got routes and rules for all the above interfaces :)
I want to add another one, however I fear this might cause some issues
I have
2007 Jun 11
24
multiple routing tables for internal router programs
Maybe a strange request, I''ll try to explain this as clearer as I can 
(forgive my bad english, please  :-)  ).
I''m setting a linux box as a router. My router uses multiple routing 
tables, so I can address the traffic from specific ip addresses of my 
lan to distinct ISPs providers (specifying a different default gateway 
fo r each table), marking packets with iptables
2007 May 09
10
Load balancing using connmark
Hi,
I''ve been implementing a load balancing solution using CONNMARK, based
on solution described by Luciano Ruete at [1]. Gracias por el post y por
apuntar en la dirección correcta Luciano!
Once implemented, I''ve found that due to some reason packets aren''t
properly marked (or improperly remarked) and sent out using the wrong
interface. 
My topo setup is:
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*
2005 Aug 16
1
Multipath Routing..
Ok folks, here goes..
I have been boggling with a problem for the past week, and still haven''t 
found a solution..
I''m trying to route traffic from two providers through a Linux machine.
But that is not the problem. The ISP''s have provided me with a WAN IP 
class for both of the lines, to be routed into a DMZ where the machines 
a to respond to their respective
2016 Aug 08
6
Gateway question
Hi
There is a Centos 7 up-to-date box with 2 interfaces, let's say 
192.168.1.12 - enp2s0, 192.168.1.13 on enp3s0. Default gateway on enp2s0.
The gateway is pfsense, IP is 192.168.1.1 with 2 WAN connections
On the gateway the outgoing traffic is routed by source ip to different 
WAN, 192.168.1.12 to WAN1 and 192.168.1.13 to WAN2
On the centos box are set all the route and routing rules:
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
2007 Sep 05
6
NAT-aware traffic analysis
I have tried using iptraf for my NAT firewall to analyse the IP traffic.
Basically I am faced with this difficulty of related the source IP
to the outgoing interface to the internet, so I am wondering if
anyone has a suggestion for a different ways to do it, or a suggestion
for a better tool.
Details :-
Supposed : eth0 - LAN
                   eth1 - WAN1
                   eth2 - WAN2
And then
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
2005 Oct 25
7
Ip Src rewite.
Hello folks..
Does any of you know if it is possible to rewrite the ip src in a packet.
I have a problem involving a DMZ with external IP addresses routed 
trough a single WAN IP. When the server initiates a connection, it looks 
like it comes from the WAN ip instead of it''s designated External IP 
routed through the WAN.
So in short, Is it possible to rewrite the packet in the router,
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 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
2009 Mar 04
1
MultiWAN & Vlans
Hello, 
I''m trying to setup an 8 port wan configuration (pptp+pppoe) with one vlan trunk. 
My internal networks are : 
LAN(eth9): 10.0.0.0/16 
VLAN10(eth9) 10.10.0.0/24 
VLAN20(eth9) 10.20.0.0/24 
VLAN30(eth9) 10.30.0.0/24 
VLAN100(eth9) 10.100.0.0/24 
I would like to post my configuration here since i don''t success to do the following: 
1. Communicate between VLANxx to LAN
2008 Nov 20
0
Disable native bridge?
Background:
WAN1 - Fixed IP low latency, low jitter
WAN2 - Fixed IP medium latency, higher jitter than I like for good VoIP
Firewall/Router not SIP aware
NATed LAN
Asterisk on server located on LAN.
Most, but not all ATA/IP phones on LAN
In the past I was running a v1.2 Asterisk which acted as a B2BUA (all  
RTP streams relayed through Asterisk server) thus presenting only one  
SIP device to the
2006 Dec 24
1
RE: Question regarding Split Access description (Adam Neat)
IMHO, i believe that it would be more realistic to have one router providing
load balancing/dead gateway to one/several subnet(s).  otherwise, each
server/user would have to do their own load balancing for each subnet!
 that,
or you would need 3 routers, one for each subnet and a linux router doing the
load balancing in the middle.
with 3 routers, the load balancing configurations
2006 Nov 03
5
qos inside ipsec tunnel
Hello everybody.
I would like to do some kind of shaping inside an
ipsec tunnel implemented by Openswan and linux
2.6.18.x with xfrm (no KLIPS): for example, to
limit outbound smtp traffic inside the tunnel.
Question: where should I attach the qdisc to? Eth0?
I''m asking this, because tcpdump only see the ESP
packet on the eth0 and not the ''clear'' packet.
TIA
This is my