[CentOS] ls network address traslation different in centos?

2008-12-31 Thread chloe K
Hi all ls the network address traslation in centos5.2 different? I disable the default iptable rule and use the following commands but I can't connect http://public:8080 from outside to this host 192.168.0.10 port 80 eth1 is public address eth0 is private address 192.168.0.1

Re: [CentOS] ls network address traslation different in centos?

2009-01-01 Thread German Andres Pulido
I think you forgot to open the port in the FILTER table. Open it like this: iptables --table filter -p tcp -d 8080 -j ACCEPT The syntax may not be 100% perfect, and also you may want to tight the security, but I hope you get the idea. Regards. GERMAN ANDRES PULIDO F. Ingeniero de Proyectos

Re: [CentOS] ls network address traslation different in centos?

2009-01-01 Thread Robert Spangler
On Wednesday 31 December 2008 16:05, chloe K wrote: >ls the network address traslation in centos5.2 different? Nope. >I disable the default iptable rule and use the following commands but I > can't connect http://public:8080 from outside to this host 192.168.0.10 > port 80 > >eth1 is

Re: [CentOS] ls network address traslation different in centos?

2009-01-01 Thread Kenneth Burgener
On 1/1/2009 8:13 PM, Robert Spangler wrote: > Your rules are in need of help. > First off I am not even sure what you are doing will work, i.e.; > > --append or --table > > These are written as '-A' and '-t' > --append and --table are legal syntax... # man iptables -t, --table table This

Re: [CentOS] ls network address traslation different in centos?

2009-01-02 Thread Robert Spangler
On Friday 02 January 2009 00:16, Kenneth Burgener wrote: > On 1/1/2009 8:13 PM, Robert Spangler wrote: > > Your rules are in need of help. > > First off I am not even sure what you are doing will work, i.e.; > > > > --append or --table > > > > These are written as '-A' and '-t' > > --appe

Re: [CentOS] ls network address traslation different in centos?

2009-01-02 Thread jkinz
On Thu, Jan 01, 2009 at 10:13:55PM -0500, Robert Spangler wrote: > Your rules are in need of help. > First off I am not even sure what you are doing will work, i.e.; > > --append or --table > > These are written as '-A' and '-t' Hi Bob, just fyi "--table" and "--append" are both