iptables and NAT [SOLVED]

Jatin K ssh.fedora at gmail.com
Fri Jan 28 05:11:28 UTC 2011


On Wednesday 26 January 2011 10:21 PM, Tim wrote:
> On Wed, 2011-01-26 at 21:27 +0530, Jatin K wrote:
>> I surprised that this kind of things/action can be take by the ISP
> Over here, in Australia...
>
> Some ISPs block port 80 by default, though you may enable it.  I seem to
> recall that was an ISP-reaction to a worm.
>

Dear all

I've got it working and it works like anything ...

This[1] is the output of command service iptables status


---------[1]----------------------------------------------------------

Table: nat
Chain PREROUTING (policy ACCEPT)
num  target     prot opt source               destination
1    DNAT       all  --  0.0.0.0/0            xx.xx.xx.xx   tcp dpt:80       to:192.168.131.131:80
2    DNAT       all  --  0.0.0.0/0            192.168.131.133  tcp dpt:80       to:192.168.131.131:80

Chain POSTROUTING (policy ACCEPT)
num  target     prot opt source               destination
1    MASQUERADE  all  --  192.168.131.131/24        0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination

Table: filter
Chain INPUT (policy ACCEPT)
num  target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
num  target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination





-- 
   °v°
  /(_)\
   ^ ^  Jatin Khatri
Registerd Linux user No #501175
www.counter.li.org
No M$



More information about the users mailing list