View Full Version : How to open ports?
CoolDemon
July 13th, 2009, 19:17
hi,
how can i open port 2222?
i need it for my controll-panel
DutchDaemon
July 13th, 2009, 20:14
Is this a serious question? You want us to guess which firewall you are using, which protocol you mean, and in which direction the port needs to be opened?
CoolDemon
July 13th, 2009, 20:21
default firewall that comes with freebsd... in /home derictory
DutchDaemon
July 13th, 2009, 20:40
Which of the three default firewalls that come with FreeBSD, none of which use /home, do you mean?
CoolDemon
July 13th, 2009, 20:48
mm... what?
i don't know, i just installed freebsd and something is blocking 2222 port
i try to enter http://mysite.com:2222 and a blank page comes out
Voltar
July 13th, 2009, 21:07
Port 2222 isn't normally used for web (http) services. I know of two hosting companies that use it for SFTP/SSH access, and I don't think that your browser will work for that.
Also run kldstat and see if you have pf.ko or ipfw.ko loaded. If not, you're probably not running a firewall on your machine unless you customized and recompiled the kernel already.
aragon
July 13th, 2009, 23:21
Until you educate yourself enough for us to help you, try contact someone here (http://www.freebsd.org/commercial/consult_bycat.html).
DutchDaemon
July 14th, 2009, 02:29
See if something is actually listening on port 2222, using netstat -an | grep 2222 or sockstat -L4p 2222.
jdr
July 14th, 2009, 02:52
a complete blank page or The Webpage cannot be find?
mm... what?
i don't know, i just installed freebsd and something is blocking 2222 port
i try to enter http://mysite.com:2222 and a blank page comes out
Zakster
November 17th, 2009, 09:14
I need to open UDP port 81 in and out of my network.
I use custom pf.conf
Can please someone help me?
Thanks
mix_room
November 17th, 2009, 09:20
RTFM
http://www.openbsd.org/faq/pf/
Zakster
November 17th, 2009, 09:32
Thanks
philbenton
November 17th, 2009, 19:55
Provided you were capable enough to install a kernel with the following:
options IPFILTER # Enable IPFilter
options IPFILTER_LOG # ... and IPFilter logging
You could use vi to edit /etc/ipf.rules with:
pass in log quick from any to any keep state
Or you could use something more definitive like:
pass in quick on em0 proto tcp from any to any port = 2222 flags S/SA keep state
provided your network interface is "em0".
I'd recommend taking the time to google as much as you can about what you're trying to accomplish, otherwise you won't really learn anything aside of how to let someone else do it for you.
Good Luck.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.