Re: Apache Settings in Breezy

From: J.O. Aho (user_at_example.net)
Date: 11/16/05


Date: Wed, 16 Nov 2005 17:05:01 +0100

Nitewolf wrote:
> On Mon, 14 Nov 2005 03:42:03 +0800, Nitewolf wrote:
>
>> I've installed apache2 on breezy.
>> put some files in /var/www/ and is able to hots, list the folder through
>> my web browser. problem is i am the only one who can do that. anyone else
>> are not able to even connect to my hosted folders.
>>
>> how do i fix that? does ubuntu restricts outsiders from connecting to my
>> localhost? how can i host some files from my com to others?
>
> Ubuntu is starting to get on my nerves now. blocking all my ports. such an
> irony. it's like we locked ourselves in a castle.
>
> i can't get firestarter to override the blocked ports. i can't get webmin
> to run coz it uses port 10000. i ran a port scan and not even one of my
> freaking first 1056, not even one, is visible (stealth) to the outside
>
you can run 'iptables -L' to get a listing of the rules you have, then you can
 with help of iptables remove a specific rule, either give the order number
(1,2,3...) it appeared on the listing or by issuing the whole rule again.

As iptables ain't my strong side, you need to check the man page.
This should at least open all ports:

         iptables -F
         iptables -X
         iptables -Z

         iptables -P INPUT ACCEPT
         iptables -P FORWARD ACCEPT
         iptables -P OUTPUT ACCEPT

 //Aho



Relevant Pages

  • Re: IPTABLES: Per erfolgreichem SSH Login Ports =?iso-8859-15?Q?=F6ffnen?=
    ... Also sollen weitere Ports z.B. nur mit dem korrekten Keyfile ... Entkopple doch den Teil, der iptables aufruft, von dem teil, der ... wenn sich jemand per ssh einloggt. ... kommandos absetzt und keinen User-input entgegen nimmt. ...
    (de.comp.security.firewall)
  • Re: iptables syntax error
    ... in which I have the iptables binary in the source code .I then copy the ... then source ports below 512 will be mapped to other ports below 512: ... # Difference between SNAT and MASQUERADE? ... # connections will survive a reconnect. ...
    (comp.os.linux.networking)
  • Re: iptables syntax error
    ... in which I have the iptables binary in the source code .I then copy the ... then source ports below 512 will be mapped to other ports below 512: ... # Difference between SNAT and MASQUERADE? ... # connections will survive a reconnect. ...
    (comp.os.linux.networking)
  • Re: [kde] Im feeling paranoid - with good reason.
    ... There should be a script in /etc/rc.d/init.d that starts iptables and loads ... the ruleset in /etc/sysconfig/iptables. ... Things like suse2 firewall. ... Check for open ports by running nmap localhost. ...
    (KDE)
  • Re: securing Ubuntu and firewall
    ... Ubuntu doesn't open ports by default on the outside. ... implement a firewall, it's a packet filter. ... Running iptables on a workstation with the view to closing all ports ...
    (Ubuntu)

Loading