gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76793 Posts in 13502 Topics by 1651 Members - Latest Member: Arnold99 November 24, 2024, 04:15:49 am
*
gfx*gfx
gfx
WinMX World :: Forum  |  Third Party Stuff  |  Chat Servers  |  opening ports Linux
gfx
gfxgfx
 

Author Topic: opening ports Linux  (Read 4812 times)

0 Members and 1 Guest are viewing this topic.

Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
opening ports Linux
« on: August 19, 2010, 03:49:05 pm »
Hi,

For some time i ve been looking into opening ports on my hosted webspace/site wich runs with Linux

I managed to open ports and start some aps using tunneling in SSHTerm and nohup his is far from ideal because when i disconnect opened ports get unreliable, ports can close leaving the app still running and hammering a closed port

My question now is ...how would i open some ports permanently

and maybe even how do i make the aps restart automatically when the server reboots

i m sure there must be a few arround that know something about this topic so anyone???
Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
Re: opening ports Linux
« Reply #1 on: October 31, 2010, 11:10:27 am »
hi again,

sorry for bumping this but i was hoping for a reply especially because this problem still gets me in trouble from time to time ( WCS is being a big blind hammer when it bumps into a closed port  :suspious: )

i m still hoping that someone here is willing to help out because i hate openening support tickets at the hosting company  :)
Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

Offline nylly444

  • The /root of all evil ;-)
  • WMW Team
  • *****
    • WinMX World
Re: opening ports Linux
« Reply #2 on: October 31, 2010, 12:35:26 pm »
Well, to help you here we'd need to know what is blocking the ports in the first place.

Is it your server or the hosting company?
Linux isn't blocking any ports just by itself in mos distros - it might in ubuntu, but I'm not sure.
We need to know a lot more before we can help you - sorry.

I'd recommend reading up on iptables though if it's the server ;)

PS: ports below 1024 are only accessible with root permissions btw....
LINUX - Legendary Intelligent Needful Universal Xperienced


Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
Re: opening ports Linux
« Reply #3 on: October 31, 2010, 01:33:19 pm »
Is it your server or the hosting company?
It's with a hosting company (on a shared IP), tunneling them open will work but gives me trouble after anything on the server got instable or shut down, WCS will hammer the " re-closed posts" (wich is what happens after instability)
In case WCS is still running it will start hammering those clkoased ports and this seems to activate some security because then i notice many ports are blocked and unable to tunnel/opel again (not port 80 :D)

I've tried looking up info on IPtables but really i m lost there and dont know what to do, i m just pretty new at this stuff and Raven once promised to send me a file as soon as i got shell access that would fix it but hmmmm well it's too late for that now as you know

I m verry happy to at least gotten a reply on this ... THNX Nylly ..GREAT
Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
Re: opening ports Linux
« Reply #4 on: October 31, 2010, 01:35:05 pm »
sorry for some typo's but i hope it's clear what i meant to say  :)
Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
Re: opening ports Linux
« Reply #5 on: October 31, 2010, 01:37:47 pm »
oooh and PS:

Im using higher ports than 1028
Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

Offline nylly444

  • The /root of all evil ;-)
  • WMW Team
  • *****
    • WinMX World
Re: opening ports Linux
« Reply #6 on: October 31, 2010, 01:48:21 pm »
You still haven't answered my question though: Is it the server itself that's blocking the ports or the gateway at the server company?

Some companies do that, for instance we couldn't run a room on the old wmw seerver because any ports other than common service ports (80, 443, 8080, etc) were closed on their gateway.
On my own server I can't run an irc room for the same reason - the company is blocking access to port 6667 which is the one commonly used for that.

Frankly I don't think it's the server but the company blocking this stuff.
What tunneling does is sending stuff through a common port, like port 80 , i.e. all packets for a certain port are send through another port, most likely port 80.
That's a way around the port issue but as you've discovered already not qa very reliable one.

So the first thing you should do now is read the stuff about provided services with your server company or ask them if they're blocking ports other than common service ports.

Once you're sure everything is open on their side you can start looking at the server.

I'm sorry to say that there is no simple solution to this without knowing a lot more details about the server you're running, there is no simple fix that works for all.
LINUX - Legendary Intelligent Needful Universal Xperienced


Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
Re: opening ports Linux
« Reply #7 on: November 01, 2010, 01:18:21 pm »
Thanks for you reply again Nylly,

You still haven't answered my question though: Is it the server itself that's blocking the ports or the gateway at the server company?
Sorry about that ..I will try and find more info on this but my guess is that there's no way arround opening a support ticket for it because I 've been digging arround for hours allready in the hosts KB, I'm trying to avoid communicating with them for a couple of reasons but if there's no other option I will get in touch with them.
I'll let you know what i'll find out asap.

Quote
Some companies do that, for instance we couldn't run a room on the old wmw seerver because any ports other than common service ports (80, 443, 8080, etc) were closed on their gateway.
On my own server I can't run an irc room for the same reason - the company is blocking access to port 6667 which is the one commonly used for that.
Raven made it sound pretty simple, I regret I never asked her wich file she was talking about.
I've been having doubts on s_imapstatus and .bashrc but even if these where the right files to be modified I would not know what to write there exactly, you can obviously see I'm a noob at this hehehe

Quote
What tunneling does is sending stuff through a common port, like port 80 , i.e. all packets for a certain port are send through another port, most likely port 80.
That's a way around the port issue but as you've discovered already not qa very reliable one.
Since i was using the same port for incomming and outgoing traffic i never thought it would use port 80, guess i misunderstood this function too :lol

Again thanks for your help sofar Nylly, I will post back when i have a little more info

Greetings,
...Joshua203
Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

Offline Lagerlout666

  • Forum Member
Re: opening ports Linux
« Reply #8 on: November 10, 2010, 10:31:29 am »
I get this on ubuntu. If something crashs it takes along time for the port to become free again to restart the programme if its urgent like a cache off and wont restart i use

sudo /etc/init.d/networking restart

Its hammers everything but at least i can fire up the programme straight away when i reconnect with VNC instead of waiting a finite time for the ports to become free again.
The Solution to 99% of winmx problems

nap.winmxgroup.net        -ONLINE again YAY!!!!!! :D

Praise's daily at the church of "Kopimi"

Offline Pri

  • MX Hosts
  • *****
  • *****
Re: opening ports Linux
« Reply #9 on: November 10, 2010, 11:41:48 am »
That is a good command to know. I've been closing sockets and ports manually with commands that will no doubt give me RSI they are so long.

Ty Tiny :P

Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
Re: opening ports Linux
« Reply #10 on: November 11, 2010, 10:31:03 am »
Thanks for the tip, i'm still looking into all of this but i must be honest and say this all might be above my level, i m pretty scared using certain commands and aps atm because i allready got supendend once and terminated once too... oooopz (never expected the termination to be lifted but after some communication and promisses they did lift it)

I'm sure you can imagine i must be super carefull now, maybe i shlould just forget about it all ..i'm not sure what i'm going to do, for now i've pulled the plug on the room again but i'm sure i'll be looking into this matter deeper and i might post a question or two again in the future (nice to know some help is available here on this topic :) )

Thanks sofar Tiny  :yes:

Greetings,
...Joshua203
Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

WinMX World :: Forum  |  Third Party Stuff  |  Chat Servers  |  opening ports Linux
 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What program is this site about?:
What year is it next year?:
What's the name of the site this forum belongs to?:

gfxgfx
gfx
©2005-2024 WinMXWorld.com. All Rights Reserved.
SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
Page created in 0.01 seconds with 25 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!