[SOLVED] Iptables doesn't allow pacman -S(y) anymore...

Hi there,
First of all, sorry for my english .
I've just configured my firewall, but now i can't get pacman working great. Nowatime I can't synchronise, and i can't install anything. So, I think that pacman use port number 80, but iam not sure. I did make some searches but could not find anything on the port used.
So here are my rules :
#!/bin/sh
# Flush and delete all rules
sudo iptables -F
sudo iptables -X
sudo iptables -t nat -F
# Keep connections open
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
##INPUT
# Allow ssh
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
# Allow ping
#iptables -A INPUT -p icmp -j ACCEPT
# Allow HTTP
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j ACCEPT
# Allow SMTP & POP
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 993 -j ACCEPT
# Allow NNTPS
iptables -A INPUT -p tcp --dport 563 -j ACCEPT
# Allow JABBER
#iptables -A INPUT -p tcp --dport 5222 -j ACCEPT
#iptables -A INPUT -p tcp --dport 8000 -j ACCEPT
#iptables -A INPUT -p udp --dport 8000 -j ACCEPT
#iptables -A INPUT -p tcp --dport 21 -j ACCEPT
##Default rules
# Block all INPUT & FORWARD
iptables -P INPUT DROP
iptables -P FORWARD DROP
# block all OUTPUT
iptables -P OUTPUT DROP
##LOOPBACK
# Allow loopback
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
##OUTPUT
# Allow FTP, DNS, HTTP, HTTPS
iptables -A OUTPUT -p tcp --dport 20 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 21 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 53 -j ACCEPT
iptables -A OUTPUT -p udp --dport 53 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 80 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 443 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 563 -j ACCEPT
# Allow SMTP, POP & IMAP
iptables -A OUTPUT -p tcp --dport 25 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 110 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 143 -j ACCEPT
# Allow NTP
iptables -A OUTPUT -p tcp --dport 123 -j ACCEPT
iptables -A OUTPUT -p udp --dport 123 -j ACCEPT
# Allow SSH
iptables -A OUTPUT -p tcp --dport 22 -j ACCEPT
iptables -A OUTPUT -p udp --dport 22 -j ACCEPT
# Allow WHOIS
iptables -A OUTPUT -p tcp --dport 43 -j ACCEPT
# Allow USENET
#iptables -A OUTPUT -p tcp --dport 119 -j ACCEPT
#iptables -A OUTPUT -p tcp --dport 8000 -j ACCEPT
#iptables -A OUTPUT -p udp --dport 8000 -j ACCEPT
Can you help me get it working great please?
Thanks a lot friends
Last edited by madnerves (2009-05-06 08:41:18)

We need to know whether you're syncing to a HTTP or an FTP mirror too... I suppose FTP.
Make sure you have the ip_conntrack_ftp module loaded (kernel module, that is). Restart the firewall, and if you have all the right ports allowed, it should work fine.

