On Fri, Jul 6, 2012 at 10:15 PM, Panayiotis Karabassis wrote:
> Sorry for replying directly but I think you may want to read this.
No need sorry, very nice to have replies.
>
> You have:
> Chain INPUT (policy DROP)
>
> This should be ACCEPT instead of DROP. Try:
>
> iptables -P INPUT ACCEPT
>
>
lina wrote:
> On Thu, Jul 5, 2012 at 10:50 PM, Darac Marjal
> wrote:
>> On Thu, Jul 05, 2012 at 10:28:43PM +0800, lina wrote:
>>> Hi,
>>>
>>> What is the best way to turn off the iptables?
>> # iptables --flush
> I tried before.
>
> # ip
07/05/12 19:02, lina пишет:
On Thu, Jul 5, 2012 at 10:50 PM, Darac Marjal wrote:
On Thu, Jul 05, 2012 at 10:28:43PM +0800, lina wrote:
Hi,
What is the best way to turn off the iptables?
# iptables --flush
I tried before.
# iptables -F
# iptables -L
Chain INPUT (policy DROP)
target
>
> Maybe nobody is listening to that ports?
>
> What does
>
> netstat -plunt
>
> returns you?
# nc -l -p 5000
# netstat -plunt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp0 0 0.0.0.0:22
Le Fri, 6 Jul 2012 15:31:22 +0800,
lina a écrit :
> On Fri, Jul 6, 2012 at 4:01 AM, Joe wrote:
> > On Thu, 5 Jul 2012 22:28:43 +0800
> > lina wrote:
> >
> >> Hi,
> >>
> >> What is the best way to turn off the iptables?
> >>
> &
On Fri, Jul 6, 2012 at 4:01 AM, Joe wrote:
> On Thu, 5 Jul 2012 22:28:43 +0800
> lina wrote:
>
>> Hi,
>>
>> What is the best way to turn off the iptables?
>>
>> or come back to its default settings. Flush my current one.
>>
>
> This
On Fri, Jul 6, 2012 at 12:33 AM, Brian wrote:
> On Thu 05 Jul 2012 at 22:28:43 +0800, lina wrote:
>
>> Hi,
>>
>> What is the best way to turn off the iptables?
>>
>> or come back to its default settings. Flush my current one.
>
> Depends on what rules y
>
> You could always flush/remove all the rules. But my suggestion is to
> understand why it is blocking you.
> You could do that by
> iptables -L -vn
> this prints the packets stats against each rule.
> Another handy tool is netcat. Combining both of these you could easily
> debug iptables scena
On Thu, 5 Jul 2012 22:28:43 +0800
lina wrote:
> Hi,
>
> What is the best way to turn off the iptables?
>
> or come back to its default settings. Flush my current one.
>
This is the script I use:
#!/bin/sh
#/etc/iptables/iptables.flush
iptables -t filter -F
iptables -t fil
On Thu, Jul 5, 2012 at 10:06 PM, Brian wrote:
> On Thu 05 Jul 2012 at 23:02:19 +0800, lina wrote:
>
> > Chain INPUT (policy DROP)
> > target prot opt source destination
> >
> > Chain FORWARD (policy DROP)
> > target prot opt source destination
> >
> > Chain OUT
On Thu 05 Jul 2012 at 23:02:19 +0800, lina wrote:
> Chain INPUT (policy DROP)
> target prot opt source destination
>
> Chain FORWARD (policy DROP)
> target prot opt source destination
>
> Chain OUTPUT (policy ACCEPT)
> target prot opt source
On Thu 05 Jul 2012 at 22:28:43 +0800, lina wrote:
> Hi,
>
> What is the best way to turn off the iptables?
>
> or come back to its default settings. Flush my current one.
Depends on what rules you have set up.
iptables -F
and
iptables -X
should do it for you.
> 4]
On Thu, Jul 5, 2012 at 11:02 PM, Mika Suomalainen
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi,
>
> On 05.07.2012 17:28, lina wrote:
>> Hi,
>>
>> What is the best way to turn off the iptables?
>
> I think that iptables cannot be tu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
On 05.07.2012 17:28, lina wrote:
> Hi,
>
> What is the best way to turn off the iptables?
I think that iptables cannot be turned off.
> or come back to its default settings. Flush my current one.
iptables --flush
removes all
On Thu, Jul 5, 2012 at 10:50 PM, Darac Marjal wrote:
> On Thu, Jul 05, 2012 at 10:28:43PM +0800, lina wrote:
>> Hi,
>>
>> What is the best way to turn off the iptables?
>
> # iptables --flush
I tried before.
# iptables -F
# iptables -L
Chain INPUT (policy DROP)
On Thu, Jul 05, 2012 at 10:28:43PM +0800, lina wrote:
> Hi,
>
> What is the best way to turn off the iptables?
# iptables --flush
will clear out all your iptables rules.
>
> or come back to its default settings. Flush my current one.
>
> Since I tried to configure
Hi,
What is the best way to turn off the iptables?
or come back to its default settings. Flush my current one.
Since I tried to configure the iptables, I have encountered the
following problems:
1] I can't access the cups and some other ports I opened in localhost.
I comment the line 5
17 matches
Mail list logo