* [LARTC] LARTC] 2 gateway on linux
@ 2003-05-10 18:55 Mohammad Shakir
2003-05-10 21:46 ` Martin A. Brown
0 siblings, 1 reply; 2+ messages in thread
From: Mohammad Shakir @ 2003-05-10 18:55 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 1203 bytes --]
Dear,
I have setup two isp connection on ppp0 and ppp1 on Red Hat linux 7.3 now i want to route my all network request on both network. When I
have single ppp0 connection I use this script /sbin/iptables --table nat --append POSTROUTING -s 192.168.0.1/24 --out-interface ppp0 -j MASQUERADE
/sbin/iptables --append FORWARD --in-interface eth0 -j ACCEPT Now I have setup two interface for internet ppp0 and ppp1, now what should I change in my script. I am trying to use two dialup link for load sharing.Further -Martin advice me to add this line in my script
/sbin/iptables -table nat --append POSTROUTING -s 192.168.0.1/24 --out-interface ppp1 -j MASQUERADEand# turn off reverse path filtering
# echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
# echo 0 > /proc/sys/net/ipv4/conf/default/rp_filter
# echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
# echo 0 > /proc/sys/net/ipv4/conf/ppp0/rp_filter
# echo 0 > /proc/sys/net/ipv4/conf/ppp1/rp_filter
and he also advice me to read Nano-HOWTO, so anyone know from where I can find this document. thanks to Martin and others whose help me to solve this problem.
---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
[-- Attachment #2: Type: text/html, Size: 1515 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] LARTC] 2 gateway on linux
2003-05-10 18:55 [LARTC] LARTC] 2 gateway on linux Mohammad Shakir
@ 2003-05-10 21:46 ` Martin A. Brown
0 siblings, 0 replies; 2+ messages in thread
From: Martin A. Brown @ 2003-05-10 21:46 UTC (permalink / raw)
To: lartc
Mohammad,
: and he also advice me to read Nano-HOWTO, so anyone know from where I
: can find this document. thanks to Martin and others whose help me to
: solve this problem.
Sorry to have forgotten to send you the link to the Nano-HOWTO.
http://www.ssi.bg/~ja/nano.txt
-Martin
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-10 21:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-10 18:55 [LARTC] LARTC] 2 gateway on linux Mohammad Shakir
2003-05-10 21:46 ` Martin A. Brown
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.