Re: [LARTC] bgp require in multigateway routing

2007-12-12 Thread Radek 'Goblin' Pieczonka


somebody suggest me to use border gateway protocol for this, but i 
don't have any knowledge about this protocol that it will useful for 
me our not, and plz also guide me how to configure this protocol.


considering the bandwidth, i dont think your ISP would even start to 
think about BGP, not to mention the fact that as long as you use the 
same ISP I'd rather think of OSPF or even RIPv2. Also, there is a 
question of support on modem, as from what you say its actually a router 
with adsl modem integrated, so it should take part of dynamic routing. 
All in all, first question to ask is what your ISP is willing to do in 
this case. As an alternative you can always run some checks on links and 
switch routing information (aspecially default route, or selection of 
routing table in policy routing) in static table from some cron script / 
daemon accordingly.


--
Radek aka Goblin
[EMAIL PROTECTED]
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] PAT HOW to - IPTABLES

2007-12-10 Thread Radek 'Goblin' Pieczonka



Suppose, I have 3  mail servers @ DMZ zone with one real ip. the situation
as before?

in that case, What can I do?

your could use exim/postfix and route the mail to the right server, but I guess 
you are trying to find out how to have port 25 on the real ip nat'ed to one of 
the 3 dmz'ed ip based upon the destination mail address


short answer you can't as far as I know, iptables only looks at src ip / src 
port  dest ip/dest port.  You could write your own plugin module to look into 
the tcp stream.
  


based upon destination email address/domain could be done by postfix and 
transports for selected mail/domain to selected server. but there is 
also a possibility of load balancing and failover for set of domains 
with all servers working with all the domains for HA and flexibility of 
computing power, then id say take a look at keepalived for both those 
features. for http traffic its actually the same, and also you can 
consider apache reverse proxy feature.


--
Radek aka Goblin
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] optimizing traffic to a web server

2007-11-23 Thread Radek 'Goblin' Pieczonka

kamen pisze:

Hi,

I have a Linux server and provide Internet access in the neighborhood
and I also run a web server on the same machine. 


Although our external connection is not bad, the access to the web
server from outside is awful - the web pages always require Try
again when accessed.

Do you think I can prioritize the traffic to the web server? How? I
have a traffic shaper of the internal and the external interface. I
use tc with HTB and iptables for that purpose. I mark the packets
and then filter them. I just don't seem to have written the write
filters.

Thanks in advance!

  
this task should be an easy objective to acomplish, do you have some 
kind of shaping in place at this moment ? anyway, please supply more 
info on priv and i may be able to help you.


--
Radek 'Goblin' Pieczonka
[EMAIL PROTECTED]
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc