Re: iptables and NAT [SOLVED]

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

 



On Friday 28 January 2011 02:00 PM, Tim wrote:
> On Fri, 2011-01-28 at 10:41 +0530, Jatin K wrote:
>> 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
> Is that the entire output?

yes it is

> Because, unless there's something else
> that's not shown above, you have no firewall.  Everything's accepted.
>



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

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux