iptables nat

nk eos at eos.gr
Thu Jan 24 00:43:33 EET 2008


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





More information about the Linux-greek-users mailing list