Re: [CentOS] iptables nat table rules

2011-02-08 Thread Joe DiTommasso
On Tue, Feb 08, 2011 at 12:36:44PM -0600, Carlos S wrote: > I am forwarding traffic on port 8080 to port 80 with following rule. > # iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j > REDIRECT --to-port 80 > # iptables-save > > However, I am unable to add it directly in /etc/sysconfig/

Re: [CentOS] tcpdump; how to dump all

2011-01-14 Thread Joe DiTommasso
On Fri, Jan 14, 2011 at 08:21:23AM -0500, Kwan Lowe wrote: > On Fri, Jan 14, 2011 at 5:28 AM, Giles Coochey wrote: > >>How can I dump every packets received by filter ? > > > > I use the following command to make packet captures: > > > > tcpdump -i eth0 -s 0 -w capture.cap > > > > It creates a fil