|
Page 1 of 1
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Opening Ports
hello,
maybe someone here can help me solve one of my problems that is not icy or phpbb or even MG style related
i m wondering how to open ports on a unix based host(development package with SSH access) and also ..do i need a dedicated IP for it or is a shared IP good enough?
i hope someone here can explain this in a simple way to me because i could obviously not find info on this topic that was simple enough for me to understand or get something working
thnx in advance, ..Joshua203
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
Share |
#1 Wed 20 Jan, 2010 18:02 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7191
Location: Borgo San Michele
|
Re: Opening Ports
Sorry I have no experience with SSH and opening ports.
May I ask why you would open some ports? What is your goal?
P.S.: I will ask for help to another person to check if he could help with this.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
Share |
#2 Sat 23 Jan, 2010 10:05 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Opening Ports
well it's because i would like to test run some stuff i used to run 24/7 on my home machine ..one example would be a chat server on a a p2p network.
starting these apps is not the problem... connecting them is the problem
asking it here was just a shot in the dark and i might have someone in my msn now that should be able to help me with this.. i hope
if he is not able to help i might send you a PM with more details, thnx MG
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
Share |
#3 Sat 23 Jan, 2010 13:48 |
|
buldo
Joined: August 2006
Posts: 474
Location: Borgo San Michele
|
Re: Opening Ports
...i m wondering how to open ports on a unix based host(development package with SSH access) and also ..do i need a dedicated IP for it or is a shared IP good enough?
How did you configure sshd? Did you use the distro's packages manager?
What do you mean for "dedicated IP", a static IP?
____________ ~~~ Andrea ~~~
User #379756 on Linux Counter
"If you can't apt-get something, it isn't useful or doesn't exist!!"
|
Share |
#4 Mon 25 Jan, 2010 23:22 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Opening Ports
Hi Buldo,
How did you configure sshd? Did you use the distro's packages manager?
i ve used putty, sshterm and some available stuff in my cpanel (i use the most simple login for now..no keys or anything), i m all new to this but i managed to connect after reading about a changed ssh port on my server, i even manage to start some stuff on this limited knowledge, but no connections are posible yet
Buldo wrote: What do you mean for "dedicated IP", a static IP?
i mean at this moment i m on a shared ip (many users on the same ip) pretty static but not private, if i don t need a private/dedicated ip i really don't want to order it, eventhough it would n't be very expensive
i think i have to modify some mapping file but how and wich one ?
thnx for responding, ..Joshua203
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
Share |
#5 Tue 26 Jan, 2010 01:58 |
|
buldo
Joined: August 2006
Posts: 474
Location: Borgo San Michele
|
Re: Opening Ports
...i managed to connect after reading about a changed ssh port on my server, i even manage to start some stuff on this limited knowledge, but no connections are posible yet
...
i think i have to modify some mapping file but how and wich one ?
I don't understand if you want or have to modify SSH's default port (22), in every case the file you have to lookin' in is "/etc/ssh/sshd_config" at "port xx" line you can choose the port to use for SSH daemon.
You must restart the service if you change something in that config file.
Hope it helps you!
____________ ~~~ Andrea ~~~
User #379756 on Linux Counter
"If you can't apt-get something, it isn't useful or doesn't exist!!"
|
Share |
#6 Tue 26 Jan, 2010 23:49 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Opening Ports
no i don t think this is what i mean, my ssh can allready connect on 556 (port of choice of my host, i don t know why).
what i mean is .. i need to open ports for a program .. example wcs.bin port 6900 udp and tcp, so the hostserver knows where to allow traffic to go if coming in on this port
thanks for trying to help me anyway Buldo
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
Share |
#7 Wed 27 Jan, 2010 12:10 |
|
buldo
Joined: August 2006
Posts: 474
Location: Borgo San Michele
|
Re: Opening Ports
what i mean is .. i need to open ports for a program .. example wcs.bin port 6900 udp and tcp, so the hostserver knows where to allow traffic to go if coming in on this port
"man iptables" maybe the answer...
Just have a look to the examples on man pages, I suggest you to make your tests on virtual/physical machine before
____________ ~~~ Andrea ~~~
User #379756 on Linux Counter
"If you can't apt-get something, it isn't useful or doesn't exist!!"
|
Share |
#8 Mon 01 Feb, 2010 20:04 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Opening Ports
thanks Buldo...this looks like it may be what i m searching .. i see i got a lot of reading to do now
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
Share |
#9 Mon 01 Feb, 2010 21:11 |
|
buldo
Joined: August 2006
Posts: 474
Location: Borgo San Michele
|
Re: Opening Ports
thanks Buldo...this looks like it may be what i m searching .. i see i got a lot of reading to do now
You can try to start from this basic rules:
- iptables -A INPUT -p tcp --dport 6900 -j ACCEPT
- iptables -A INPUT -p udp --dport 6900 -j ACCEPT
____________ ~~~ Andrea ~~~
User #379756 on Linux Counter
"If you can't apt-get something, it isn't useful or doesn't exist!!"
|
Share |
#10 Mon 01 Feb, 2010 21:38 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|