Skip to content

u/amstell

In this archive from May 2013 to Sep 2014

1
posts
17
comments
0
media
30
score

I wouldn't suggest Arch as a first install, especially if your primary concern is gaming. I would suggest trying one of the Ubuntu flavors, or stick with windows. Arch is a great system but can be frustrating if you haven't played with linux before, and while gaming is certainly possible with an Arch install, try out a more user friendly distro first. Then, make your way over to Arch once you've learned the ropes. You'll truly appreciate what Arch has to offer.

3 points

Great thanks for your suggestions. I've google iptables rules for apt-get to work and it looks like it generally uses 80 or ftp, which I have enabled. I'm thinking it's a configuration on the VPS side, which I'll contact them about. If they have security in place, then that's fine, but someone has been trying to login at my server for a week now constantly and I want to make sure it's secure.

At the moment I just disable the iptables rules, update, upgrade, and then restore the settings. As long as I have http and ssh it's fine.

Thanks again for your help.

1 points

Nope. Nothing. I added this to the script and still no access. This is what I get : 0% [Connecting to ftp.debian.org (130.89.148.12)] [Connecting to security.debia.....

Thanks for the help. Any other suggestions? I honestly have no idea and think it is on the VPS side (restricting config).

1 points

Thank you so much for your help.

Those lines certainly are the main problem, but even after I comment them out, I'm unable to access apt-get. It's not letting any outbound communication so I can't update, upgrade, or install.

Any other suggestions? Thanks again!

1 points

Yeah thanks for your help. I couldn't find anything about this error through some google searching. I also wonder if it has anything to do with the VPS server I'm on. Maybe they have restrictions on setting up established and output traffic. Seems strange though.

1 points

Thanks for your help.

john@openspace ~ $ sudo iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:www 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:https 
ACCEPT     icmp --  anywhere             anywhere            
REJECT     all  --  anywhere             anywhere            reject-with icmp-port-unreachable 

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
REJECT     all  --  anywhere             anywhere            reject-with icmp-port-unreachable 

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

After trying your suggestion, I'm getting this. I've gotten this error before and have no idea why. Any other suggestions?

Cleansing the iptables config
Allow local
Allow ssh
Allow http and https
Allow icmp
Allow established traffic in
iptables: No chain/target/match by that name.
Kill all other traffic
Allow all output traffic
iptables: No chain/target/match by that name.
1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.