Similar Messages

  • [SOLVED] URxvt doesn't allow tabs to be opened as regular user

    I recently had my file system become corrupted as was forced to restore 2 week old backup, after configuring the backup and booting into the system I fired up urxvt opened journalctl -f. When I tried to open a new tab I got this error:
    Jan 05 01:49:07 thinkpad slim[431]: urxvt: can't fork, aborting.
    Jan 05 01:49:07 thinkpad slim[431]: urxvt: error while initializing new terminal instance at /usr/lib/urxvt/urxvt.pm line 1125.
    One thing I have noticed is if I make the window larger I can sometimes get 2 tabs before the error shows, if I make it fullscreen I get 1 tab and if I leave it unchanged I can get 3 tabs. If I su - and fire it up I can get tabs to my hearts content.
    Figuring this was an issue specific to my user I created a new user and have the same issue.
    x86_64
    3.7.1-3-ck
    fluxbox
    My .Xdefaults
    urxvt.geometry:90x25
    urxvt.scrollBar: false
    urxvt.saveLines: 10000000000000000
    urxvt.foreground: white
    urxvt*termName: rxvt-256color
    urxvt*transparent: true
    urxvt.depth: 32
    urxvt.font: 7x14
    urxvt.background: [85]#000000
    urxvt.perl-ext-common: default,tabbed,matcher
    urxvt.url-launcher: /usr/bin/chromium
    urxvt.matcher.button: 1
    The system is 100% up to date as of this posting.
    Last edited by gehidore (2013-01-06 18:23:28)

    xamaco wrote:Starting with urxvt 9.16, several change have happened. Among other things :
      perl-ext-common has been replaced by perl-ext
      url-launcher replaced by urxvt-url-launcher
    See man urxvt-extensions and http://dist.schmorp.de/rxvt-unicode/Changes
    Looking at the latter I see this:
    - INCOMPATIBLE CHANGE: renamed urlLauncher resource to url-launcher.
        - fix processing of DEC private mode save sequences (patch by Patrick
          Hemmer).
    Which doesn't seem to apply to my issue, and is a change from "urlLauncher to url-launcher" which I already use, and already works.
    I have changed the perl-ext-common to perl-ext Nothing has changed.
    Again the strange part about this for me is that opening a root rxvt window from su - tabs function 100% fine.

  • I'm using Firefox Ver 3.6.10 with updated Java console ver 6.0.22. After the updating, firefox doesn't allow pop up window anymore. Please advise.

    I also face this problem in previous Firefox version but after updated to newer release, the problem disappeared until new Java console updates again.
    The Pop up does not come out at all.
    I have tried restart Firefox but when restarting, a message pop up and tell me that another Firefox is running and after I check into my Task Manager, the Task Manager shows that there is another Firefox is still running.

    You can uninstall (remove) the Java Console extensions and disable the Java Quick Starter extension, you do not need them to run Java applets.
    See http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    See also "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * [[Firefox hangs]]

  • Firefox did an automatic update to 6.01, and now my middle mouse button is not working in the browser. It doesn't close tabs, it doesn't open new tabs by middle clicking a link, it doesn't allow me to middle click to scroll the page...

    Firefox did an automatic update to 6.01, and now my middle mouse button is not working in the browser. It doesn't close tabs, it doesn't open new tabs by middle clicking a link, it doesn't allow me to middle click to scroll the page..

    [BUG FIXED, see "EDIT 2" at the end of my post]
    I'm on Firefox 3.6.21, and I got this problem today after a Greasemonkey update (To version 0.9.10, apparently).
    Disabling Greasemonkey solved the problem, and re-enabling it reproduced the problem (middle-clicking links to open in new tab did not work, merely highlighted the link).
    I should also note that while Greasemonkey was enabled and the bug was affecting me, Ctrl+Click to open links in new tabs was also broken.
    I hope this helps!
    EDIT: It appears this is a known incompatibility/conflict bug between current versions of Greasemonkey and Tab Mix Plus. Read more here:
    https://github.com/greasemonkey/greasemonkey/issues/1406
    EDIT 2: GREASEMONKEY HAS NOW BEEN UPDATED with a workaround to fix the problem. Go to https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/versions/ to install the update manually. It hasn't been reviewed by Mozilla yet, so it won't be an automatic update for another day or two. All credit to "cannonfodder" below for noticing this; please mark his post as helpful!

  • Mail can't send messages: Doesn't allow fix the problem either: Help plz.

    Hi all,
    Mail doesn't allow me to send messages through my recent created aim.com account
    I'm trying to fix the problem by changing smtp server configuration but it gives me the message:
    "The servers marked with alert icons are in conflict and cannot be saved.
    Two servers cannot share the same address and authentication settings.
    Resolve the conflicts and try again."
    There are no icons whatsoever and deleting any similar server won't take effect because Mail WON'T save the changes.
    When clicking "ok" to save changes, Mail will throw the same message quoted above. So I have to click "Cancel"
    Any idea to solve this issue?
    Thank you.

    http://support.apple.com/kb/TS3234

  • ITunes doesn't allow me to watch a movie

    I rented a movie and after downloading it iTunes doesn't allow me to watch it, it says that needs the authorization of iTunes and that iTunes must be open... but its already open and nothing happens.
    Solved. I just waited 15 min and tried again

    are you getting a specific error number?
    Update and restore alert messages on iPhone, iPad, iPod touch and Apple TV (2nd generation)
    http://support.apple.com/kb/TS1275

  • My aperture trash doesn't allow me to 'put back' my images

    Please help
    I am using aperture 3.2.2 on a MacPro3.1 Mac OSX 10.6.8
    I suddenly have 5000 of my images in aperture trash. I don't know how they ended up in trash. I fail when trying to put the images back in their projects. When i right-click (or control-click) I have a very short drop down menu to chose from and it doesn't include the 'put back' option?? I have seen people posting before on this problem. I haven't seen a solution yet. Anyone knows how to solve? By the way, I tried exporting to re-import but Aperture doesn't allow this for trash-items...

    Try rrepairing the library See Aperture 3: Troubleshooting Basics
    Post back if that doesn;t help 

  • HT5527 How do I choose the $40.00 Icloud plan? When I attemp this, it doesn't allow me to click "next."

    How do I choose the $40.00 Icloud plan? When I attemp this, it doesn't allow me to click "next."
    The only way it allows me to click "next" is if I choose the $100.00 plan. The email that was sent to me says that I should upgrade or reduce storage because my plan will be reduce to 5GB as of September 30, 2013. Please advise.

    Try Settings>iCloud>Storage & Backup>Change Storag Plan.  If you are a former MobileMe user you should see Purchase Current Plan listed between the 20GB and 50GB options.

  • Migration Assistant doesn't allow me to choose what drive.

    Well, I got my new computer. I tried to migrate a drive from my old computer using Migration Assistant. and it doesn't allow me to choose what drive.
    In my old computer I have 5 drives. The original HD (was 10GB, was replaced last year by a 40 GB) and on my Hitachi 250 GB drive that I added 2 years ago, there's a partition with 4 drives.
    I wanted to migrate one particular drive from there (called Current work).
    First I did a mistake. I connected both computer via the firewire in the afternoon when there was enough daylight so I don't have to do it later at night (the computers are under the table.) I thought it's OK since I'm not pushing any button yet ("migrate now", "transfer", and such).
    I turned on the new computer and a message appeared: you must restart.
    That's strange, I said to myself. it's a brand new computer. Usually It says that when there's a problem, but OK I restart and when it's back on, I see that my external drive (Neptune from OWC which was still hooked up in the old computer) is on the desktop. And it took just a few seconds. I open it and all the files, etc. are there. It did copy the whole external drive !
    I'm not an computer expert but I believe the Mac Pro did notice that's there's a firewire hooked up and then, without asking me, migrated the external drive and that's why it asked me to restart. I would have prefer if it tells me "restart so migration can begin".
    I don't mind for now that my external drive is on my new computer. I can always erase it if I don't want it. It is still external right ? so it doesn't intrude on the 640 GB of my HD so I just keep it.
    But it also copied/migrate Mac HD 40 GB which is full of OS 9 and I almost never use it anymore. I don't want it coz it has applications and they advise not to migrate applications (certainly not applications with issues).
    They say migrate folders, settings but re-install applications.
    And it migrated also another drive called "Scratch" which has only personal date no system, no software.
    Anyway, I erased everything and re-installed using the Install disk that came with the computer.
    BTW, what they say in the manual (p. 90: Re-installing the software that came with your Mac Pro) is different than what really happens.
    They say insert disk, double- click on Install and then click options in the "Select a destination" pane of the installer. Then click "erase and install" Problem is: there's no "Select a destination" pane. Or any options.
    I had to go to Disk utility and erase, then re-install OS X.
    Then re-install the applications using "Install applications" (the other disc that came with the computer. )
    OK, I did that. Then while everything is empty, new, I used Migration Assistant.
    Now here is the reason why I post this.
    They say hold T key until you see a firewire icon then select a drive. I can't see when there's an icon coz I have only one monitor, so I just hold and hold the T-key and turn on the old computer. The screen shows "waiting for you other computer to restart" 2 min.... 5 min... 7 min. Nothing happens. I stop holding.
    I look at the desktop and I see that the icon of the old 40 GIG Mac HD is there. (and I believe with a firewire logo, but not sure about that.)
    I have the impression that if I kept the T-key longer it would have migrate the other drives as well.
    They say keep the T-key down until you see the firewire (then let go I suppose. As I said I don't see what's going on on the desktop of my old computer so I kept the T-key for a few minutes. I also tried another time to let go after 1-2 min. No difference.
    I shut down the new comp. and the old computer screen appears automatically (both are connected to the monitor; the old with analog port, the new with digital port) and sure enough the firewire icon is moving on the screen.
    I go back to the new computer and put the old 40 GIG Mac HD in the trash. Actually, when it touched the trash, I just saw an eject icon and the drive disappear. Did not go in the trash which is empty. So I guess I ejected, not sure what's the difference but I looked for it to see if it's anywhere in the computer. Could not find it. Not in the HD, not in the desktop. Good, I don't want it there. Is it hidden somewhere ?
    So I tried again but wondering perhaps the old computer should RESTART not turn on (it was off) so now I wait until it's on, then push restart. I hear the gong when it shuts off but that's it, no other gong when it comes back. I keep the T-key. But nothing happened. Just see the message "waiting for your other computer to restart"
    PS: BTW Target mode (which seems to me similar to Migrating with "Migration Assistant") will not work for me because it must be SATA, mine is ATA.
    I didn't try but read that it has to be SATA.
    Is it the same ? In migrating they say hold down the T-key (T for target)
    And how come that my 40GB HD which is ATA did migrate (not that I wanted too but still).
    Also, this drive ("Current Work") that I want to migrate to the new computer is in my external drive. Can't I just drag it ? If it has only personal data, files and folders I know I can, but It has system (OS X) and applications. It's the one I use and boot on, in my old G4 but I want to transfer Files and folders and settings, so the new computer will know what are my Safari preferences, Automatic fill-in, and perhaps it will move my iTunes music Library too ?
    Basically everything except applications. Although I would like my Nikon scanner to be in the new computer as well as the LaCie DVD recorder but I guess I can do that later, separately ?
    What are the settings or info I need ? Because if it's just Safari preferences, automatic fill-in and other such small thing, it might be better to just do it again in the new comp and forget about the hassle of migrating.

    Try getting into Windows and then plugging in the Superdrive. The drive will only be attached to one OS or the other, not both.

  • How do I edit a document I saved?  It doesn't allow me to edit, just fill in on top of my entries

    How do I edit a document I saved?  It doesn't allow me to edit, just fill in on top of my entries.@

    Adobe Reader (the focus of this forum) cannot edit PDF files (Adobe Reader is only a PDF viewer).
    Be well...

  • Pages 5 Document Endnotes doesn't allow text continuation onto next page?

    For large blocks of endnote citations, Pages 5 doesn't all the text to flow down to the end of the page before going to the next. Rather it treats the endnote text area as its own section, thereby moving the entire text box to the next page. This is problematic from a formatting standpoint because it wastes page space, does anyone have a workaround or suggestions?
    Example:
    Citation 5 is long but I would like to keep it on the same page as Citation 4 and just let the text continue onto the next page. However Pages 5 doesn't allow me to adjust the endnote text box and just jumps to the next page. Rarely do you see endnotes arranged in this manner in high-level research reports and we can't have this.

    I exported a PDF from Pages v5.2.2. This uses Apple's Quartz PDFContext, not Quark.
    In Windows 7, I opened this PDF with Adobe Acrobat Reader v11.0.09. I then copied/pasted a paragraph of this PDF content into LibreOffice Writer (v4.3.2.2). Since there was Baskerville in Windows 7, this comment pasted correctly including font-size. I did not have to make any adjustments to LO to accept this text.
    On Ubuntu Linux 14.04, with the latest updates, I opened the same PDF in Evince, the default PDF viewer. Adobe does not offer an Acrobat Reader download for Linux. Again, I copied and pasted a paragraph of content from the PDF viewer into LibreOffice Writer. As there was no Baskerville installed, Writer defaulted to the Liberation font, at the correct point size.
    In either of these platform scenarios, there were no anomalies with sentence/paragraph newlines .vs. carriage return issues from the PDF document during copy/paste operations. These were default control-v pastes that did not use the Paste Special menu item in LibreOffice.

  • Trying to change the country from my apple account!!!and doesn't allow me to!

    Hello, i'm trying to change the country of my apple account to get in to the istore online from my country and the system doesn't allow me to. It says that i have to buy something for $0.43 that i have on my account but i've never buy or anything b4.help!
    I don0t know how but when i entered the first time to Apple ID, i've already had an account... and i've never created one!
    Just was created with my same hotmail account and i am using it since then..... (4 or 3 years ago).
    This account is from US.
    But each time that i try to change to a peruvian account to enter itunes.... and maybe get a purchaise... it says that i am not allowed!!!
    And i want to cancel the money i have in the "ghost account" that i've never purchaise... and set a new one with $0.00 !!! to start to used it....!!!!
    Please give me a solution right away!
    Best regards.
    Rosa Elena

    Click here and ask the iTunes Store staff to zero your account balance.
    (99669)

  • Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    1. Use the mouse to select the field and then press the space bar.
    2. A null string is the same as zero. What is the result for division by zero?

  • What do I do when trying to send a reply email and it won't send because it doesn't allow relaying?

    What do I do to be able to send a reply email when the response is it doesn't allow relaying?

    Try this and see of you can get the reply to go through.
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    How to fix
    If this is an AOL issue, try these: go Settings > Mail, Contacts, Calendars > select your AOL.com account > SMTP from the Account Info Page > SMTP from the SMPT Page > make sure that the Server is ON, make sure that the Host Name is smtp.aol.com. Further make sure your username and password are correct and added in the Outgoing Mail server; make sure that Authentication is set to Password and make sure that Server Port is 587
    If this is not an AOL email: go Settings > Mail, Contacts, Calendars > Accounts >Account Info > SMPT> turn off primary server, turn on other (e.g. AT&T) SMTP server.
    Go into Settings > Mail, Contacts, Calendars > Your Account > Outgoing mail Server SMTP > Primary Server then turn Server ON and fill in both User Name and Password under Outgoing Mail Server.

  • HT1918 I moved to another country and would like to change the billing country for the credit card. It doesn't allow me to switch the country only street etc.. Do I have to create a new account separately for a new country?

    I moved to another country and would like to change the billing country for the credit card. It doesn't allow me to switch the country only street etc.. Do I have to create a new account separately for a new country?

    Nope. You can only have one credit card attached to an account at a time. Its not that big of a deal to use two accounts, users do this all the time. Create the second account(UK Account) in iTunes on your computer...sign out of your Italian account first. Then authorize your computer for this new account: Store>Authorize this computer. Then sync your phone. Now, to switch accounts on your phone: Settings>Store...tap the ID shown...sign out...then sign back in with the ID you want to use.

Maybe you are looking for

  • Kann keine Programme mehr installieren. (Creative Cloud)

    Hallo zusammen, seit geraumer Zeit ist es mir nicht mehr möglich Programme über den Adobe Application Manager zu installieren. Ich bekomme jedesmal diese Fehlermeldung "Nicht genügend Speicherplatz. Geben Sie speicherplatz auf untitled frei und versu

  • I cannot open file explorer on my computer.

    I've been having this problem for the past day or so. I can't open the file explorer from the icon pinned to my toolbar. I also cannot open it by windows button + E, or by clicking on any other folder on my desktop. Whenever I try any of these three,

  • XML to hierarchical table

    I would like to convert XML in to a simple table structure, with: - 1 row per tag - a tag_id for each tag - a parent tag_id for each tag - the attribute for each tag E.g. for the following DROP TABLE test_xml; CREATE TABLE test_xml OF XMLType; INSERT

  • If I upgrade to Mac OS 10.5 will my Mac 10.3.9 programs etc. still work

    It might be a lame question, but I have been working on Mac 10.3.9 with no glitches or problems at all so I haven't bothered to update my OS until now. But now I am thinking about updating my OS, if all my programs, iphoto library, itunes library and

  • Issue relating to posting period

    Hi Gurus, we have an issue that the normal users also able to post the special periods. from per 1 to To per 1 are belongs to authoriztion group AAA and (special users ) from per 2  to To Per 2 are belongs to authorization group BBB which are normal