Page 4 of 12 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 114

Thread: Creating a Firewall for Your Ubuntu Desktop

  1. #31
    Join Date
    Jun 2011
    Location
    Atlanta Georgia
    Beans
    1,769
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Creating a Firewall for Your Ubuntu Desktop

    Quote Originally Posted by BigCityCat View Post
    Okay I got it. Thanks once again. I keep learning new tricks. 443,80,8999

    I am assuming that 8999 was the offender.

    Thanks
    Great I'm glad you were able to fix it. Sometimes those poorly documented applications can be a pain to get working with a scheme like this.

  2. #32
    Join Date
    Apr 2011
    Beans
    484

    Re: Creating a Firewall for Your Ubuntu Desktop

    Quote Originally Posted by Dangertux View Post
    Great I'm glad you were able to fix it. Sometimes those poorly documented applications can be a pain to get working with a scheme like this.
    Poorly documented applications are a pain to get working period, the functionality of a software is only as good as the amount of features it's user knows.
    Life is an extraordinarily long concatenation of luck and coincidence.

  3. #33
    Join Date
    Dec 2008
    Location
    Orlando, Fl
    Beans
    471
    Distro
    Kubuntu 12.10 Quantal Quetzal

    Re: Creating a Firewall for Your Ubuntu Desktop

    yeh because it is still giving me problems. Sometimes it works and others not. Turn the firewall of and it fires right up. going to sleep now. gonna give it another go tomorrow.

  4. #34
    Join Date
    Jun 2011
    Location
    Atlanta Georgia
    Beans
    1,769
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Creating a Firewall for Your Ubuntu Desktop

    Quote Originally Posted by BigCityCat View Post
    yeh because it is still giving me problems. Sometimes it works and others not. Turn the firewall of and it fires right up. going to sleep now. gonna give it another go tomorrow.
    It may be a range of ports it's trying to use I just tried to play the game and it used port 9000 TCP when I tried.

    Hope this helps.

  5. #35
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    3,506
    Distro
    Ubuntu Development Release

    Re: Creating a Firewall for Your Ubuntu Desktop

    Quote Originally Posted by Doug S View Post
    An excellent posting, and it obviously took some time to do.
    In method 3, iptables, I do not understand something about the peristent stuff. I understand the part about saving the rules and using the saved version on boot up (and I have used that method in the past). What I am not understanding is how the various /proc/sys/net bits would get set or reset as per the original script, as this part would not be done via the iptables-restore command. As mentioned in the comments in the example script, maybe it doesn't matter for this case. I use the rc level stuff to execute my firewall script on system startup, and actually didn't know about the pre-up method used in this example [edit: or had forgotten]. If one needs it for some reason, such as some non-iptables related stuff, could the pre-up method just execute the original script? For example:
    Code:
    pre-up /home/doug/init/iptables.sh
    I tried the pre-up method to execute my firewall script, which includes several non iptables commands, on system statrup and it worked fine. I will probably change to this method permanently.

  6. #36
    Join Date
    Jun 2011
    Location
    Atlanta Georgia
    Beans
    1,769
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Creating a Firewall for Your Ubuntu Desktop

    Quote Originally Posted by Doug S View Post
    I tried the pre-up method to execute my firewall script, which includes several non iptables commands, on system statrup and it worked fine. I will probably change to this method permanently.

    Wow I didn't even see that question back there.

    You have a valid point about setting the /proc/sys/net bits, they will be reset by sysctl on reboot (if they are defined there).

    You can work around this via the method you mentioned with the runlevel script. Alternatively you could modify your/etc/sysctl.conf to reflect appropriately

  7. #37
    Join Date
    Dec 2008
    Location
    Orlando, Fl
    Beans
    471
    Distro
    Kubuntu 12.10 Quantal Quetzal

    Re: Creating a Firewall for Your Ubuntu Desktop

    Quote Originally Posted by Dangertux View Post
    It may be a range of ports it's trying to use I just tried to play the game and it used port 9000 TCP when I tried.

    Hope this helps.
    yeh that was it. I did a range and it's working. You are awesome thanks.

  8. #38
    Join Date
    Jun 2011
    Location
    Atlanta Georgia
    Beans
    1,769
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Creating a Firewall for Your Ubuntu Desktop

    Quote Originally Posted by BigCityCat View Post
    yeh that was it. I did a range and it's working. You are awesome thanks.
    Glad it worked out for you

  9. #39
    Join Date
    Nov 2007
    Location
    Newry, Northern Ireland
    Beans
    1,258

    Re: Creating a Firewall for Your Ubuntu Desktop

    Hi DT,

    Might be an idea to add the Gmail SSL imap and smtp ports:

    Gmail SMTP TLS: 587
    Gmail SMTP SSL: 465
    Gmail POP SSL: 995
    Gmail IMAP SSL: 993

    Great how-to though.

    Stefan
    Can't think of anything profound or witty.
    My Blog: http://gonzothegeek.blogspot.co.uk/

  10. #40
    Join Date
    Sep 2011
    Beans
    1,531

    Re: Creating a Firewall for Your Ubuntu Desktop

    Quote Originally Posted by spynappels View Post
    Hi DT,

    Might be an idea to add the Gmail SSL imap and smtp ports:

    Gmail SMTP TLS: 587
    Gmail SMTP SSL: 465
    Gmail POP SSL: 995
    Gmail IMAP SSL: 993

    Great how-to though.

    Stefan
    Or maybe more broadly, where does one go to find out what ports my services & hardware use? I suppose there's no big repository out there. If you just watch what ports it uses on your machine, you won't see the range of ports if that's how they do it. Should I just google, for example, Gmail & Ports?

Page 4 of 12 FirstFirst ... 23456 ... LastLast

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
  •