[LARTC] masqurading and source based routing

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i have private network let it be 192.168.0.0/24
and and two external networks,
let it be 10.1.1.0/24 and 10.2.2.0/24
ip addresses of my linux box is
192.168.0.1
10.1.1.1
10.2.2.1

i want to masquarade all private network addresses through 10.1.1.1
but also if destination is not at 10.1.1.0/24 want to route masquaraded
packets through gateway 10.2.2.2

how to do that?

Agrui



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux