You are not logged in.

#1 2009-04-06 15:53:07

caelestis
Member
Registered: 2009-04-04
Posts: 88

Need port range open?

I need ports open, I searched all throughout the forums for port forward, open, etc. Not giving me useful information....

Lots of them use iptables, but whenever I enter "iptables" into the terminal, it says command not found....

Offline

#2 2009-04-06 16:05:47

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Need port range open?

pacman -S iptables


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-04-06 16:08:01

caelestis
Member
Registered: 2009-04-04
Posts: 88

Re: Need port range open?

How would I open ports by installing a firewall? That doesn't make sense... Shouldn't I fix the port problem I have now? What's blocking it now if iptables isnt installed....

I'm very confused..

Offline

#4 2009-04-06 16:18:27

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Need port range open?

How do you connect to internet?  IF you have a router, there is probably tour answer.  Depending on your ISP, certain ports might be blocked.  Maybe provide more details as the required ports and the applications in question

Offline

#5 2009-04-06 16:21:48

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Need port range open?

When you say you need ports open, what do you mean?  Ports are "open" by default, whether or not something is actively listening on that port.  Say you have an apache webserver running.  It listens by default on port 80.  No special config is needed to connect to that webserver.  If, however, the webserver is behind a hardware firewall (home router for instance) then configuration needs to be done on that router to forward that port to the intended machine.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#6 2009-04-06 16:38:35

caelestis
Member
Registered: 2009-04-04
Posts: 88

Re: Need port range open?

Router is configured for open ports (I know from migrating form windows) but I don't see them open when going to canyouseeme.org

Offline

#7 2009-04-06 17:23:18

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: Need port range open?

searched on wiki for "iptables", and got this:

http://wiki.archlinux.org/index.php/Firewalls

example of firewalling the arch box using the iptables:    http://wiki.archlinux.org/index.php/Sim … wall_HOWTO


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#8 2009-04-06 17:29:13

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Need port range open?

caelestis wrote:

Router is configured for open ports (I know from migrating form windows) but I don't see them open when going to canyouseeme.org

The port will not show as "open" unless you have an application running that is listening on that port.

Jay

Offline

#9 2009-04-06 17:54:39

caelestis
Member
Registered: 2009-04-04
Posts: 88

Re: Need port range open?

^^ Oh. Thanks

Offline

#10 2009-04-06 23:19:55

caelestis
Member
Registered: 2009-04-04
Posts: 88

Re: Need port range open?

It's still not working! I changed apache's httpd.conf to 8080 (because my isp blocks 80) and tried to visit my server outside of myself through myip:8080/ and it times out. I go to the port checking website and it doesn't see me through 8080, even though its forwarded in my router. According the above I should be able to see 8080 open just by apache running but that isn't so.

Last edited by caelestis (2009-04-06 23:20:05)

Offline

#11 2009-04-06 23:28:49

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,222
Website

Re: Need port range open?

What is the output of `netstat -tnlp` run as root on your computer?

Offline

#12 2009-04-06 23:35:25

caelestis
Member
Registered: 2009-04-04
Posts: 88

Re: Need port range open?

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 0.0.0.0:6113            0.0.0.0:*               LISTEN      3418/python         
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      2636/portmap        
tcp        0      0 127.0.0.1:53872         0.0.0.0:*               LISTEN      3402/python         
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      3152/httpd          
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      3185/proftpd: (acce 
tcp        0      0 0.0.0.0:695             0.0.0.0:*               LISTEN      2639/famd           
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      3152/httpd          
tcp        0      0 127.0.0.1:58846         0.0.0.0:*               LISTEN      3418/python         
tcp        0      0 :::6113                 :::*                    LISTEN      3418/python

Last edited by caelestis (2009-04-06 23:36:47)

Offline

#13 2009-04-07 00:02:06

caelestis
Member
Registered: 2009-04-04
Posts: 88

Re: Need port range open?

I'm going to reinstall arch, as deluge was reporting an open port earlier, I don't know what happened.

Plus I like things manilla anyway

Offline

#14 2009-04-07 00:44:48

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,222
Website

Re: Need port range open?

Try running this as root while you run the test from canyouseeme.org:

tcpdump -lnn -i ethX port 8080

Replace ethX with your network interface, probably eth0. If you get some output (apart from the headers) show up, then the problem lies somewhere in your Arch install. If you don't get any output, then the problem lies in your modem / ISP.

Offline

Board footer

Powered by FluxBB