Results 1 to 6 of 6

Thread: Ubuntu Firewall??

  1. #1
    Join Date
    Feb 2008
    Location
    Malta
    Beans
    126
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Ubuntu Firewall??

    Hi guys,

    I am running 8.04 Server edition, and been racking my brains on an issue i am having.

    I have configured SNMP correctly on UBT01, and able to get SNMP information locally (There is no Host specified in snmpd.conf there it is not an SNMP access list issue).

    When running a TCPDUMP on UBT01 i can see the following:

    Code:
    00:42:58.677424 IP 192.168.1.101.43511 > 192.168.1.103.snmp:  C=mark GetNextRequest(25)
    00:42:58.677492 IP 192.168.1.103 > 192.168.1.101: ICMP 192.168.1.103 udp port snmp unreachable, length 74
    Is there any firwall installed on Ubuntu or anything that might be denying the connection.

    Thanks for any feedback you can give!

    Mark

  2. #2
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Ubuntu Firewall??

    The firewall is called iptables ant there are a number of front ends.

    By default the firewall is permissive.

    You can check your firewall rules with :

    Code:
    sudo iptables -L
    See also :

    community/Uncomplicated_Firewall_ufw

    https://help.ubuntu.com/8.04/serverg.../firewall.html
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  3. #3
    Join Date
    Dec 2006
    Location
    Oregon, US
    Beans
    1,541
    Distro
    Ubuntu Development Release

  4. #4
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Ubuntu Firewall??

    Firestarter will not run without X.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  5. #5
    Join Date
    Dec 2006
    Location
    Oregon, US
    Beans
    1,541
    Distro
    Ubuntu Development Release

    Re: Ubuntu Firewall??

    Quote Originally Posted by bodhi.zazen View Post
    Firestarter will not run without X.
    Good point. I forget that not everyone installs a gui on their server.

  6. #6
    Join Date
    Jan 2006
    Beans
    9

    Re: Ubuntu Firewall??

    Its probably not a firewall issue, as by default the firewall allows everything. Its worth checking the entries in /etc/default/snmpd to see if the snmpd daemon is actually listening on the main IP address of the system, because by default it only listens on 'localhost' 127.0.0.1

    I simply added the hostname of the system to the end SNMPDOPTS line and restarted the daemon and lo and behold it works.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •