NAT and logging options

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

 



Hi folks..

I have a NAT gateway box that have to NAT billions of connection from private ips to public world.

I have thousand of strings like that

/usr/local/sbin/iptables -t nat -A POSTROUTING -s 10.10.0.0/23 -o eth0 -j SNAT --to PUBLIC_IP
/usr/local/sbin/iptables -t nat -A POSTROUTING -s 10.10.2.0/23 -o eth0 -j SNAT --to PUBLIC_IP

Now i want to be able to log all that traffic to a specific file ?
Anyonw know how to do this ?

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Simone Sestini [ SS971-RIPE ]

Plug IT s.p.a. - Technical Office
Via Galileo Ferraris 216
52100 Arezzo

Titles:
System and Network Administrator
Data Transmission Manager

Fax             +39 199 440088
E-mail          simone.sestini@plugit.net
Web             http://www.plugit.it

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux