From: "tinozaure" <tinozaure@netcourrier.com>
To: netfilter@lists.netfilter.org
Subject: multilink using Cable and ADSL.
Date: Thu, 12 Dec 2002 16:00:40 +0100 [thread overview]
Message-ID: <015a01c2a1ef$3cb166b0$c800a8c0@tino> (raw)
In-Reply-To: 3DF86BDD.2090505@istitutocolli.org
Hello
I try to use a Cable ISP and ADSL ISP together on the same gateway to have
benefit from low latency cable and High Bandwith ADSL at the same time.
In this way I read lot of docs and essentialy the advanced routing HOWTO
which explain how to mark packets to route them on an interface or another.
I tried the examples but these doesn't work.
My Goal is to use Cable for low latency application and ADSL for all other
applications.
I need some help to understand how to proceed to realise this.
This is my actual situation.
eth0= 192.168.1.254 (DMZ )
eth1= 192.168.0.254 (LAN)
eth2= dynamic public ip (Cable ISP)
ppp0= dynamic public ip (ADSL ISP)
This is my simple iptables script for NAT
----------------START---------------
IPTABLES="/sbin/iptables"
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
# Remise a Zero des regles du firewall au cas ou
$IPTABLES -F
$IPTABLES -t nat -F
echo Init des regles par defaut
$IPTABLES -P INPUT ACCEPT
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -P FORWARD ACCEPT
echo Debut des regles de filtrage
$IPTABLES -t nat -A POSTROUTING -s 192.168.0.0/23 -o ppp0 -j MASQUERADE
#Fin des regles de routage
echo "Firewall installé."
----------------END---------------
Thanks.
next prev parent reply other threads:[~2002-12-12 15:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-12 9:17 QoS using HTB and SFQ Raymond Leach
2002-12-12 10:06 ` Guillaume Morin
2002-12-12 10:46 ` Jordi Bruguera
2002-12-12 10:58 ` Andrea Rossato
2002-12-12 15:00 ` tinozaure [this message]
2002-12-12 11:06 ` RE : " Franck
2002-12-12 14:34 ` Tom Eastep
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='015a01c2a1ef$3cb166b0$c800a8c0@tino' \
--to=tinozaure@netcourrier.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.