iptables nat

Panagiotis Palias paliasp at yahoo.com
Thu Jan 24 11:29:22 EET 2008


nk wrote:
> exw thn parakatw aplh ylopoihsh (se pyrhnes 2.6.21.5
kai  2.4.33.3 
> iptables 1.3.8 kai  1.3.5 antistoixa)
>
> dyo pp ifaces ppp1 kai ppp2
>
> dinw
>
> ip route add default dev ppp1 weight 1 dev ppp2
weight 1
> iptables -t nat -A POSTROUTING -o ppp1 -j SNAT \
> --to-source $ppp1ipaddr
> iptables -t nat -A POSTROUTING -o ppp2 -j SNAT \
> --to-source $ppp2ipaddr
>
> ola _fainetai_ na leitourgoun aproblhmatista
> alla to trafshow h to iptraf kai loipa tools
(tcpdump telos pantwn) mou 
> deixnoun
> oti feygoun paketa apo to ppp2 iface me source
address aythn tou ppp1
> kai antistrofa (liga men alla pantws feygoun)
>
> paei kanenos to myalo pouthena?
>
> thanks
>   
Den paei kapou to mualo mou alla mporw na sou proteinw
to parakatw 
kefalaio apo to Linux Advanced Routing and Traffic
Control.
http://lartc.org/howto/lartc.rpdb.multiple-links.html




      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping




More information about the Linux-greek-users mailing list